From d9aaffdf9c5168d52ace28a1237089ee42edad0a Mon Sep 17 00:00:00 2001 From: cheetor5923 <49475344+cheetor5923@users.noreply.github.com> Date: Tue, 13 Aug 2019 13:07:16 +1200 Subject: [PATCH] Create industruino_d21g.json Board definition file for Industruino D21G boards. first commit towards - https://github.com/platformio/platform-atmelsam/issues/27 --- boards/industruino_d21g.json | 55 ++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 boards/industruino_d21g.json diff --git a/boards/industruino_d21g.json b/boards/industruino_d21g.json new file mode 100644 index 00000000..470192aa --- /dev/null +++ b/boards/industruino_d21g.json @@ -0,0 +1,55 @@ +{ + "build": { + "core": "samd", + "cpu": "cortex-m0plus", + "extra_flags": "-DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__", + "f_cpu": "48000000L", + "hwids": [ + [ + "0x2E78", + "0x804D" + ], + [ + "0x2E78", + "0x004D" + ] + ], + "ldscript": "flash_with_bootloader.ld", + "mcu": "samd21g18a", + "usb_product": "Industruino D21G", + "variant": "industruino_d21g" + }, + "debug": { + "jlink_device": "ATSAMD21G18", + "onboard_tools": [ + "cmsis-dap" + ], + "openocd_chipname": "at91samd21g18", + "openocd_target": "at91samdXX", + "svd_path": "ATSAMD21G18A.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "Industruino D21G", + "upload": { + "disable_flushing": true, + "native_usb": true, + "maximum_ram_size": 32768, + "maximum_size": 262144, + "offset_address": "0x4000", + "protocol": "sam-ba", + "protocols": [ + "sam-ba", + "cmsis-dap", + "blackmagic", + "jlink", + "atmel-ice" + ], + "require_upload_port": true, + "use_1200bps_touch": true, + "wait_for_upload_port": true + }, + "url": "https://industruino.com/page/home", + "vendor": "ES Gear Ltd" +}