From 2c21925f4ce09c9b53dbc8915985578f94eea3e6 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Sat, 22 Sep 2018 15:37:46 +0200 Subject: [PATCH] targets: put board name in build tags --- targets/arduino.json | 2 +- targets/bluepill.json | 2 +- targets/pca10040.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/targets/arduino.json b/targets/arduino.json index ab315031..2b03b8fb 100644 --- a/targets/arduino.json +++ b/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", diff --git a/targets/bluepill.json b/targets/bluepill.json index 63563ffe..79c9a48e 100644 --- a/targets/bluepill.json +++ b/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", diff --git a/targets/pca10040.json b/targets/pca10040.json index 48f800bd..8aec981d 100644 --- a/targets/pca10040.json +++ b/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",