add STM32F405 machine/runtime, and new board/target feather-stm32f405

This commit is contained in:
ardnew
2020-08-29 00:31:51 -05:00
committed by Ron Evans
parent 04f65f1189
commit 20a1c730a1
5 changed files with 529 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"inherits": ["cortex-m4"],
"build-tags": ["feather_stm32f405", "stm32f405", "stm32f4", "stm32"],
"cflags": [
"-Qunused-arguments"
],
"linkerscript": "targets/stm32f405.ld",
"extra-files": [
"src/device/stm32/stm32f405.s"
],
"flash-method": "command",
"flash-command": "dfu-util -a 0 --dfuse-address 0x08000000 -D {hex}"
}
+9
View File
@@ -0,0 +1,9 @@
MEMORY
{
FLASH_TEXT (rw) : ORIGIN = 0x08000000, LENGTH = 1M
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
}
_stack_size = 4K;
INCLUDE "targets/arm.ld"