Skip to content

Commit 7b5012b

Browse files
committed
Cleanups from testing.
1 parent 52e6268 commit 7b5012b

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

config/examples/stm32u5.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ NO_ASM?=0
1111
NO_MPU=1
1212
EXT_FLASH?=0
1313
SPI_FLASH?=0
14+
QSPI_FLASH?=0
15+
OCTOSPI_FLASH?=0
1416
ALLOW_DOWNGRADE?=0
1517
NVM_FLASH_WRITEONCE?=1
1618
WOLFBOOT_VERSION?=1

docs/Targets.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,7 @@ ST-LINK_gdbserver -d -cp /opt/st/stm32cubeide_1.3.0/plugins/com.st.stm32cube.ide
357357
Max OS/X:
358358

359359
```sh
360-
sudo ln -s /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.macos64_1.6.0.202101291314/tools/bin/native/mac_x64/libSTLinkUSBDriver.dylib /usr/local/lib/libSTLinkUSBDriver.dylib
361-
362-
/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.macos64_1.6.0.202101291314/tools/bin/ST-LINK_gdbserver -d -cp ./Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.macos64_1.6.0.202101291314/tools/bin -e -r 1 -p 3333
360+
/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.macos64_2.1.300.202403291623/tools/bin/ST-LINK_gdbserver -d -cp /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.macos64_2.1.201.202404072231/tools/bin -e -r 1 -p 3333
363361
```
364362

365363
Win:
@@ -374,6 +372,7 @@ wolfBoot has a .gdbinit to configure
374372
add-symbol-file test-app/image.elf
375373
```
376374

375+
377376
## STM32L0
378377

379378
Example 192KB partitioning on STM32-L073
@@ -2214,8 +2213,8 @@ Note:
22142213
### Running on 64-bit QEMU
22152214

22162215
Two example configuration files are available: `config/examples/x86_fsp_qemu.config` and `config/examples/x86_fsp_qemu_seal.config`.
2217-
Both will try to load a 64bit ELF/Multiboot2 payload from the emulated sata drive.
2218-
The second one is an example of configuration that also do measure boot and seal/unseal secrets using a TPM.
2216+
Both will try to load a 64bit ELF/Multiboot2 payload from the emulated sata drive.
2217+
The second one is an example of configuration that also do measure boot and seal/unseal secrets using a TPM.
22192218

22202219
A test ELF/Multiboot2 image is provided as well. To test `config/examples/x86_fsp_qemu.config` use the following steps:
22212220

@@ -2502,7 +2501,7 @@ To compile a flashable image run the following steps:
25022501
cp config/examples/kontron_vx3060_s2.config .config
25032502
./tools/scripts/x86_fsp/tgl/tgl_download_fsp.sh
25042503
make tpmtools
2505-
./tools/scripts/x86_fsp/tgl/assemble_image.sh -k
2504+
./tools/scripts/x86_fsp/tgl/assemble_image.sh -k
25062505
make CFLAGS_EXTRA="-DHAVE_ECC256"
25072506
./tools/scripts/x86_fsp/tgl/assemble_image.sh -n /path/to/original/flash/dump
25082507
```

hal/spi/spi_drv_stm32.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@
5151
#define OCTOSPI1_BASE (PERIPH_BASE + 0x020D1400UL)
5252
#define OCTOSPI2_BASE (PERIPH_BASE + 0x020D2400UL)
5353

54+
#ifndef OCTOSPI_BASE
5455
#define OCTOSPI_BASE OCTOSPI2_BASE
56+
#endif
5557

5658
/* Registers mapping */
5759
#define APB2PERIPH_BASE (PERIPH_BASE + 0x00012C00UL)

0 commit comments

Comments
 (0)