I have been developing code for Tracker One for couple weeks.
Before that I was able to use Electron to publish MQTT message to AWS IoT core with MQTT-TLS. But for the Tracker One, it doesn’t work right away as Electron. Below here are environment and what I found.
- Tracker One marked as development device
- Particle Workbench
- Device OS 2.0.0-rc.4
what I found
When I used function to create MQTT object as below and compiled the code
MQTT client("mqtt.eclipse.org", 8883, callback);
I got an error that shows
/Users/Name/.particle/toolchains/gcc-arm/9.2.1/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /Users/Name/Documents/Particle_Projects/Tracker-One/target/2.0.0-rc.4/tracker/Tracker-One.elf section `.text' will not fit in region `APP_FLASH' /Users/Name/.particle/toolchains/gcc-arm/9.2.1/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: region `APP_FLASH' overflowed by 37748 bytes
I am quite sure that this MQTT-TLS is not made for Tracker One and can be incompatble. If anyone know how to fix or where to start, kindly advise.