wolfBoot/hal
David Garske 8fe46bb40f Peer review fixes (thanks Copilot)
hal/stm32g4.c:
- hal_flash_write unaligned path: rebase the aligned doubleword on
  (address + i), not the initial address; index as dst[0]/dst[1].
  The old form skipped to the wrong DW once i advanced past 8 with
  an unaligned starting address.
- hal_flash_erase: end_address was address + len - 1 paired with a
  strict less-than, which dropped the last page when len straddled a
  page boundary by one byte. Use address + len.
- flash_clear_errors / EOP clear at end of hal_flash_write: FLASH_SR
  bits are W1C. Read-modify-write via |= can clear unrelated W1C
  bits that happen to be set. Write the mask directly.
- uart_write: cast through uint8_t before promoting to uint32_t so
  high-bit chars do not sign-extend into TDR.

hal/stm32g4.h:
- DMB/ISB/DSB: add the "memory" clobber so the compiler also treats
  them as scheduling barriers, not just hardware-level fences.

hal/stm32g4.ld:
- Rename the output section .edidx to .ARM.exidx to match the
  input-section pattern and standard Cortex-M linker scripts.
2026-05-29 13:10:15 +02:00
..
spi Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
uart Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
vorago Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
armv8m_tz.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
aurix_tc3xx.c expose root CA list as makefile var 2026-05-26 17:37:50 +02:00
aurix_tc3xx.ld
…
aurix_tc3xx_hsm.ld
…
cc26x2.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
cc26x2.ld
…
filesystem.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
hal.c Add hardware-based DICE on mcxn 2026-05-21 20:49:20 +02:00
hifive1.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
hifive1.ld
…
imx_rt.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
imx_rt.ld
…
imx_rt_hab.ld
…
kinetis.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
kinetis.ld
…
kinetis_kl26.c Address Copilot comments 2026-05-07 21:39:34 +02:00
kinetis_kl26.ld Kinetis KL26 port 2026-05-07 21:39:34 +02:00
kontron_vx3060_s2.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
kontron_vx3060_s2_loader.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
library.c Handle library image malloc failure 2026-04-29 11:24:44 +02:00
library_fs.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
lpc.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
lpc.ld
…
lpc55s69-ns.ld
…
lpc55s69.c Fix lingering lpc55s69 issues 2026-05-07 17:06:35 -04:00
lpc55s69.ld
…
mcxa.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
mcxa.ld
…
mcxn-ns.ld
…
mcxn.c Add hardware-based DICE on mcxn 2026-05-21 20:49:20 +02:00
mcxn.ld
…
mcxw-ns.ld
…
mcxw.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
mcxw.ld
…
mpfs-l2lim.yaml
…
mpfs.dts
…
mpfs.yaml
…
mpfs250-hss.ld
…
mpfs250-m.ld Peer review fixes 2026-04-22 19:08:00 +02:00
mpfs250.c Fixes from peer review. Thank you Alex 2026-05-05 10:16:16 +02:00
mpfs250.h Peer review fixes 2026-04-22 19:08:00 +02:00
mpfs250.its
…
mpfs250.ld
…
nrf52.c Addressed copilot's comments 2026-04-28 15:22:41 +02:00
nrf52.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nrf52.ld
…
nrf54l-ns.ld
…
nrf54l.c
…
nrf54l.h
…
nrf54l.ld
…
nrf5340-ns.ld
…
nrf5340.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nrf5340.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nrf5340.ld
…
nrf5340_net.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nrf5340_net.ld
…
nxp_lpc54s0xx.c Peer review fixes 2026-04-22 14:10:55 +02:00
nxp_lpc54s0xx.ld Rename LPC54S018M to LPC54S0XX 2026-04-22 14:10:55 +02:00
nxp_ls1028a-ocram.ld
…
nxp_ls1028a.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nxp_ls1028a.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nxp_ls1028a.ld
…
nxp_p1021.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nxp_p1021.ld
…
nxp_p1021_stage1.bin
…
nxp_p1021_stage1.ld
…
nxp_ppc.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nxp_ppc.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nxp_t10xx.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nxp_t1024.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nxp_t1024.ld
…
nxp_t1024_stage1.ld
…
nxp_t1040.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nxp_t1040.ld
…
nxp_t1040_stage1.ld
…
nxp_t2080.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nxp_t2080.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
nxp_t2080.ld
…
pic32c.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
pic32c.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
pic32ck.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
pic32ck.ld
…
pic32ck_registers.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
pic32cz.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
pic32cz.ld
…
pic32cz_registers.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
psoc6.c
…
psoc6.ld
…
raspi3.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
raspi3.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
raspi3.ld
…
renesas-ra.c
…
renesas-ra.h
…
renesas-rx.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
renesas-rx.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
renesas-rz.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
riscv.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
rp2350-app.ld
…
rp2350.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
rp2350.ld
…
rx65n.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
rx65n.ld
…
rx72n.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
rx72n.ld
…
s32k1xx.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
s32k1xx.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
s32k1xx.ld
…
sama5d3.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
sama5d3.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
sama5d3.ld Peer review fixes 2026-04-22 19:08:00 +02:00
same51.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
same51.ld
…
samr21.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
samr21.ld
…
sim.c expose root CA list as makefile var 2026-05-26 17:37:50 +02:00
sim.ld
…
skeleton.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32_tz.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32c0.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32c0.ld
…
stm32c5.c Add STM32C5 target (NUCLEO-C5A3ZG) 2026-05-06 19:02:58 +02:00
stm32c5.h Add STM32C5 target (NUCLEO-C5A3ZG) 2026-05-06 19:02:58 +02:00
stm32c5.ld Add STM32C5 target (NUCLEO-C5A3ZG) 2026-05-06 19:02:58 +02:00
stm32f1.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32f1.ld
…
stm32f4.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32f4.ld
…
stm32f7.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32f7.ld
…
stm32g0.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32g0.ld
…
stm32g4.c Peer review fixes (thanks Copilot) 2026-05-29 13:10:15 +02:00
stm32g4.h Peer review fixes (thanks Copilot) 2026-05-29 13:10:15 +02:00
stm32g4.ld Peer review fixes (thanks Copilot) 2026-05-29 13:10:15 +02:00
stm32h5-ns.ld
…
stm32h5.c STM32H5, STM32U5, STM32L5: fix off-by-one error in hal_flash_erase 2026-05-06 19:03:12 +02:00
stm32h5.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32h5.ld
…
stm32h7.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32h7.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32h7.ld
…
stm32l0.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32l0.ld
…
stm32l0_chacha_ram.ld
…
stm32l4.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32l4.ld
…
stm32l4xx_hal_conf.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32l5-ns.ld
…
stm32l5.c STM32H5, STM32U5, STM32L5: fix off-by-one error in hal_flash_erase 2026-05-06 19:03:12 +02:00
stm32l5.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32l5.ld
…
stm32n6.c Add wolfBoot port for STM32N6 (NUCLEO-N657X0-Q) 2026-05-28 16:49:57 +02:00
stm32n6.h Add wolfBoot port for STM32N6 (NUCLEO-N657X0-Q) 2026-05-28 16:49:57 +02:00
stm32n6.ld Add wolfBoot port for STM32N6 (NUCLEO-N657X0-Q) 2026-05-28 16:49:57 +02:00
stm32u3.c Peer review fixes 2026-04-27 17:00:41 +02:00
stm32u3.h Peer review fixes 2026-04-27 17:00:41 +02:00
stm32u3.ld Add wolfBoot port for STM32U3 (NUCLEO-U385RG-Q) 2026-04-27 17:00:41 +02:00
stm32u5-ns.ld
…
stm32u5.c STM32H5, STM32U5, STM32L5: fix off-by-one error in hal_flash_erase 2026-05-06 19:03:12 +02:00
stm32u5.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32u5.ld
…
stm32u5_partition.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32wb.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
stm32wb.ld
…
stm32wbxx_hal_conf.h
…
tc3_cfg.h
…
ti_hercules.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
ti_hercules.ld
…
va416x0.c Vorago VA416x0: simplify iram_write/iram_fill (single RMW path) 2026-05-29 13:09:19 +02:00
va416x0.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
va416x0.ld
…
versal.c Fixes from peer review. Thank you Alex 2026-05-05 10:16:16 +02:00
versal.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
versal.its
…
versal.ld Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
x86_64_efi.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
x86_64_efi.ld
…
x86_fsp_qemu.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
x86_fsp_qemu.ld.in
…
x86_fsp_qemu_loader.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
x86_fsp_qemu_stage1.ld.in
…
x86_fsp_tgl.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
x86_fsp_tgl.ld.in
…
x86_fsp_tgl_stage1.ld.in
…
x86_uart.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
zynq.c Fixes from peer review. Thank you Alex 2026-05-05 10:16:16 +02:00
zynq.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
zynq.ld ZynqMP: revert WOLFBOOT_ORIGIN to 0x8000000 2026-04-28 14:55:06 +02:00
zynq7000.c Add Xilinx Zynq-7000 (ZC702) wolfBoot port 2026-05-12 12:06:05 +02:00
zynq7000.h Add Xilinx Zynq-7000 (ZC702) wolfBoot port 2026-05-12 12:06:05 +02:00
zynq7000.ld Add Xilinx Zynq-7000 (ZC702) wolfBoot port 2026-05-12 12:06:05 +02:00