Improve comments in CMakeLists.txt files
This commit is contained in:
parent
8f68cef111
commit
1983217af3
|
@ -2,7 +2,7 @@ add_executable(blink
|
|||
blink.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies
|
||||
target_link_libraries(blink pico_stdlib)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,11 +2,11 @@ add_executable(clocks_detached_clk_peri
|
|||
detached_clk_peri.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies
|
||||
target_link_libraries(clocks_detached_clk_peri pico_stdlib)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
pico_add_extra_outputs(clocks_detached_clk_peri)
|
||||
|
||||
# add url via pico_set_program_url
|
||||
example_auto_set_url(clocks_detached_clk_peri)
|
||||
example_auto_set_url(clocks_detached_clk_peri)
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(hello_48MHz
|
|||
hello_48MHz.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies
|
||||
target_link_libraries(hello_48MHz pico_stdlib hardware_clocks)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,11 +2,11 @@ add_executable(hello_gpout
|
|||
hello_gpout.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies
|
||||
target_link_libraries(hello_gpout pico_stdlib)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
pico_add_extra_outputs(hello_gpout)
|
||||
|
||||
# add url via pico_set_program_url
|
||||
example_auto_set_url(hello_gpout)
|
||||
example_auto_set_url(hello_gpout)
|
||||
|
|
|
@ -2,11 +2,11 @@ add_executable(hello_resus
|
|||
hello_resus.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies
|
||||
target_link_libraries(hello_resus pico_stdlib)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
pico_add_extra_outputs(hello_resus)
|
||||
|
||||
# add url via pico_set_program_url
|
||||
example_auto_set_url(hello_resus)
|
||||
example_auto_set_url(hello_resus)
|
||||
|
|
|
@ -2,11 +2,11 @@ add_executable(hello_divider
|
|||
hello_divider.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies
|
||||
target_link_libraries(hello_divider pico_stdlib)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
pico_add_extra_outputs(hello_divider)
|
||||
|
||||
# add url via pico_set_program_url
|
||||
example_auto_set_url(hello_divider)
|
||||
example_auto_set_url(hello_divider)
|
||||
|
|
|
@ -2,11 +2,11 @@ add_executable(hello_7segment
|
|||
hello_7segment.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies
|
||||
target_link_libraries(hello_7segment pico_stdlib)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
pico_add_extra_outputs(hello_7segment)
|
||||
|
||||
# add url via pico_set_program_url
|
||||
example_auto_set_url(hello_7segment)
|
||||
example_auto_set_url(hello_7segment)
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(hello_gpio_irq
|
|||
hello_gpio_irq.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies
|
||||
target_link_libraries(hello_gpio_irq pico_stdlib)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(hello_serial
|
|||
hello_serial.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which aggregates commonly used features
|
||||
# pull in common dependencies
|
||||
target_link_libraries(hello_serial pico_stdlib)
|
||||
|
||||
# create map/bin/hex/uf2 file etc.
|
||||
|
|
|
@ -3,7 +3,7 @@ if (TARGET tinyusb_device)
|
|||
hello_usb.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which aggregates commonly used features
|
||||
# pull in common dependencies
|
||||
target_link_libraries(hello_usb pico_stdlib)
|
||||
|
||||
# enable usb output, disable uart output
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(i2c_bus_scan
|
|||
bus_scan.c
|
||||
)
|
||||
|
||||
# Pull in our get you started dependencies
|
||||
# pull in common dependencies and additional i2c hardware support
|
||||
target_link_libraries(i2c_bus_scan pico_stdlib hardware_i2c)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(lcd_1602_i2c
|
|||
lcd_1602_i2c.c
|
||||
)
|
||||
|
||||
# Pull in our get you started dependencies
|
||||
# pull in common dependencies and additional i2c hardware support
|
||||
target_link_libraries(lcd_1602_i2c pico_stdlib hardware_i2c)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(mpu6050_i2c
|
|||
mpu6050_i2c.c
|
||||
)
|
||||
|
||||
# Pull in our get you started dependencies
|
||||
# pull in common dependencies and additional i2c hardware support
|
||||
target_link_libraries(mpu6050_i2c pico_stdlib hardware_i2c)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -3,7 +3,7 @@ if (TARGET hardware_interp)
|
|||
hello_interp.c
|
||||
)
|
||||
|
||||
# Pull in dependencies
|
||||
# pull in common dependencies and additional interpolation hardware support
|
||||
target_link_libraries(hello_interp pico_stdlib hardware_interp)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
@ -11,4 +11,4 @@ if (TARGET hardware_interp)
|
|||
|
||||
# add url via pico_set_program_url
|
||||
example_auto_set_url(hello_interp)
|
||||
endif ()
|
||||
endif ()
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(picoboard_blinky
|
|||
blinky.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies
|
||||
target_link_libraries(picoboard_blinky pico_stdlib)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(picoboard_button
|
|||
button.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies
|
||||
target_link_libraries(picoboard_button pico_stdlib)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(hello_pwm
|
|||
hello_pwm.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies and additional pwm hardware support
|
||||
target_link_libraries(hello_pwm pico_stdlib hardware_pwm)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(pwm_led_fade
|
|||
pwm_led_fade.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies and additional pwm hardware support
|
||||
target_link_libraries(pwm_led_fade pico_stdlib hardware_pwm)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(pwm_measure_duty_cycle
|
|||
measure_duty_cycle.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies and additional pwm hardware support
|
||||
target_link_libraries(pwm_measure_duty_cycle pico_stdlib hardware_pwm)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -3,7 +3,7 @@ if (TARGET hardware_reset)
|
|||
hello_reset.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies
|
||||
target_link_libraries(hello_reset pico_stdlib)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
@ -11,4 +11,4 @@ if (TARGET hardware_reset)
|
|||
|
||||
# add url via pico_set_program_url
|
||||
example_auto_set_url(hello_reset)
|
||||
endif ()
|
||||
endif ()
|
||||
|
|
|
@ -3,7 +3,7 @@ if (TARGET hardware_resets)
|
|||
hello_reset.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies and additional reset hardware support
|
||||
target_link_libraries(hello_reset pico_stdlib hardware_resets)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
@ -11,4 +11,4 @@ if (TARGET hardware_resets)
|
|||
|
||||
# add url via pico_set_program_url
|
||||
example_auto_set_url(hello_reset)
|
||||
endif ()
|
||||
endif ()
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(hello_rtc
|
|||
hello_rtc.c
|
||||
)
|
||||
|
||||
# Pull in our get you started dependencies
|
||||
# pull in common dependencies and additional rtc hardware support
|
||||
target_link_libraries(hello_rtc pico_stdlib hardware_rtc)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(rtc_alarm
|
|||
rtc_alarm.c
|
||||
)
|
||||
|
||||
# Pull in our get you started dependencies
|
||||
# pull in common dependencies and additional rtc hardware support
|
||||
target_link_libraries(rtc_alarm pico_stdlib hardware_rtc)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(rtc_alarm_repeat
|
|||
rtc_alarm_repeat.c
|
||||
)
|
||||
|
||||
# Pull in our get you started dependencies
|
||||
# pull in common dependencies and additional rtc hardware support
|
||||
target_link_libraries(rtc_alarm_repeat pico_stdlib hardware_rtc)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(bme280_spi
|
|||
bme280_spi.c
|
||||
)
|
||||
|
||||
# Pull in our get you started dependencies
|
||||
# pull in common dependencies and additional spi hardware support
|
||||
target_link_libraries(bme280_spi pico_stdlib hardware_spi)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(mpu9250_spi
|
|||
mpu9250_spi.c
|
||||
)
|
||||
|
||||
# Pull in our get you started dependencies
|
||||
# pull in common dependencies and additional spi hardware support
|
||||
target_link_libraries(mpu9250_spi pico_stdlib hardware_spi)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(spi_flash
|
|||
spi_flash.c
|
||||
)
|
||||
|
||||
# Pull in basic dependencies
|
||||
# pull in common dependencies and additional spi hardware support
|
||||
target_link_libraries(spi_flash pico_stdlib hardware_spi)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(narrow_io_write
|
|||
narrow_io_write.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies
|
||||
target_link_libraries(narrow_io_write pico_stdlib)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(hello_timer
|
|||
hello_timer.c
|
||||
)
|
||||
|
||||
# Pull in our get you started dependencies
|
||||
# pull in common dependencies
|
||||
target_link_libraries(hello_timer pico_stdlib)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -3,7 +3,7 @@ if (NOT PICO_TIME_NO_ALARM_SUPPORT)
|
|||
periodic_sampler.c
|
||||
)
|
||||
|
||||
# Pull in our get you started dependencies
|
||||
# pull in common dependencies
|
||||
target_link_libraries(periodic_sampler pico_stdlib)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(hello_uart
|
|||
hello_uart.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies and additional uart hardware support
|
||||
target_link_libraries(hello_uart pico_stdlib)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
|
@ -2,7 +2,7 @@ add_executable(uart_advanced
|
|||
uart_advanced.c
|
||||
)
|
||||
|
||||
# Pull in our pico_stdlib which pulls in commonly used features
|
||||
# pull in common dependencies and additional uart hardware support
|
||||
target_link_libraries(uart_advanced pico_stdlib hardware_uart)
|
||||
|
||||
# create map/bin/hex file etc.
|
||||
|
|
Loading…
Reference in New Issue