This repository is DEPRECATED and will not be updated! Please use this Board Support Package.
This repository contains the Board Support Package for the senseBox MCU required to compile Arduino sketches in Arduino IDE v1.8+.
To install the core in your Arduino IDE:
- Open the Preferences of the Arduino IDE.
- Add this URL
https://sensebox.github.io/arduino-senseBoxCore/package_sensebox_index.json
in the Additional Boards Manager URLs field, and click OK. - Open the Boards Manager (menu Tools->Board->Board Manager...)
- Install senseBox MCU Board Core
- Select the senseBox MCU board under senseBox in Tools->Board menu
- Connect your senseBox MCU through USB
- Compile/Upload as usual
- Microchip ATSAMD21 ARM Cortex-M0+ Microcontroller
- Microchip ATECC608A Crypto Authentication
- Bosch BMX055 Orientation Sensor (Accelerometer + Gyroscope + Magnetometer)
- USB CDC+MSC Bootloader (Arduino compatible)
- XBee compatible sockets with UART and SPI
- 5V tolerant IOs, UART, I2C
- Schematics + Layout (External link)
- Board Support Package for Arduino IDE
This only works on linx!
./extras/pack.release.bash
./extras/test.release.bash prepareJson
- If you have the current version already installed, delete the folder
~/.arduino15/packages/senseBox
- Run
arduino --pref "boardsmanager.additional.urls=file:///home/your-user/arduino-senseBoxCore/package_sensebox_index.json" --install-boards "senseBox:samd:${VERSION}"
Make sure there isn't already a release with this version on Github! The release provider will not overwrite the release but force push the json resulting in different crc values of the actual archive file and in the json!
- Commit all of your changes
- Increase the version in
platform.txt
- Try to build locally
./extras/pack.release.bash
- Run
./extras/pack.release.bash commitAndTag
- Run
git push origin <NEW_VERSION> master
- Travis CI will take over to:
- Create the archive
- Try to compile a basic sketch
- Create a release containing the archive
- Update the
package_sensebox_index.json
on thegh-pages
branch
https://downloads.arduino.cc/packages/package_index.json https://github.com/watterott/SAM-BAR https://github.com/watterott/SenseBox-MCU https://github.com/arduino/ArduinoCore-samd
- Extended the
extras/pack.release.bash
file to create and deploy JSON and package to Github pages - Replaced files in
bootloaders
,drivers
andvariants
from with senseBox Board stuff from watterott/SenseBox-MCU - Added senseBoxIO library to
libraries
- Replaced
boards.txt
with senseBox Board definitions from watterott/SenseBox-MCU - Changed
version
andname
fields inplatform.txt
This core is based on work by Arduino LL, Atmel and Watterott.
License for parts by Arduino LLC
Copyright (c) 2015 Arduino LLC. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA