online it is 103k flash
offline: `FLASH’ overflowed by 49k !
<>
(workspace) C:\workspace\v12>mbed config - - global GCC_ARM_PATH “C:\Program Files (x86)\GNU Tools ARM Embedded\5.3 2016q1\bin”
[mbed] C:\Program Files (x86)\GNU Tools ARM Embedded\5.3 2016q1\bin now set as global GCC_ARM_PATH
(workspace) C:\workspace\v12>mbed compile -t GCC_ARM -m NUCLEO_F072RB - - profile mbed-os/tools/profiles/small.json
Building project v12 (NUCLEO_F072RB, GCC_ARM)
Scan: .
Scan: FEATURE_BLE
Scan: FEATURE_COMMON_PAL
Scan: FEATURE_LWIP
Scan: FEATURE_UVISOR
Scan: FEATURE_LOWPAN_BORDER_ROUTER
Scan: FEATURE_LOWPAN_HOST
Scan: FEATURE_LOWPAN_ROUTER
Scan: FEATURE_NANOSTACK
Scan: FEATURE_NANOSTACK_FULL
Scan: FEATURE_THREAD_BORDER_ROUTER
Scan: FEATURE_THREAD_END_DEVICE
Scan: FEATURE_THREAD_ROUTER
Scan: FEATURE_STORAGE
Scan: mbed
Scan: env
Link: v12
c:/program files (x86)/gnu tools arm embedded/5.3 2016q1/bin/…/lib/gcc/arm-none-eabi/5.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: ./.build/NUCLEO_F072RB/GCC_ARM/v12.elf section .text' will not fit in region
FLASH’
c:/program files (x86)/gnu tools arm embedded/5.3 2016q1/bin/…/lib/gcc/arm-none-eabi/5.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: ./.build/NUCLEO_F072RB/GCC_ARM/v12.elf section .bss' will not fit in region
RAM’
c:/program files (x86)/gnu tools arm embedded/5.3 2016q1/bin/…/lib/gcc/arm-none-eabi/5.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: region RAM overflowed with stack
c:/program files (x86)/gnu tools arm embedded/5.3 2016q1/bin/…/lib/gcc/arm-none-eabi/5.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: region FLASH' overflowed by 48284 bytes c:/program files (x86)/gnu tools arm embedded/5.3 2016q1/bin/../lib/gcc/arm-none-eabi/5.3.1/../../../../arm-none-eabi/bin/ld.exe: region
RAM’ overflowed by 352 bytes
./.build/NUCLEO_F072RB/GCC_ARM/Cairo_V10-072_GCC_ARM/main.o: In function main': main.cpp:(.text.startup.main+0x6c): undefined reference to
Init_Usart2()’
collect2.exe: error: ld returned 1 exit status
[ERROR] c:/program files (x86)/gnu tools arm embedded/5.3 2016q1/bin/…/lib/gcc/arm-none-eabi/5.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: ./.build/NUCLEO_F072RB/GCC_ARM/v12.elf section .text' will not fit in region
FLASH’
c:/program files (x86)/gnu tools arm embedded/5.3 2016q1/bin/…/lib/gcc/arm-none-eabi/5.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: ./.build/NUCLEO_F072RB/GCC_ARM/v12.elf section .bss' will not fit in region
RAM’
c:/program files (x86)/gnu tools arm embedded/5.3 2016q1/bin/…/lib/gcc/arm-none-eabi/5.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: region RAM overflowed with stack
c:/program files (x86)/gnu tools arm embedded/5.3 2016q1/bin/…/lib/gcc/arm-none-eabi/5.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: region FLASH' overflowed by 48284 bytes c:/program files (x86)/gnu tools arm embedded/5.3 2016q1/bin/../lib/gcc/arm-none-eabi/5.3.1/../../../../arm-none-eabi/bin/ld.exe: region
RAM’ overflowed by 352 bytes
./.build/NUCLEO_F072RB/GCC_ARM/Cairo_V10-072_GCC_ARM/main.o: In function main': main.cpp:(.text.startup.main+0x6c): undefined reference to
Init_Usart2()’
collect2.exe: error: ld returned 1 exit status
[mbed] ERROR: “python” returned error code 1.
[mbed] ERROR: Command “python -u C:\workspace\v12\mbed-os\tools\make.py -t GCC_ARM -m NUCLEO_F072RB --source . --build ..build\NUCLEO_F072RB\GCC_ARM --profile mbed-os/tools/profiles/small.json” in “C:\workspace\v12”
(workspace) C:\workspace\v12>mbed compile -t GCC_ARM -m NUCLEO_F072RB --profile mbed-os/tools/profiles/small.json
<
>