Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bootloader support for Seeed Arch-MAX #11700

Merged
merged 1 commit into from Oct 18, 2019
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions components/storage/blockdevice/COMPONENT_SD/mbed_lib.json
Expand Up @@ -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
Expand All @@ -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
}
Expand Down
@@ -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;
Expand Down
4 changes: 3 additions & 1 deletion targets/targets.json
Expand Up @@ -3837,6 +3837,7 @@
"core": "Cortex-M4F",
"supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"],
"program_cycle_s": 2,
"components_add": ["SD", "FLASHIAP"],
"extra_labels_add": [
"STM32F4",
"STM32F407",
Expand All @@ -3859,9 +3860,10 @@
}
},
"release_versions": ["2", "5"],
"overrides": {"lse_available": 0},
"device_name": "STM32F407VETx",
"bootloader_supported": true,
"overrides": {
"lse_available": 0,
"network-default-interface-type": "ETHERNET"
}
},
Expand Down
15 changes: 14 additions & 1 deletion tools/arm_pack_manager/index.json
Expand Up @@ -363208,7 +363208,20 @@
"units": 1
}
},
"sectors": null,
"sectors": [
[
134217728,
16384
],
[
134283264,
65536
],
[
134348800,
131072
]
],
"sub_family": "STM32F407",
"vendor": "STMicroelectronics:13"
},
Expand Down