Skip to content

Commit 1983217

Browse files
matiasilvakilograham
matiasilva
authored andcommitted
Improve comments in CMakeLists.txt files
1 parent 8f68cef commit 1983217

File tree

32 files changed

+40
-40
lines changed

32 files changed

+40
-40
lines changed

blink/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(blink
22
blink.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies
66
target_link_libraries(blink pico_stdlib)
77

88
# create map/bin/hex file etc.

clocks/detached_clk_peri/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ add_executable(clocks_detached_clk_peri
22
detached_clk_peri.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies
66
target_link_libraries(clocks_detached_clk_peri pico_stdlib)
77

88
# create map/bin/hex file etc.
99
pico_add_extra_outputs(clocks_detached_clk_peri)
1010

1111
# add url via pico_set_program_url
12-
example_auto_set_url(clocks_detached_clk_peri)
12+
example_auto_set_url(clocks_detached_clk_peri)

clocks/hello_48MHz/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(hello_48MHz
22
hello_48MHz.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies
66
target_link_libraries(hello_48MHz pico_stdlib hardware_clocks)
77

88
# create map/bin/hex file etc.

clocks/hello_gpout/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ add_executable(hello_gpout
22
hello_gpout.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies
66
target_link_libraries(hello_gpout pico_stdlib)
77

88
# create map/bin/hex file etc.
99
pico_add_extra_outputs(hello_gpout)
1010

1111
# add url via pico_set_program_url
12-
example_auto_set_url(hello_gpout)
12+
example_auto_set_url(hello_gpout)

clocks/hello_resus/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ add_executable(hello_resus
22
hello_resus.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies
66
target_link_libraries(hello_resus pico_stdlib)
77

88
# create map/bin/hex file etc.
99
pico_add_extra_outputs(hello_resus)
1010

1111
# add url via pico_set_program_url
12-
example_auto_set_url(hello_resus)
12+
example_auto_set_url(hello_resus)

divider/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ add_executable(hello_divider
22
hello_divider.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies
66
target_link_libraries(hello_divider pico_stdlib)
77

88
# create map/bin/hex file etc.
99
pico_add_extra_outputs(hello_divider)
1010

1111
# add url via pico_set_program_url
12-
example_auto_set_url(hello_divider)
12+
example_auto_set_url(hello_divider)

gpio/hello_7segment/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ add_executable(hello_7segment
22
hello_7segment.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies
66
target_link_libraries(hello_7segment pico_stdlib)
77

88
# create map/bin/hex file etc.
99
pico_add_extra_outputs(hello_7segment)
1010

1111
# add url via pico_set_program_url
12-
example_auto_set_url(hello_7segment)
12+
example_auto_set_url(hello_7segment)

gpio/hello_gpio_irq/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(hello_gpio_irq
22
hello_gpio_irq.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies
66
target_link_libraries(hello_gpio_irq pico_stdlib)
77

88
# create map/bin/hex file etc.

hello_world/serial/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(hello_serial
22
hello_serial.c
33
)
44

5-
# Pull in our pico_stdlib which aggregates commonly used features
5+
# pull in common dependencies
66
target_link_libraries(hello_serial pico_stdlib)
77

88
# create map/bin/hex/uf2 file etc.

hello_world/usb/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if (TARGET tinyusb_device)
33
hello_usb.c
44
)
55

6-
# Pull in our pico_stdlib which aggregates commonly used features
6+
# pull in common dependencies
77
target_link_libraries(hello_usb pico_stdlib)
88

99
# enable usb output, disable uart output

i2c/bus_scan/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(i2c_bus_scan
22
bus_scan.c
33
)
44

5-
# Pull in our get you started dependencies
5+
# pull in common dependencies and additional i2c hardware support
66
target_link_libraries(i2c_bus_scan pico_stdlib hardware_i2c)
77

88
# create map/bin/hex file etc.

i2c/lcd_1602_i2c/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(lcd_1602_i2c
22
lcd_1602_i2c.c
33
)
44

5-
# Pull in our get you started dependencies
5+
# pull in common dependencies and additional i2c hardware support
66
target_link_libraries(lcd_1602_i2c pico_stdlib hardware_i2c)
77

88
# create map/bin/hex file etc.

i2c/mpu6050_i2c/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(mpu6050_i2c
22
mpu6050_i2c.c
33
)
44

5-
# Pull in our get you started dependencies
5+
# pull in common dependencies and additional i2c hardware support
66
target_link_libraries(mpu6050_i2c pico_stdlib hardware_i2c)
77

88
# create map/bin/hex file etc.

interp/hello_interp/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ if (TARGET hardware_interp)
33
hello_interp.c
44
)
55

6-
# Pull in dependencies
6+
# pull in common dependencies and additional interpolation hardware support
77
target_link_libraries(hello_interp pico_stdlib hardware_interp)
88

99
# create map/bin/hex file etc.
1010
pico_add_extra_outputs(hello_interp)
1111

1212
# add url via pico_set_program_url
1313
example_auto_set_url(hello_interp)
14-
endif ()
14+
endif ()

picoboard/blinky/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(picoboard_blinky
22
blinky.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies
66
target_link_libraries(picoboard_blinky pico_stdlib)
77

88
# create map/bin/hex file etc.

picoboard/button/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(picoboard_button
22
button.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies
66
target_link_libraries(picoboard_button pico_stdlib)
77

88
# create map/bin/hex file etc.

pwm/hello_pwm/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(hello_pwm
22
hello_pwm.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies and additional pwm hardware support
66
target_link_libraries(hello_pwm pico_stdlib hardware_pwm)
77

88
# create map/bin/hex file etc.

pwm/led_fade/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(pwm_led_fade
22
pwm_led_fade.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies and additional pwm hardware support
66
target_link_libraries(pwm_led_fade pico_stdlib hardware_pwm)
77

88
# create map/bin/hex file etc.

pwm/measure_duty_cycle/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(pwm_measure_duty_cycle
22
measure_duty_cycle.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies and additional pwm hardware support
66
target_link_libraries(pwm_measure_duty_cycle pico_stdlib hardware_pwm)
77

88
# create map/bin/hex file etc.

reset/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ if (TARGET hardware_reset)
33
hello_reset.c
44
)
55

6-
# Pull in our pico_stdlib which pulls in commonly used features
6+
# pull in common dependencies
77
target_link_libraries(hello_reset pico_stdlib)
88

99
# create map/bin/hex file etc.
1010
pico_add_extra_outputs(hello_reset)
1111

1212
# add url via pico_set_program_url
1313
example_auto_set_url(hello_reset)
14-
endif ()
14+
endif ()

reset/hello_reset/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ if (TARGET hardware_resets)
33
hello_reset.c
44
)
55

6-
# Pull in our pico_stdlib which pulls in commonly used features
6+
# pull in common dependencies and additional reset hardware support
77
target_link_libraries(hello_reset pico_stdlib hardware_resets)
88

99
# create map/bin/hex file etc.
1010
pico_add_extra_outputs(hello_reset)
1111

1212
# add url via pico_set_program_url
1313
example_auto_set_url(hello_reset)
14-
endif ()
14+
endif ()

rtc/hello_rtc/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(hello_rtc
22
hello_rtc.c
33
)
44

5-
# Pull in our get you started dependencies
5+
# pull in common dependencies and additional rtc hardware support
66
target_link_libraries(hello_rtc pico_stdlib hardware_rtc)
77

88
# create map/bin/hex file etc.

rtc/rtc_alarm/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(rtc_alarm
22
rtc_alarm.c
33
)
44

5-
# Pull in our get you started dependencies
5+
# pull in common dependencies and additional rtc hardware support
66
target_link_libraries(rtc_alarm pico_stdlib hardware_rtc)
77

88
# create map/bin/hex file etc.

rtc/rtc_alarm_repeat/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(rtc_alarm_repeat
22
rtc_alarm_repeat.c
33
)
44

5-
# Pull in our get you started dependencies
5+
# pull in common dependencies and additional rtc hardware support
66
target_link_libraries(rtc_alarm_repeat pico_stdlib hardware_rtc)
77

88
# create map/bin/hex file etc.

spi/bme280_spi/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(bme280_spi
22
bme280_spi.c
33
)
44

5-
# Pull in our get you started dependencies
5+
# pull in common dependencies and additional spi hardware support
66
target_link_libraries(bme280_spi pico_stdlib hardware_spi)
77

88
# create map/bin/hex file etc.

spi/mpu9250_spi/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(mpu9250_spi
22
mpu9250_spi.c
33
)
44

5-
# Pull in our get you started dependencies
5+
# pull in common dependencies and additional spi hardware support
66
target_link_libraries(mpu9250_spi pico_stdlib hardware_spi)
77

88
# create map/bin/hex file etc.

spi/spi_flash/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(spi_flash
22
spi_flash.c
33
)
44

5-
# Pull in basic dependencies
5+
# pull in common dependencies and additional spi hardware support
66
target_link_libraries(spi_flash pico_stdlib hardware_spi)
77

88
# create map/bin/hex file etc.

system/narrow_io_write/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(narrow_io_write
22
narrow_io_write.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies
66
target_link_libraries(narrow_io_write pico_stdlib)
77

88
# create map/bin/hex file etc.

timer/hello_timer/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(hello_timer
22
hello_timer.c
33
)
44

5-
# Pull in our get you started dependencies
5+
# pull in common dependencies
66
target_link_libraries(hello_timer pico_stdlib)
77

88
# create map/bin/hex file etc.

timer/periodic_sampler/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if (NOT PICO_TIME_NO_ALARM_SUPPORT)
33
periodic_sampler.c
44
)
55

6-
# Pull in our get you started dependencies
6+
# pull in common dependencies
77
target_link_libraries(periodic_sampler pico_stdlib)
88

99
# create map/bin/hex file etc.

uart/hello_uart/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(hello_uart
22
hello_uart.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies and additional uart hardware support
66
target_link_libraries(hello_uart pico_stdlib)
77

88
# create map/bin/hex file etc.

uart/uart_advanced/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_executable(uart_advanced
22
uart_advanced.c
33
)
44

5-
# Pull in our pico_stdlib which pulls in commonly used features
5+
# pull in common dependencies and additional uart hardware support
66
target_link_libraries(uart_advanced pico_stdlib hardware_uart)
77

88
# create map/bin/hex file etc.

0 commit comments

Comments
 (0)