We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24ebc3d commit 49b86c6Copy full SHA for 49b86c6
bsp/imxrt/imxrt1052-nxp-evk/rtconfig.py
@@ -53,14 +53,17 @@
53
CPATH = ''
54
LPATH = ''
55
56
+ AFLAGS += ' -D__STARTUP_INITIALIZE_NONCACHEDATA'
57
+ AFLAGS += ' -D__STARTUP_CLEAR_BSS'
58
+
59
if BUILD == 'debug':
60
CFLAGS += ' -gdwarf-2'
61
AFLAGS += ' -gdwarf-2'
62
CFLAGS += ' -O0'
63
else:
64
CFLAGS += ' -O2 -Os'
65
- POST_ACTION = OBJCPY + ' -O binary --remove-section=.boot_data --remove-section=.image_vertor_table --remove-section=.ncache $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
66
+ POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n'
67
68
# module setting
69
CXXFLAGS = ' -Woverloaded-virtual -fno-exceptions -fno-rtti '
0 commit comments