Skip to content

Commit 7568f3f

Browse files
committed
example: freertos: lwm2m: improve the code optimize level to fix the build ICCM overflow errors in gnu toolchain
Signed-off-by: Watson Zeng <[email protected]>
1 parent b708694 commit 7568f3f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

example/freertos/iot/lwm2m/lwm2m_client/makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ EXT_DEV_LIST += wifi/mrf24g
1010
HEAPSZ ?= 8192
1111
STACKSZ ?= 2048
1212

13+
14+
OLEVEL = Os
15+
1316
#
1417
# root dir of embARC
1518
#

example/freertos/iot/lwm2m/lwm2m_server/makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ EXT_DEV_LIST += wifi/mrf24g
1010
HEAPSZ ?= 8192
1111
STACKSZ ?= 2048
1212

13+
OLEVEL = Os
14+
1315
#
1416
# root dir of embARC
1517
#

0 commit comments

Comments
 (0)