mirror of https://github.com/ARMmbed/mbed-os.git
Fix using bootloader with MIMXRT (#414)
parent
5887f9e97e
commit
25b05a10ec
|
@ -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,
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
|
@ -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
|
||||||
# -------------------------------------------------------------
|
# -------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue