make all non hardware_ libraries foo add C preprocessor definition LIB_FOO=1, and remove bespoke definitions which were all undocumented anyway (#374)
This commit is contained in:
@ -1,8 +1,2 @@
|
||||
add_library(hardware_flash INTERFACE)
|
||||
|
||||
target_sources(hardware_flash INTERFACE
|
||||
${CMAKE_CURRENT_LIST_DIR}/flash.c
|
||||
)
|
||||
|
||||
target_include_directories(hardware_flash INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include)
|
||||
target_link_libraries(hardware_flash INTERFACE pico_base_headers pico_bootrom)
|
||||
pico_simple_hardware_target(flash)
|
||||
target_link_libraries(hardware_flash INTERFACE pico_bootrom)
|
||||
|
Reference in New Issue
Block a user