all: use compiler-rt for builtins

This commit is contained in:
Ayke van Laethem
2018-10-07 17:37:27 +02:00
parent e8f211935e
commit 22da104530
11 changed files with 350 additions and 13 deletions
+1
View File
@@ -2,6 +2,7 @@
"llvm-target": "armv7m-none-eabi",
"build-tags": ["bluepill", "stm32f103xx", "stm32", "arm", "js", "wasm"],
"linker": "arm-none-eabi-gcc",
"compiler-rt": true,
"pre-link-args": ["-nostdlib", "-nostartfiles", "-mcpu=cortex-m3", "-mthumb", "-T", "targets/stm32.ld", "-Wl,--gc-sections", "-fno-exceptions", "-fno-unwind-tables", "-ffunction-sections", "-fdata-sections", "-Os", "src/device/stm32/stm32f103xx.s"],
"objcopy": "arm-none-eabi-objcopy",
"flash": "openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c 'program {hex} reset exit'"
+2
View File
@@ -2,6 +2,7 @@
"llvm-target": "armv6m-none-eabi",
"build-tags": ["microbit", "nrf51822", "nrf51", "nrf", "arm", "js", "wasm"],
"linker": "arm-none-eabi-gcc",
"compiler-rt": true,
"pre-link-args": [
"-nostdlib",
"-nostartfiles",
@@ -11,6 +12,7 @@
"-Wl,--gc-sections",
"-fno-exceptions", "-fno-unwind-tables",
"-ffunction-sections", "-fdata-sections",
"-fno-short-enums",
"-Os",
"-DNRF51",
"-Ilib/CMSIS/CMSIS/Include",
+1
View File
@@ -2,6 +2,7 @@
"llvm-target": "armv7em-none-eabi",
"build-tags": ["pca10040", "nrf52832", "nrf52", "nrf", "arm", "js", "wasm"],
"linker": "arm-none-eabi-gcc",
"compiler-rt": true,
"pre-link-args": [
"-nostdlib",
"-nostartfiles",