Refactor CMake files to allow building 2 binaries : one standalone and one compatible with mcuboot bootloader (the offset in memory is different).

Add documentation about mcuboot image generation and OTA.

Re-enable watchdog
This commit is contained in:
JF
2020-05-24 16:36:04 +02:00
parent 3cc76d7673
commit 331481cd0c
9 changed files with 447 additions and 67 deletions

View File

@@ -5,7 +5,7 @@ GROUP(-lgcc -lc -lnosys)
MEMORY
{
FLASH (rx) : ORIGIN = 0x08020, LENGTH = 0x78000
FLASH (rx) : ORIGIN = 0x00000, LENGTH = 0x78000
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x10000
}