This repository contains the source code for the ClearCore Arduino Wrapper, which allows users to interact with a Teknic ClearCore using common Arduino functions.
Instead of interfacing directly to the processor pins, the ClearCore Arduino Wrapper uses the ClearCore libraries and provides an interface to the ClearCore connectors. This leverages all of the ClearCore library features with the ease of programming in the Arduino IDE.
Installation of the ClearCore board within the Arduino IDE should be performed using the Arduino board manager. This repository is intended for building new packages for use with the board manager.
https://www.teknic.com/downloads/
To help you quickly get started programming your ClearCore application, several ClearCore examples are included. Once you have the Teknic ClearCore selected as the active board, the Arduino File/Examples menu will include examples demonstrating how to use various features of the ClearCore, as well as the standard examples.
If it's the first time you check-out a repo you need to use --init first:
git submodule update --init --recursive
For git 1.8.2 or above, the option --remote was added to support updating to latest tips of remote branches:
git submodule update --recursive --remote
- Make necessary changes to arduino wrapper code
- Make necessary changes to ClearCore-library and pull in those changes by updating the submodule (see above)
- Open
zipClearCore.cmd
and set thever
variable to your desired version (1.X.X) - Run
zipClearCore.cmd
- This builds/compiles libClearCore and LwIP and zips up necessary packages into a file called
ClearCore-1.X.X.zip
- It also hashes the zip it just created with SHA256 to be placed in the new entry in package_clearcore_index.json
- This builds/compiles libClearCore and LwIP and zips up necessary packages into a file called
- Copy the SHA256 hash and the size in bytes to make a new entry in the
package_clearcore_index.json
- Reference previous entries for syntax