mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
remove support for A0 & A1 versions of RP2350 (#1958)
This commit is contained in:
parent
075e829cd9
commit
e2e0fd51c3
1 changed files with 1 additions and 3 deletions
|
|
@ -22,9 +22,7 @@
|
|||
#define BOOTROM_VTABLE_OFFSET 0x00
|
||||
#define BOOTROM_TABLE_LOOKUP_OFFSET 0x18
|
||||
#else
|
||||
// todo remove this (or #ifdef it for A1/A2)
|
||||
#define BOOTROM_IS_A2() ((*(volatile uint8_t *)0x13) == 2)
|
||||
#define BOOTROM_WELL_KNOWN_PTR_SIZE (BOOTROM_IS_A2() ? 2 : 4)
|
||||
#define BOOTROM_WELL_KNOWN_PTR_SIZE 2
|
||||
#if defined(__riscv)
|
||||
#define BOOTROM_ENTRY_OFFSET 0x7dfc
|
||||
#define BOOTROM_TABLE_LOOKUP_ENTRY_OFFSET (BOOTROM_ENTRY_OFFSET - BOOTROM_WELL_KNOWN_PTR_SIZE)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue