bootloader_build_combined - Dependencies
I am currently having issues with using bootloader_build_combined function. I had added the following:
- A simple blinky program application for testing purpose.
- Modified CMakeLists.txt and added add_executable(test"app.c") target_link_libraries(test pico_stdlib) bootloader_build_combined(test)
The build process results in an error upon trying to build the executable
Error : "No rule to make target '../test.bin', needed by 'test_app.bin'. Stop."
Any help please?
Could you please share your full CMakeLists.txt?
Right, it looks like I haven't made the bootloader_build_combined target build the app binary.
Could you try adding this line before line 104:
picowota_build_standalone(${NAME})
I've implemented a somewhat neater version of this build process in my Pico-W WiFi OTA bootloader: https://github.com/usedbytes/picowota/ , I should port that across or combine them really.