microchip-pic-avr-solutions / avr-iot-cellular-arduino-library

Arduino library for developing Cellular IoT Applications with the AVR-IoT Cellular Mini development board from Microchip
Other
21 stars 4 forks source link

using with PlatformIO #22

Closed tavdog closed 11 months ago

tavdog commented 11 months ago

I did the leg work to get this board working in platformio. Here is the platformio.ini file that allowed me to compile the mqtt example for this board


platform = atmelmegaavr
board = AVR64DB48
upload_protocol = pkobn_updi
upload_flags = -F
framework = arduino
lib_deps = 
    https://github.com/microchip-pic-avr-solutions/avr-iot-cellular-arduino-library```

I also had to add #include <Wire.h> in at the top of the file just below Arduino.h
M65649 commented 11 months ago

Hello,

Thanks, we’ll have a look at this.

tavdog commented 11 months ago

Thanks. Might be useful to include the platformio.ini file in the repo for others to use.