1
0
forked from me/IronOS
Commit Graph

7 Commits

Author SHA1 Message Date
Paul Fertser
780f1f35ca Make flash and bootloader sizes configurable
This patch makes allocating special pages automatic and flexible,
allowing flash size and application start offset specification with
linker command line arguments. It should allow easier porting to
different targets and experimentation without adding code complexity.

Many original STM32F103x8 chips have fully functional 128 kiB flash and
so this additional space might come useful for experimentation,
additional optional features etc. Tested on v2.51A board, including
writing and verifying 128 kiB of random data.

Make variables are added to control that, so to build for the full
undocumented flash size and dapboot configured to start the app from 8
kiB offset one can run:

make flash_size=128k bootldr_size=0x2000
2020-08-26 11:53:47 +03:00
Ben V. Brown
ff65e6437b Shrink flash usage _just_ enough 2020-07-23 22:45:00 +10:00
Ben V. Brown
1cebcdc42b Works on SRC only units.. mostly 2020-07-22 22:39:35 +10:00
Ben V. Brown
b6c61cfb52 Still testing 2020-07-21 13:39:50 +10:00
Ben V. Brown
7ca613e22b Migrate :O 2019-08-18 22:24:01 +10:00
Ben V. Brown
f01ee786ab Less touchy bad tip detection, move tip model text over, at local debug options for atollic 2019-01-01 17:56:54 +11:00
Ben V. Brown
9f581cb28e Fix file locations again 2017-12-13 12:32:14 +11:00