Back to Smartcitizen.me

Firmware compile error

I am trying to compile the latest firmware on my MacBook Pro. I had install & setup Platformio and recursive clone the repo. I am able to compile the ESP firmware without error. However, when I try to compile SAM using command: “python3 make.py -v build sam” I had encountered quite few errors. Most of them I can fix by changing the lib_deps requirement in platformio.ini. Eg. ArduinoJson encounter Wstring, it seem to be deprecated and fixed in the latest ArduinoJson, I can change the ArduinoJson to latest version in Platformio.ini lib_deps to fix it. I had encountered some other error as well. It is very tedious to fix one after another error as each error need some digging to figure out the compile issue. Instead of me trying to fix one after another error, have I miss something? Or is there any git branch that I can use to compile the latest SAM firmware without having to spend time fixing the error?