Skip to content

Commit cc9a158

Browse files
committed
updated readme with note for static and global variables
1 parent 293e35b commit cc9a158

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Readme.md renamed to readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ To create a OFL executable you need the following:
88
* Way to feed the watchdog if enabled
99
* A way to restore modified registers after deinit
1010

11+
Note: When using the flash loader no startup code will run. Make sure to initialize any (non const) static and global variables at runtime as they will not be initialized when loading the flash loader.
12+
1113
## Stack usage
1214
In the previous documentation Segger reserved 256 bytes of stack for Open flash loaders. In newer versions the documentation mentions 512 bytes of stack with a fallback to 256 bytes for devices with low amounts of memory (for testing, the linkerscript configures 256 bytes of stack).
1315

0 commit comments

Comments
 (0)