Skip to content

Commit 83770dc

Browse files
committed
Fix missing includes in debug build
1 parent 32670ab commit 83770dc

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

platformio.ini

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,26 +35,30 @@ build_src_filter =
3535
-<third_party/rocketlib/**>
3636
+<third_party/rocketlib/common/**>
3737

38-
# build settings unique to release build (full optimization, etc)
39-
[env:release]
38+
# build settings common to all build types
4039
build_flags =
4140
-DSTM32H733xx
4241
-mcpu=cortex-m7
4342
-mfpu=fpv5-d16
4443
-mfloat-abi=hard
45-
-I src/third_party/canlib
46-
-I src/third_party/rocketlib/include
47-
-I src/third_party
48-
-I src
44+
-Isrc/third_party/canlib
45+
-Isrc/third_party/rocketlib/include
46+
-Isrc/third_party
4947
# CUSTOMIZE:
5048
-DBOARD_INST_UNIQUE_ID=BOARD_INST_ID_ROCKET
5149
-DBOARD_TYPE_UNIQUE_ID=BOARD_TYPE_ID_PROCESSOR
5250

51+
# build settings unique to release build (full optimization, etc)
52+
[env:release]
53+
build_flags =
54+
${env.build_flags}
55+
5356
# build for debugger
5457
[env:debug]
5558
build_type = debug
5659

5760
build_flags =
61+
${env.build_flags}
5862
-DDEBUG
5963
-Og
6064
-g3

0 commit comments

Comments
 (0)