docker build -t particle-conan-build:1.4.2 --build-arg VER=1.4.2 .
docker run --rm -it particle-conan-build xenon
some settings need cleaned up, for now it takes a longer config string
PLATFORM=xenon VERSION_STRING=1.4.2 conan install . -if <bin-dir> -s compiler.version=5.3 -s os=Particle -s os.board=xenon -s arch=nRF52840 -s compiler.libcxx=libstdc++11
Add a descriptive error when conan install has not initialized the build directory
if (NOT EXISTS ${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
message(FATAL_ERROR "The file conanbuildinfo.cmake doesn't exist, you have to run conan install first")
endif ()
check tinker
arm-none-eabi-size --format=berkeley /usr/local/src/particle/firmware/user/applications/tinker/target/tinker.elf
text data bss dec hex filename
13348 156 1428 14932 3a54 /usr/local/src/particle/firmware/user/applications/tinker/target/tinker.elf
GPL v3