Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/nxp/mcux-sdk
4 changes: 4 additions & 0 deletions ports/mimxrt10xx/boards.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ const uint8_t dcd_data[] = { 0x00 };

void board_init(void)
{
#if defined(__DCACHE_PRESENT) && __DCACHE_PRESENT
if (SCB_CCR_DC_Msk != (SCB_CCR_DC_Msk & SCB->CCR)) SCB_EnableDCache();
#endif

// Init clock
BOARD_BootClockRUN();

Expand Down
2 changes: 1 addition & 1 deletion ports/mimxrt10xx/boards/imxrt1010_evk/flash_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ __attribute__((section(".boot_hdr.boot_data")))
/*************************************
* Boot Data
*************************************/
const BOOT_DATA_T boot_data = {
const BOOT_DATA_T g_boot_data = {
BOARD_BOOT_START, /* boot start location */
BOARD_BOOT_LENGTH, /* bootloader size 32K */
PLUGIN_FLAG, /* Plugin flag */
Expand Down
2 changes: 1 addition & 1 deletion ports/mimxrt10xx/boards/imxrt1020_evk/flash_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ __attribute__((section(".boot_hdr.boot_data")))
/*************************************
* Boot Data
*************************************/
const BOOT_DATA_T boot_data = {
const BOOT_DATA_T g_boot_data = {
BOARD_BOOT_START, /* boot start location */
BOARD_BOOT_LENGTH, /* bootloader size 48K */
PLUGIN_FLAG, /* Plugin flag*/
Expand Down
2 changes: 1 addition & 1 deletion ports/mimxrt10xx/boards/imxrt1024_evk/flash_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ __attribute__((section(".boot_hdr.boot_data")))
/*************************************
* Boot Data
*************************************/
const BOOT_DATA_T boot_data = {
const BOOT_DATA_T g_boot_data = {
BOARD_BOOT_START, /* boot start location */
BOARD_BOOT_LENGTH, /* bootloader size 48K */
PLUGIN_FLAG, /* Plugin flag */
Expand Down
2 changes: 1 addition & 1 deletion ports/mimxrt10xx/boards/imxrt1060_evk/flash_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ __attribute__((section(".boot_hdr.boot_data")))
/*************************************
* Boot Data
*************************************/
const BOOT_DATA_T boot_data = {
const BOOT_DATA_T g_boot_data = {
BOARD_BOOT_START, /* boot start location */
BOARD_BOOT_LENGTH, /* bootloader size 48K */
PLUGIN_FLAG, /* Plugin flag */
Expand Down
2 changes: 1 addition & 1 deletion ports/mimxrt10xx/boards/imxrt1064_evk/flash_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ __attribute__((section(".boot_hdr.boot_data")))
/*************************************
* Boot Data
*************************************/
const BOOT_DATA_T boot_data = {
const BOOT_DATA_T g_boot_data = {
BOARD_BOOT_START, /* boot start location */
BOARD_BOOT_LENGTH, /* bootloader size 48K */
PLUGIN_FLAG, /* Plugin flag */
Expand Down
2 changes: 1 addition & 1 deletion ports/mimxrt10xx/boards/metro_m7_1011/flash_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ __attribute__((section(".boot_hdr.boot_data")))
/*************************************
* Boot Data
*************************************/
const BOOT_DATA_T boot_data = {
const BOOT_DATA_T g_boot_data = {
BOARD_BOOT_START, /* boot start location */
BOARD_BOOT_LENGTH, /* bootloader size 32K */
PLUGIN_FLAG, /* Plugin flag */
Expand Down