mcci-catena / ArduinoCore-samd

MCCI's fork of Adafruit's SAMD BSP, targeting MCCI's feather variants
0 stars 2 forks source link

Arduino Core for MCCI Catena® IoT Nodes based on the SAMD21 CPU

This repository contains the source code and configuration files of the Arduino Core for MCCI Catena IoT devices. It is based on the Arduino core for Atmel's SAMD21 processor (used on the Arduino/Genuino Zero, MKR1000 and MKRZero boards), as extended by Adafruit for their SAMD Boards such as the Feather M0, and further extended by MCCI to support its MCCI Catena LoRaWAN® technology boards.

GitHub release GitHub commits

Contents:

Installing this Package

Installing from the IDE

The easy approach is to install the package following the instructions given here:

https://github.com/mcci-catena/arduino-boards/blob/master/README.md

However, if you need to development, it's more complicated. See the following section.

Installing a Development Copy of this BSP

If you want to develop and test changes to this package, we suggest the following.

  1. Install the current release from the standard location using the Arduino Tools>Boards>Boards Manager... menu. This installs tools and so forth.

  2. Select a board supported by this package.

  3. Create an empty sketch with Arduino File>New, and check that you can build.

  4. Close the Arduino IDE.

  5. Clone this repo to a convenient spot on your computer.

  6. Open a command window and go to the Arduino board installation directory. It will be one of the following.

    System Location
    Windows 7 through 10 c:\Users\username\AppData\Local\Arduino15. If you're using git bash, you can also use ~/AppData/Local/Arduino15
    macOS ~/Library/Arduino15
    Linux ~/.arduino15
  7. From this location, change directory to packages/mcci/samd.

  8. Look at the directory contents with ls. You'll see a directory named like a version number, for example 1.2.0.

  9. Move the directory you just found away from the samd directory. It's convenient to have it around, so we suggest that you not delete it.

  10. Create a symbolic link to the sandbox you created in step (3) above. On macOS and Linux, this is done using the ln -s command. On Windows 10, this is done with the mklink /d command. (On older versions of Windows, unless you're very experienced, you might want to use a Linux VM in VirtualBox -- we can't advise on the best way to do this.)

    • On any system you can also simply move the old directory out of the way, and then move your sandbox in. The old directory cannot simply be renamed packages/mcci/samd, but it can be put (for example) in packages/mcci/hide-samd-1.2.0 (or whatever version it was). After moving the old directory away, you can move the repo that you cloned in step 5, above, into the packages/mcci/samd directory using a suitable version number.
  11. Open the Arduino IDE.

  12. Use the menu File>New to create an empty sketch (or reuse the sketch from step 3).

  13. Make sure the board you want to develop for is selected in Tools>Boards.

  14. Make changes and build.

Remember to restart the IDE whenever you change platform.txt, boards.txt or programmers.txt.

Caution: If you update your BSP from the IDE, your changes may be discarded.

Bugs or Issues

If you find a bug you can submit an issue here on GitHub:

github.com/mcci-catena/ArduinoCore-samd/issues

Before posting a new issue, please check if the same problem has been already reported by someone else to avoid duplicates.

Release History

License and credits

This core has been developed by Arduino LLC in collaboration with Atmel. The copyright notice doesn't include Adafruit, but we think it probably should. Additional work was done by MCCI to incorporate better support LoRaWAN and the MCCI family of SAMD-based LoRa boards.

LGPL License

  Copyright (c) 2015 Arduino LLC.  All rights reserved.
  Portions copyright (c) Adafruit Industries.
  Portions copyright (c) 2017-2019 MCCI Corporation.

  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

Trademark Acknowledgements

MCCI and MCCI Catena are registered trademarks of MCCI Corporation. LoRaWAN is a registered trademark of the LoRa Alliance. All other trademarks are the properties of their respective owners.

Support Open-Source Software, Hardware, and Community IoT

Everyone at MCCI invests time and resources providing this open-source code and open-source hardware. MCCI is also the principal corporate sponsor of The Things Network New York and Ithaca. Please support our work by purchasing products from MCCI! Visit our on-line store at store.mcci.com.