Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add senseBox MCU board #169

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions boards/sensebox_mcu.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"build": {
"arduino": {
"ldscript": "flash_with_bootloader.ld"
},
"core": "arduino",
"cpu": "cortex-m0plus",
"extra_flags": "-D__SAMD21G18A__ -DCRYPTO_WIRE=Wire1",
"f_cpu": "48000000L",
"hwids": [
[
"0x04D8",
"0xEF66"
],
[
"0x04D8",
"0xEF67"
]
],
"mcu": "samd21g18a",
"system": "samd",
"usb_product": "senseBox MCU",
"variant": "sensebox_mcu"
},
"debug": {
"jlink_device": "ATSAMD21G18",
"openocd_chipname": "at91samd21g18",
"openocd_target": "at91samdXX",
"svd_path": "ATSAMD21G18A.svd"
},
"frameworks": [
"arduino"
],
"name": "senseBox MCU",
"upload": {
"disable_flushing": true,
"maximum_ram_size": 32768,
"maximum_size": 262144,
"native_usb": true,
"offset_address": "0x2000",
"protocol": "sam-ba",
"protocols": [
"sam-ba",
"blackmagic",
"jlink",
"atmel-ice"
],
"require_upload_port": true,
"use_1200bps_touch": true,
"wait_for_upload_port": true
},
"url": "https://sensebox.shop/product/sensebox-mcu-2",
"vendor": "senseBox"
}
5 changes: 5 additions & 0 deletions examples/arduino-blink/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,8 @@ framework = arduino
platform = atmelsam
board = seeed_wio_lite_mg126
framework = arduino

[env:sensebox_mcu]
platform = atmelsam
board = sensebox_mcu
framework = arduino