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