chibios: mark boot2 bootlader data readonly (#21986)

This commit is contained in:
Thomas Weißschuh 2023-09-13 08:48:38 +02:00 committed by GitHub
commit b9f2121d10
Failed to generate hash of commit
2 changed files with 8 additions and 8 deletions

View file

@ -25,8 +25,8 @@
#define FLASHCMD_READ_STATUS 0x05
#define FLASHCMD_WRITE_ENABLE 0x06
extern uint8_t BOOT2_ROM[256];
static uint32_t BOOT2_ROM_RAM[64];
extern const uint8_t BOOT2_ROM[256];
static uint32_t BOOT2_ROM_RAM[64];
static ssi_hw_t *const ssi = (ssi_hw_t *)XIP_SSI_BASE;