Fix using bootloader with MIMXRT (#414)

pull/15531/head
Jamie Smith 2025-01-02 23:59:10 -08:00 committed by GitHub
parent 5887f9e97e
commit 25b05a10ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View File

@ -209,6 +209,9 @@ typedef enum {
// MIMXRT EVKs do not have a usable LED, because the LED shares important pins with the // MIMXRT EVKs do not have a usable LED, because the LED shares important pins with the
// debugging interface, so trying to use the LED can interrupt flashing and debugging code! // debugging interface, so trying to use the LED can interrupt flashing and debugging code!
// User button is connected to the WAKEUP pin
#define BUTTON1 WAKEUP
typedef enum { typedef enum {
PullNone = 0, PullNone = 0,
PullDown = 1, PullDown = 1,

View File

@ -126,8 +126,8 @@ SECTIONS
*(.boot_hdr.dcd_data) *(.boot_hdr.dcd_data)
} }
/* Interrupts go at the start of flash */ /* Interrupts go at the start of configured flash area */
#define INTERRUPT_TABLE_ADDR MBED_ROM_BANK_EXT_FLASH_START #define INTERRUPT_TABLE_ADDR MBED_CONFIGURED_ROM_BANK_EXT_FLASH_START
#endif #endif
/* Now we have the ISR vector */ /* Now we have the ISR vector */

View File

@ -13,7 +13,7 @@
# General config parameters # General config parameters
# ------------------------------------------------------------- # -------------------------------------------------------------
set(UPLOAD_METHOD_DEFAULT JLINK) set(UPLOAD_METHOD_DEFAULT PYOCD)
# Config options for JLINK # Config options for JLINK
# ------------------------------------------------------------- # -------------------------------------------------------------