I’m trying to deploy some code that has been compiled against 0.8.0 rc27 on the Particle Workbench’s local compiler to a product, but the product system keeps complaining that the platform id does not match the products_platform_id.
Do I need to add anything in the local compile to tell it to add the needed platform id to the compilation?
Thanks, I’ve done as you suggested and am getting the following for particle binary inspect
Blinky.bin
CRC is ok (8c0d444b)
Compiled for argon
This is an application module number 1 at version 5
It depends on a system module number 1 at version 326
In the make shell the PLATFORM and PLATFORM_ID variables are set to
Argon and 12
I’ve clean-all and compile-all and sent the .bin file to Particle Product firmware upload page but still get the same result.
A bit of an odd question, but could you attempt to compile your firmware making use of the Web IDE and then attempting to upload that binary? Do let me know what you find out. If you aren’t able to reproduce the issue, I suspect the issue may be with Workbench. But if you are still experiencing it, I suspect there’s something mismatched with the console.
Depending on what you find out, this’ll help me rope in the right parties to try to resolve this issue.
That’s rather unusual. I think I’d like to get @m_m’s perspective on this.
From what I can gather, it sometimes works from your experience in workbench, and you seem to be able to change the state by either adding or removing lines. We’re not sure if this is the case with the web IDE as well though, as you’d have to import several libraries.
If @m_m isn’t able to conclusively identify any shortcomings in workbench causing complications here (or we determine it’s also occuring in the web IDE), this may be something on the console end, and might want to get @jvanier’s insight on this one.