diff --git a/boards/sam4e_xpro.json b/boards/sam4e_xpro.json new file mode 100644 index 00000000..84679e25 --- /dev/null +++ b/boards/sam4e_xpro.json @@ -0,0 +1,45 @@ +{ + "build": { + "arduino": { + "ldscript": "flash.ld" + }, + "core": "adafruit", + "cpu": "cortex-m4", + "extra_flags": "", + "f_cpu": "120000000L", + "hwids": [ + [ + "0x03EB", + "0x6124" + ] + ], + "mcu": "atsam4e16e", + "usb_product": "Atmel SAM4", + "variant": "generic_sam4E" + }, + "debug": { + "jlink_device": "ATSAM4E16E", + "openocd_chipname": "atsam4E16E", + "openocd_target": "at91sam4XXX", + "svd_path": "ATSAM4E16E.svd" + }, + "frameworks": [ + "zephyr" + ], + "name": "Atmel ATSAM4E-XPRO", + "upload": { + "disable_flushing": true, + "maximum_ram_size": 98304, + "maximum_size": 524288, + "native_usb": true, + "protocol": "sam-ba", + "protocols": [ + "sam-ba" + ], + "require_upload_port": true, + "use_1200bps_touch": true, + "wait_for_upload_port": true + }, + "url": "https://www.microchip.com/developmenttools/ProductDetails/ATSAM4E-XPRO", + "vendor": "Microchip" +} diff --git a/examples/zephyr-blink/platformio.ini b/examples/zephyr-blink/platformio.ini index 2d327b3f..a9391bf1 100644 --- a/examples/zephyr-blink/platformio.ini +++ b/examples/zephyr-blink/platformio.ini @@ -16,3 +16,8 @@ board = zero platform = atmelsam framework = zephyr board = samd21_xpro + +[env:sam4e_xpro] +platform = atmelsam +framework = zephyr +board = sam4e_xpro \ No newline at end of file