Commit Graph
9 Commits
Author SHA1 Message Date
Damjan AdamicandBertrand Songis 82dce3ee60 Projectkk2glider/flash savings (#4199)
* Flash savings: getFileExtension() de-templated, saves 160 bytes

* Flash savings: several variables moved to rodata, RGB macro optimization (speed and can now be used to initialize rodata)

Result for Horus:
   text	   data	    bss	    dec
1261182	 808603	  42020	2111805   before
1267149	 803335	  42124	2112608   after (data size also counts .sram section)

5kB saved in .data section (RAM and FLASH)

* Removed compiler warnings

* RGB() and ARGB() gtests added

* ARGB() optimized
2017-01-05 21:44:59 +01:00
Bertrand Songis 6f774eb61a [Horus] Companion simulator 2015-10-24 16:08:29 +02:00
Damjan Adamic 1bc8e0d6c1 Added main stack painting for STM32F4 2015-07-31 18:58:50 +02:00
bsongis 63bed89a52 Compilation fixes 2015-06-11 20:29:21 +02:00
bsongis ac638f2020 Include fixed 2015-06-09 21:15:10 +02:00
bsongis d3b55e8ad6 Compilation fix. Now I2C @ 240kHz 2015-05-29 21:45:05 +02:00
bsongis fdc47640e2 system_stm32 files moved to targets directory 2015-05-08 18:55:16 +02:00
Andre Bernet 1b5543698b Fix X9E clocks 2015-03-21 17:41:58 +04:00
bsongis 2817866ad2 Directories FatFS / CoOS / STM32 libs moved to thirdparty 2015-03-14 11:56:24 +01:00