mirror of https://github.com/ARMmbed/mbed-os.git
Add bootloader support for Seeed Arch-MAX
parent
67fdf6c6f9
commit
9ab22274a6
|
@ -171,6 +171,12 @@
|
|||
"SPI_MISO": "D12",
|
||||
"SPI_CLK": "D13",
|
||||
"SPI_CS": "D10"
|
||||
},
|
||||
"ARCH_MAX": {
|
||||
"SPI_MOSI": "PC_3",
|
||||
"SPI_MISO": "PC_2",
|
||||
"SPI_CLK": "PB_10",
|
||||
"SPI_CS": "PE_2"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
/* Linker script to configure memory regions. */
|
||||
|
||||
#if !defined(MBED_APP_START)
|
||||
#define MBED_APP_START 0x08000000
|
||||
#endif
|
||||
|
||||
#if !defined(MBED_APP_SIZE)
|
||||
#define MBED_APP_SIZE 0x80000
|
||||
#endif
|
||||
|
||||
#if !defined(MBED_BOOT_STACK_SIZE)
|
||||
#define MBED_BOOT_STACK_SIZE 0x400
|
||||
#endif
|
||||
|
@ -10,7 +18,7 @@ M_CRASH_DATA_RAM_SIZE = 0x100;
|
|||
|
||||
MEMORY
|
||||
{
|
||||
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K
|
||||
FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE
|
||||
CCM (rwx) : ORIGIN = 0x10000000, LENGTH = 64K
|
||||
RAM (rwx) : ORIGIN = 0x20000188, LENGTH = 128k - 0x188
|
||||
}
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
/*###ICF### Section handled by ICF editor, don't touch! ****/
|
||||
/*-Editor annotation file-*/
|
||||
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
|
||||
if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x08000000; }
|
||||
if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x80000; }
|
||||
/*-Specials-*/
|
||||
define symbol __ICFEDIT_intvec_start__ = 0x08000000;
|
||||
define symbol __ICFEDIT_intvec_start__ = MBED_APP_START;
|
||||
/*-Memory Regions-*/
|
||||
define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
|
||||
define symbol __ICFEDIT_region_ROM_end__ = 0x0807FFFF;
|
||||
define symbol __ICFEDIT_region_ROM_start__ = MBED_APP_START;
|
||||
define symbol __ICFEDIT_region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
|
||||
define symbol __NVIC_start__ = 0x20000000;
|
||||
define symbol __NVIC_end__ = 0x20000187;
|
||||
define symbol __region_CRASH_DATA_RAM_start__ = 0x20000188;
|
||||
|
|
|
@ -3833,6 +3833,7 @@
|
|||
"core": "Cortex-M4F",
|
||||
"supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"],
|
||||
"program_cycle_s": 2,
|
||||
"components_add": ["SD", "FLASHIAP"],
|
||||
"extra_labels_add": [
|
||||
"STM32F4",
|
||||
"STM32F407",
|
||||
|
@ -3855,9 +3856,10 @@
|
|||
}
|
||||
},
|
||||
"release_versions": ["2", "5"],
|
||||
"overrides": {"lse_available": 0},
|
||||
"device_name": "STM32F407VETx",
|
||||
"bootloader_supported": true,
|
||||
"overrides": {
|
||||
"lse_available": 0,
|
||||
"network-default-interface-type": "ETHERNET"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -363208,7 +363208,20 @@
|
|||
"units": 1
|
||||
}
|
||||
},
|
||||
"sectors": null,
|
||||
"sectors": [
|
||||
[
|
||||
134217728,
|
||||
16384
|
||||
],
|
||||
[
|
||||
134283264,
|
||||
65536
|
||||
],
|
||||
[
|
||||
134348800,
|
||||
131072
|
||||
]
|
||||
],
|
||||
"sub_family": "STM32F407",
|
||||
"vendor": "STMicroelectronics:13"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue