Added ROM build to CMake.

This commit is contained in:
Oliver Schmidt 2024-01-03 17:01:23 +01:00
parent 60622b9097
commit ba617a5779
2 changed files with 6 additions and 3 deletions

6
.gitignore vendored
View File

@ -1,3 +1,3 @@
a.out
src/gpclk
pidrive/*.o
pidrive/*#062000
pipico/build/

View File

@ -18,6 +18,9 @@ FetchContent_Declare(a2pico
)
FetchContent_MakeAvailable(a2pico)
add_dependencies(${PROJECT_NAME} rom)
add_custom_target(rom make -C ../../pidrive)
target_sources(${PROJECT_NAME} PRIVATE
main.c
board.c