11# Targets
22
3+ This README describes configuration of supported targets.
4+
35## STM32-F407
46
57Example 512KB partitioning on STM32-F407
@@ -69,6 +71,7 @@ Possible workarounds:
6971- Compile ed25519 with debug (optimizations are disabled) : ` make TARGET=stm32l0 DEBUG=1 `
7072- Use ECDSA instead (which is much faster) : ` make TARGET=stm32l0 SIGN=ECC256 `
7173
74+
7275## STM32G0x0/STM32G0x1
7376
7477Example 128KB partitioning on STM32-G070:
@@ -87,7 +90,7 @@ Example 128KB partitioning on STM32-G070:
8790
8891### Building
8992
90- Use ` make TARGET=stm32l0 ` . The option ` CORTEX_M0 ` is automatically selected for this target.
93+ Use ` make TARGET=stm32g0 ` . The option ` CORTEX_M0 ` is automatically selected for this target.
9194The option ` NVM_FLASH_WRITEONCE=1 ` is mandatory on this target, since the IAP driver does not support
9295multiple writes after each erase operation.
9396
@@ -101,8 +104,9 @@ With Ed25519 (default SIGN algorithm) it's not possible at the moment to compile
101104with optimizations, due to a GCC linker error complaining about a missing symbol ` __gnu_thumb1_case_uqi ` .
102105
103106Possible workarounds:
104- - Compile ed25519 with debug (optimizations are disabled) : ` make TARGET=stm32l0 DEBUG=1 `
105- - Use ECDSA instead (which is much faster) : ` make TARGET=stm32l0 SIGN=ECC256 `
107+ - Compile ed25519 with debug (optimizations are disabled) : ` make TARGET=stm32g0 NVM_FLASH_WRITEONCE=1 DEBUG=1 `
108+ - Use ECDSA instead (which is much faster) : ` make TARGET=stm32g0 NVM_FLASH_WRITEONCE=1 SIGN=ECC256 `
109+
106110
107111## SiFive HiFive1 RISC-V
108112
@@ -188,9 +192,3 @@ riscv64-unknown-elf-gdb wolfboot.elf -ex "set remotetimeout 240" -ex "target ext
188192add-symbol-file test-app/image.elf 0x20020100
189193```
190194
191- ```
192- riscv64-unknown-elf-objdump -D test-app/image.elf
193- ```
194-
195-
196-
0 commit comments