Browse Source

targets: put board name in build tags

pull/22/merge
Ayke van Laethem 6 years ago
parent
commit
2c21925f4c
No known key found for this signature in database GPG Key ID: E97FF5335DFDFDED
  1. 2
      targets/arduino.json
  2. 2
      targets/bluepill.json
  3. 2
      targets/pca10040.json

2
targets/arduino.json

@ -1,6 +1,6 @@
{
"llvm-target": "avr-atmel-none",
"build-tags": ["avr", "avr8", "atmega", "atmega328p", "js", "wasm"],
"build-tags": ["arduino", "atmega328p", "atmega", "avr8", "avr", "js", "wasm"],
"linker": "avr-gcc",
"pre-link-args": ["-nostartfiles", "-T", "targets/avr.ld", "-Wl,--gc-sections", "targets/avr.S"],
"objcopy": "avr-objcopy",

2
targets/bluepill.json

@ -1,6 +1,6 @@
{
"llvm-target": "armv7m-none-eabi",
"build-tags": ["stm32", "stm32f103xx", "arm", "js", "wasm"],
"build-tags": ["bluepill", "stm32f103xx", "stm32", "arm", "js", "wasm"],
"linker": "arm-none-eabi-gcc",
"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",

2
targets/pca10040.json

@ -1,6 +1,6 @@
{
"llvm-target": "armv7em-none-eabi",
"build-tags": ["nrf", "nrf52", "nrf52832", "arm", "js", "wasm"],
"build-tags": ["pca10040", "nrf52832", "nrf52", "nrf", "arm", "js", "wasm"],
"linker": "arm-none-eabi-gcc",
"pre-link-args": ["-nostdlib", "-nostartfiles", "-mcpu=cortex-m4", "-mthumb", "-T", "targets/nrf52.ld", "-Wl,--gc-sections", "-fno-exceptions", "-fno-unwind-tables", "-ffunction-sections", "-fdata-sections", "-Os", "-DNRF52832_XXAA", "-Ilib/CMSIS/CMSIS/Include", "lib/nrfx/mdk/system_nrf52.c", "src/device/nrf/nrf52.s"],
"objcopy": "arm-none-eabi-objcopy",

Loading…
Cancel
Save