Together with several users in this forum I’m annoyed about the following compiler warnings:
WARNING: library LoRa claims to run on ASR650x-Arduino architecture(s) and may be incompatible with your current board which runs on CubeCell architecture(s).
WARNING: library RGB claims to run on ASR650x-Arduino architecture(s) and may be incompatible with your current board which runs on CubeCell architecture(s).
…
This seems to be due to inconsistent architecture settings.
The library.properties of all included libraries contains:
architectures=ASR650x-Arduino
However, the package_CubeCell_index.json file contains:
“architecture”: “CubeCell”
I am not certain if there are other locations to specify the given hardware architecture. The package contains a directory “cores/asr650x”.
I would propose to change the architecture consistently to “ASR650x” and include that setting also in the build parameters of platform.txt:
compiler.cpreprocessor.flags=-DARDUINO_ARCH_{build.arch} […]