Add Bluetooth examples
Co-authored-by: Peter Harper <77111776+peterharperuk@users.noreply.github.com>
This commit is contained in:
@@ -12,6 +12,7 @@ pico_add_extra_outputs(pio_squarewave)
|
||||
# add url via pico_set_program_url
|
||||
example_auto_set_url(pio_squarewave)
|
||||
|
||||
file(MAKE_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/generated)
|
||||
# generate .hex file and .pio.h file for the RP2040 datasheet (to make sure
|
||||
# the datasheet always shows the output of the latest pioasm version)
|
||||
add_custom_target(pio_squarewave_datasheet DEPENDS
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
add_executable(pio_ws2812)
|
||||
|
||||
file(MAKE_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/generated)
|
||||
|
||||
# generate the header file into the source tree as it is included in the RP2040 datasheet
|
||||
pico_generate_pio_header(pio_ws2812 ${CMAKE_CURRENT_LIST_DIR}/ws2812.pio OUTPUT_DIR ${CMAKE_CURRENT_LIST_DIR}/generated)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user