mirror of https://github.com/wolfSSL/wolfBoot.git
29 lines
673 B
Plaintext
29 lines
673 B
Plaintext
ARCH?=ARM
|
|
TARGET?=stm32g0
|
|
SIGN?=ED25519
|
|
HASH?=SHA256
|
|
DEBUG?=0
|
|
VTOR?=1
|
|
CORTEX_M0?=1
|
|
NO_ASM?=0
|
|
EXT_FLASH?=0
|
|
SPI_FLASH?=0
|
|
ALLOW_DOWNGRADE?=0
|
|
NVM_FLASH_WRITEONCE?=1
|
|
WOLFBOOT_VERSION?=0
|
|
V?=0
|
|
SPMATH?=1
|
|
RAM_CODE?=1
|
|
DUALBANK_SWAP?=0
|
|
|
|
# Enable this feature for secure memory support
|
|
# Makes the flash sectors for the bootloader unaccessible from the application
|
|
# Requires using the STM32CubeProgrammer to set FLASH_SECR -> SEC_SIZE pages
|
|
#CFLAGS_EXTRA+=-DFLASH_SECURABLE_MEMORY_SUPPORT
|
|
|
|
WOLFBOOT_PARTITION_SIZE?=0xB000
|
|
WOLFBOOT_SECTOR_SIZE?=0x800
|
|
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x08008000
|
|
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x08013000
|
|
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x0801E000
|