diff --git a/boards/briki_nano_samd21.json b/boards/briki_nano_samd21.json new file mode 100644 index 0000000..eec35ce --- /dev/null +++ b/boards/briki_nano_samd21.json @@ -0,0 +1,60 @@ +{ + "build": { + "arduino": { + "ldscript": "flash_with_bootloader.ld" + }, + "core": "mbcwb", + "cpu": "cortex-m0plus", + "board": "briki_mbcwb_samd21", + "extra_flags": "-DARDUINO_SAMD_ZERO -D__SAMD21G18A__ -DBRIKI_NANO -DBRIKI_MBC_WB -DBRIKI_MBC_WB_SAMD -w", + "f_cpu": "48000000L", + "hwids": [ + [ + "0x3112", + "0x0001" + ], + [ + "0x3112", + "0x0002" + ] + ], + "system": "samd", + "mcu": "samd21g18a", + "usb_product": "Briki", + "variant": "briki_nano_samd21" + }, + "bootloader": { + "tool": "openocd", + "file": "briki_mbc-wb/samd21_sam_ba.hex" + }, + "debug": { + "jlink_device": "ATSAMD21G18", + "openocd_chipname": "at91samd21g18", + "openocd_target": "at91samdXX", + "svd_path": "ATSAMD21G18A.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "Briki Nano (MBC-WB) - Samd21", + "upload": { + "disable_flushing": true, + "maximum_ram_size": 32768, + "maximum_size": 262144, + "protocol": "mbctool", + "protocols": [ + "sam-ba", + "stk500v2", + "blackmagic", + "jlink", + "atmel-ice", + "mbctool" + ], + "require_upload_port": true, + "speed": 57600, + "wait_for_upload_port": true, + "native_usb": true + }, + "url": "http://briki.org", + "vendor": "meteca" +}