Add support for nucleol432 board

LED and UART are working
This commit is contained in:
Kenneth Bell
2021-03-13 07:43:18 -08:00
committed by Ron Evans
parent dc981ce509
commit c7bd5405c3
12 changed files with 557 additions and 5 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
"llvm-target": "armv7em-none-eabi",
"cflags": [
"--target=armv7em-none-eabi",
"-mfloat-abi=soft"
"-mfloat-abi=soft",
"-Qunused-arguments"
]
}
+11
View File
@@ -0,0 +1,11 @@
{
"inherits": ["cortex-m4"],
"build-tags": ["nucleol432kc", "stm32l432", "stm32l4x2", "stm32l4", "stm32"],
"linkerscript": "targets/stm32l4x2.ld",
"extra-files": [
"src/device/stm32/stm32l4x2.s"
],
"flash-method": "openocd",
"openocd-interface": "stlink-v2-1",
"openocd-target": "stm32l4x"
}
+10
View File
@@ -0,0 +1,10 @@
MEMORY
{
FLASH_TEXT (rx) : ORIGIN = 0x08000000, LENGTH = 256K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K
}
_stack_size = 4K;
INCLUDE "targets/arm.ld"