|
| 1 | +# AVR-IoT Cellular Arduino Library |
| 2 | + |
| 3 | +<center><img width="50%" style={{paddingTop: "10px", paddingBottom: "10px"}} src="./readme_images/mini-board-2.png" /></center> |
| 4 | + |
| 5 | +The AVR-IoT Cellular Mini is a development board from Microchip to develop cellular IoT applications. |
| 6 | + |
| 7 | +📓 Full Arduino support through a library built on top of the open-source [DxCore](https://github.com/SpenceKonde/DxCore) |
| 8 | + |
| 9 | +🔒 All the basic building blocks to create secure IoT applications (AVR Microcontroller, Secure Element and a Cellular Modem) |
| 10 | + |
| 11 | +⚡ Free 150MB 90-Day SIM Card from [Truphone](https://truphone.com), providing coverage across many countries |
| 12 | + |
| 13 | +📡 Bundled Antenna in the Box |
| 14 | + |
| 15 | +🐞 On-Board Debugger, no need for any external tools |
| 16 | + |
| 17 | +🔋 Battery Charging Circuitry with Connectors |
| 18 | + |
| 19 | +🤝 Built & Designed to be Familiar to Makers, featuring a [Adafruit Feather](https://learn.adafruit.com/adafruit-feather) form-factor and a [Qwiic](https://www.sparkfun.com/qwiic) / [Stemma](https://learn.adafruit.com/introducing-adafruit-stemma-qt) Connector |
| 20 | + |
| 21 | +<center> |
| 22 | + |
| 23 | +<span style="font-size:2em;">👉 <u>Documentation: https://iot.microchip.com/docs/</u> 👈</span> |
| 24 | + |
| 25 | +</center> |
| 26 | + |
| 27 | +## Build Instructions |
| 28 | + |
| 29 | +**A pre-built library can be downloaded from the releases tab. This section explains how to build the library locally for Linux. The process for Windows is similar. Most users do not need to build from source.** |
| 30 | + |
| 31 | +The library depends on [MicrochipTech/cryptoauthlib](https://github.com/MicrochipTech/cryptoauthlib) to communicate with the ECC608B (Secure Element). It is added to this repository as a submodule. A CMake build configuration exists in [lib/cryptoauth](./lib/cryptoauth/), which builds `libcryptoauth.a`. Said file must be added to [./src/avr128db48](./src/avr128db48). The cryptoauth header files must be added to [./src](./src). |
| 32 | + |
| 33 | +A script, [inject_cryptoauthlib.sh](./scripts/inject_cryptoauthlib.sh), builds the library and inserts the .a file together with the header files into the correct location. |
| 34 | + |
| 35 | +### TLDR; How to build on |
| 36 | + |
| 37 | +1. Download and install all dependencies |
| 38 | + - CMake |
| 39 | + * `apt install cmake` |
| 40 | + - AVR Toolchain |
| 41 | + * `apt install gcc-avr avr-libc` |
| 42 | +2. Clone this repository with the `--recursive` flag |
| 43 | +3. Run [./scripts/inject_cryptoauthlib.sh](./scripts/inject_cryptoauthlib.sh) |
0 commit comments