chibios: mark boot2 bootlader data readonly (#21986)
This commit is contained in:
parent
12b3dd36f3
commit
b9f2121d10
2 changed files with 8 additions and 8 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue