[build] Add comprehensive firmware size reporting scripts for ARM MCUs. (#4218)

* [build] Add comprehensive firmware size reporting scripts for ARM MCUs.

* [build] Add firmware size reports to commit-tests.sh.

* [build] Set permissions on new scripts.

* [build] Add -Wno-error option to commit-tests.sh.

* [build] Revert firmware size report to using `arm-none-eabi-size` if bash not found (eg. on Windows).

* [git] Add .gitattributes to force line endings on UNIX shell scripts.
This commit is contained in:
Max Paperno
2017-01-12 21:32:36 +01:00
committed by Bertrand Songis
parent 3944f30d06
commit f4f07d3c0c
9 changed files with 409 additions and 25 deletions
+3
View File
@@ -25,6 +25,9 @@ set(FLAVOUR horus)
set(RAMBACKUP YES)
set(LUA YES)
set(PPM_LIMITS_SYMETRICAL YES)
# for size report script
set(CPU_TYPE_FULL STM32F429xI)
set(SIZE_TARGET_MEM_DEFINE "MEM_SIZE_SDRAM2=8192")
if(SPLASH STREQUAL OFF)
message(FATAL_ERROR "Option SPLASH=OFF not supported on Horus")