MQTT-TLS on Tracker One to publish to AWS IoT core


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.


what I found

When I used function to create MQTT object as below and compiled the code

MQTT client("", 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.


The error region 'APP_FLASH' overflowed by 37748 bytes means the combination of the MQTT code and the Tracker Edge firmware is too large to fit on the device. This is not surprising as the Tracker Edge firmware itself uses most of the available space.

1 Like