├── pico_w
├── wifi
│ ├── mqtt
│ │ ├── certs
│ │ │ ├── .gitignore
│ │ │ ├── sub.sh
│ │ │ └── pub.sh
│ │ ├── mbedtls_config.h
│ │ └── lwipopts.h
│ ├── httpd
│ │ ├── content
│ │ │ ├── img
│ │ │ │ └── rpi.png.gz
│ │ │ ├── ledfail.shtml
│ │ │ ├── 404.html
│ │ │ ├── ledpass.shtml
│ │ │ ├── test.shtml
│ │ │ └── index.shtml
│ │ ├── lwipopts.h
│ │ └── CMakeLists.txt
│ ├── tls_client
│ │ ├── mbedtls_config.h
│ │ └── lwipopts.h
│ ├── http_client
│ │ ├── mbedtls_config.h
│ │ └── lwipopts.h
│ ├── freertos
│ │ ├── http_client
│ │ │ ├── mbedtls_config.h
│ │ │ ├── FreeRTOSConfig.h
│ │ │ └── lwipopts.h
│ │ ├── ping
│ │ │ ├── FreeRTOSConfig.h
│ │ │ └── lwipopts.h
│ │ ├── httpd
│ │ │ ├── FreeRTOSConfig.h
│ │ │ ├── content
│ │ │ │ ├── 404.html
│ │ │ │ ├── test.shtml
│ │ │ │ └── index.shtml
│ │ │ └── lwipopts.h
│ │ ├── iperf
│ │ │ ├── FreeRTOSConfig.h
│ │ │ └── lwipopts.h
│ │ ├── CMakeLists.txt
│ │ └── ntp_client_socket
│ │ │ ├── lwipopts.h
│ │ │ └── CMakeLists.txt
│ ├── iperf
│ │ ├── lwipopts.h
│ │ └── CMakeLists.txt
│ ├── ota_update
│ │ ├── private.pem
│ │ ├── lwipopts.h
│ │ └── CMakeLists.txt
│ ├── ntp_client
│ │ ├── lwipopts.h
│ │ └── CMakeLists.txt
│ ├── tcp_client
│ │ └── lwipopts.h
│ ├── tcp_server
│ │ ├── lwipopts.h
│ │ └── CMakeLists.txt
│ ├── udp_beacon
│ │ ├── lwipopts.h
│ │ └── CMakeLists.txt
│ ├── wifi_scan
│ │ ├── lwipopts.h
│ │ └── CMakeLists.txt
│ ├── access_point
│ │ ├── lwipopts.h
│ │ ├── dnsserver
│ │ │ └── dnsserver.h
│ │ └── dhcpserver
│ │ │ └── LICENSE
│ └── blink
│ │ ├── picow_blink.c
│ │ ├── picow_blink_fast_clock.c
│ │ └── picow_blink_slow_clock.c
├── bt
│ ├── le_mitm
│ │ └── CMakeLists.txt
│ ├── gap_inquiry
│ │ └── CMakeLists.txt
│ ├── gatt_browser
│ │ └── CMakeLists.txt
│ ├── gatt_counter
│ │ └── CMakeLists.txt
│ ├── led_counter
│ │ └── CMakeLists.txt
│ ├── spp_counter
│ │ └── CMakeLists.txt
│ ├── spp_streamer
│ │ └── CMakeLists.txt
│ ├── gap_link_keys
│ │ └── CMakeLists.txt
│ ├── hid_host_demo
│ │ └── CMakeLists.txt
│ ├── hid_mouse_demo
│ │ └── CMakeLists.txt
│ ├── hog_host_demo
│ │ └── CMakeLists.txt
│ ├── hog_mouse_demo
│ │ └── CMakeLists.txt
│ ├── sdp_bnep_query
│ │ └── CMakeLists.txt
│ ├── spp_flowcontrol
│ │ └── CMakeLists.txt
│ ├── ancs_client_demo
│ │ └── CMakeLists.txt
│ ├── dut_mode_classic
│ │ └── CMakeLists.txt
│ ├── hid_keyboard_demo
│ │ └── CMakeLists.txt
│ ├── hog_keyboard_demo
│ │ └── CMakeLists.txt
│ ├── pbap_client_demo
│ │ └── CMakeLists.txt
│ ├── sdp_general_query
│ │ └── CMakeLists.txt
│ ├── sdp_rfcomm_query
│ │ └── CMakeLists.txt
│ ├── att_delayed_response
│ │ └── CMakeLists.txt
│ ├── gatt_battery_query
│ │ └── CMakeLists.txt
│ ├── gatt_streamer_server
│ │ └── CMakeLists.txt
│ ├── hog_boot_host_demo
│ │ └── CMakeLists.txt
│ ├── le_streamer_client
│ │ └── CMakeLists.txt
│ ├── sm_pairing_central
│ │ └── CMakeLists.txt
│ ├── spp_and_gatt_counter
│ │ └── CMakeLists.txt
│ ├── spp_streamer_client
│ │ └── CMakeLists.txt
│ ├── ublox_spp_le_counter
│ │ └── CMakeLists.txt
│ ├── avrcp_browsing_client
│ │ └── CMakeLists.txt
│ ├── gap_dedicated_bonding
│ │ └── CMakeLists.txt
│ ├── gap_le_advertisements
│ │ └── CMakeLists.txt
│ ├── gatt_heart_rate_client
│ │ └── CMakeLists.txt
│ ├── nordic_spp_le_counter
│ │ └── CMakeLists.txt
│ ├── nordic_spp_le_streamer
│ │ └── CMakeLists.txt
│ ├── sm_pairing_peripheral
│ │ └── CMakeLists.txt
│ ├── spp_and_gatt_streamer
│ │ └── CMakeLists.txt
│ ├── standalone
│ │ ├── CMakeLists.txt
│ │ ├── client
│ │ │ ├── btstack_config.h
│ │ │ └── CMakeLists.txt
│ │ └── server
│ │ │ ├── btstack_config.h
│ │ │ ├── temp_sensor.gatt
│ │ │ └── CMakeLists.txt
│ ├── gatt_device_information_query
│ │ └── CMakeLists.txt
│ ├── hfp_ag_demo
│ │ └── CMakeLists.txt
│ ├── hsp_ag_demo
│ │ └── CMakeLists.txt
│ ├── hsp_hs_demo
│ │ └── CMakeLists.txt
│ ├── a2dp_source_demo
│ │ └── CMakeLists.txt
│ ├── le_credit_based_flow_control_mode_client
│ │ └── CMakeLists.txt
│ ├── le_credit_based_flow_control_mode_server
│ │ └── CMakeLists.txt
│ ├── sine_player
│ │ └── CMakeLists.txt
│ ├── mod_player
│ │ └── CMakeLists.txt
│ ├── a2dp_sink_demo
│ │ └── CMakeLists.txt
│ ├── hfp_hf_demo
│ │ └── CMakeLists.txt
│ ├── picow_bt_example_common.h
│ ├── gatt_counter_with_wifi
│ │ └── CMakeLists.txt
│ ├── spp_streamer_with_wifi
│ │ └── CMakeLists.txt
│ ├── gatt_streamer_server_with_wifi
│ │ └── CMakeLists.txt
│ ├── picow_bt_example_poll.c
│ ├── picow_bt_example_background.c
│ ├── config
│ │ └── lwipopts.h
│ └── pan_lwip_http_server
│ │ └── CMakeLists.txt
└── CMakeLists.txt
├── cmake
├── CMakeLists.txt
└── build_variants
│ ├── other.h
│ ├── main.c
│ └── other.c
├── encrypted
├── hello_encrypted
│ ├── secret.txt
│ ├── secret.S
│ ├── ivsalt.bin
│ ├── privateaes.bin
│ └── private.pem
└── CMakeLists.txt
├── pio
├── squarewave
│ ├── generated
│ │ ├── squarewave.hex
│ │ └── squarewave.pio.h
│ ├── squarewave.pio
│ ├── squarewave_fast.pio
│ └── squarewave_wrap.pio
├── onewire
│ ├── pio_onewire.fzz
│ ├── pio_onewire.png
│ ├── ow_rom.h
│ ├── ds18b20.h
│ ├── CMakeLists.txt
│ └── onewire_library
│ │ ├── onewire_library.h
│ │ └── CMakeLists.txt
├── hub75
│ ├── mountains_128x64.png
│ ├── CMakeLists.txt
│ └── Readme.md
├── ir_nec
│ ├── pio_ir_loopback.fzz
│ ├── pio_ir_loopback.png
│ ├── CMakeLists.txt
│ ├── nec_transmit_library
│ │ ├── nec_transmit.h
│ │ └── CMakeLists.txt
│ ├── nec_receive_library
│ │ ├── nec_receive.h
│ │ └── CMakeLists.txt
│ └── ir_loopback
│ │ └── CMakeLists.txt
├── st7789_lcd
│ ├── raspberry_256x256.png
│ └── CMakeLists.txt
├── pwm
│ ├── CMakeLists.txt
│ └── pwm.pio
├── logic_analyser
│ └── CMakeLists.txt
├── uart_tx
│ └── CMakeLists.txt
├── addition
│ ├── CMakeLists.txt
│ ├── addition.c
│ └── addition.pio
├── apa102
│ └── CMakeLists.txt
├── manchester_encoding
│ └── CMakeLists.txt
├── i2c
│ ├── CMakeLists.txt
│ ├── pio_i2c.h
│ └── i2c_bus_scan.c
├── uart_dma
│ └── CMakeLists.txt
├── clocked_input
│ └── CMakeLists.txt
├── differential_manchester
│ └── CMakeLists.txt
├── quadrature_encoder
│ └── CMakeLists.txt
├── pio_blink
│ ├── CMakeLists.txt
│ └── blink.pio
├── hello_pio
│ ├── CMakeLists.txt
│ └── hello.pio
├── spi
│ ├── pio_spi.h
│ └── CMakeLists.txt
├── quadrature_encoder_substep
│ └── CMakeLists.txt
├── uart_rx
│ └── CMakeLists.txt
├── ws2812
│ └── generated
│ │ └── ws2812.py
└── CMakeLists.txt
├── otp
├── CMakeLists.txt
└── hello_otp
│ └── CMakeLists.txt
├── dcp
├── CMakeLists.txt
└── hello_dcp
│ └── CMakeLists.txt
├── status_led
├── CMakeLists.txt
├── color_blink
│ ├── CMakeLists.txt
│ └── color_blink.c
└── status_blink
│ ├── CMakeLists.txt
│ └── status_blink.c
├── uart
├── lcd_uart
│ ├── lcd_uart.fzz
│ ├── lcd_uart_bb.png
│ └── CMakeLists.txt
├── CMakeLists.txt
├── hello_uart
│ └── CMakeLists.txt
└── uart_advanced
│ └── CMakeLists.txt
├── hello_world
├── CMakeLists.txt
├── serial
│ ├── CMakeLists.txt
│ └── hello_serial.c
└── usb
│ ├── hello_usb.c
│ └── CMakeLists.txt
├── i2c
├── ssd1306_i2c
│ ├── 1306_i2c.fzz
│ ├── raspberry26x32.bmp
│ ├── ssd1306_i2c_bb.png
│ ├── CMakeLists.txt
│ └── raspberry26x32.h
├── bmp280_i2c
│ ├── bmp280_i2c.fzz
│ ├── bmp280_i2c_bb.png
│ └── CMakeLists.txt
├── lis3dh_i2c
│ ├── lis3dh_i2c.fzz
│ ├── lis3dh_i2c.png
│ └── CMakeLists.txt
├── mcp9808_i2c
│ ├── mcp9808_i2c.fzz
│ ├── mcp9808_i2c.png
│ └── CMakeLists.txt
├── mma8451_i2c
│ ├── mma8451_i2c.fzz
│ ├── mma8451_i2c.png
│ └── CMakeLists.txt
├── mpu6050_i2c
│ ├── mpu6050_i2c.fzz
│ ├── mpu6050_i2c_bb.png
│ └── CMakeLists.txt
├── pa1010d_i2c
│ ├── pa1010d_i2c.fzz
│ ├── pa1010d_i2c.png
│ └── CMakeLists.txt
├── pcf8523_i2c
│ ├── pc8523_i2c.fzz
│ ├── pc8523_i2c.png
│ ├── CMakeLists.txt
│ └── README.adoc
├── lcd_1602_i2c
│ ├── lcd_1602_i2c.fzz
│ ├── lcd_1602_i2c_bb.png
│ └── CMakeLists.txt
├── mpl3115a2_i2c
│ ├── mpl3115a2_i2c.fzz
│ ├── mpl3115a2_i2c_bb.png
│ ├── CMakeLists.txt
│ └── mpl3115a2_i2c.h
├── bus_scan
│ └── CMakeLists.txt
├── ht16k33_i2c
│ └── CMakeLists.txt
├── slave_mem_i2c
│ └── CMakeLists.txt
└── CMakeLists.txt
├── usb
├── README.md
├── dual
│ └── CMakeLists.txt
├── device
│ ├── dev_hid_composite
│ │ ├── README.md
│ │ ├── CMakeLists.txt
│ │ └── LICENSE.TXT
│ ├── dev_lowlevel
│ │ ├── CMakeLists.txt
│ │ └── dev_lowlevel_loopback.py
│ ├── CMakeLists.txt
│ └── dev_multi_cdc
│ │ ├── CMakeLists.txt
│ │ └── tusb_config.h
├── host
│ ├── CMakeLists.txt
│ └── host_cdc_msc_hid
│ │ ├── CMakeLists.txt
│ │ └── LICENSE.TXT
└── CMakeLists.txt
├── .gitignore
├── picoboard
├── CMakeLists.txt
├── blinky
│ └── CMakeLists.txt
└── button
│ └── CMakeLists.txt
├── spi
├── bme280_spi
│ ├── bme280_spi.fzz
│ ├── bme280_spi_bb.png
│ └── CMakeLists.txt
├── mpu9250_spi
│ ├── mpu9250_spi.fzz
│ ├── mpu9250_spi_bb.png
│ └── CMakeLists.txt
├── spi_master_slave
│ ├── CMakeLists.txt
│ ├── spi_master_slave.fzz
│ ├── spi_master_slave_bb.png
│ ├── spi_master_slave_logic.png
│ ├── spi_slave
│ │ └── CMakeLists.txt
│ └── spi_master
│ │ └── CMakeLists.txt
├── spi_dma
│ └── CMakeLists.txt
├── spi_flash
│ └── CMakeLists.txt
├── max7219_32x8_spi
│ └── CMakeLists.txt
├── max7219_8x7seg_spi
│ └── CMakeLists.txt
└── CMakeLists.txt
├── bootloaders
├── encrypted
│ ├── ivsalt.bin
│ ├── privateaes.bin
│ ├── mbedtls_config.h
│ ├── private.pem
│ ├── hello_serial.c
│ └── enc-pt.json
├── CMakeLists.txt
└── uart
│ ├── uart-pt.json
│ └── CMakeLists.txt
├── gpio
├── dht_sensor
│ ├── serial-output.png
│ ├── pi-and-pico-uart-and-dht-sensor.fzz
│ ├── pi-and-pico-uart-and-dht-sensor.png
│ └── CMakeLists.txt
├── hello_7segment
│ ├── hello_7segment.fzz
│ ├── hello_7segment_bb.png
│ └── CMakeLists.txt
├── CMakeLists.txt
└── hello_gpio_irq
│ └── CMakeLists.txt
├── adc
├── microphone_adc
│ ├── microphone_adc.fzz
│ ├── microphone_adc_bb.png
│ ├── microphone_adc_plotter.png
│ └── CMakeLists.txt
├── hello_adc
│ ├── CMakeLists.txt
│ └── hello_adc.c
├── adc_console
│ └── CMakeLists.txt
├── joystick_display
│ ├── CMakeLists.txt
│ └── joystick_display.c
├── read_vsys
│ ├── power_status
│ │ ├── CMakeLists.txt
│ │ └── power_status.h
│ └── CMakeLists.txt
├── onboard_temperature
│ └── CMakeLists.txt
├── CMakeLists.txt
└── dma_capture
│ ├── CMakeLists.txt
│ └── resistor_dac.pio
├── binary_info
├── CMakeLists.txt
├── blink_any
│ └── CMakeLists.txt
└── hello_anything
│ └── CMakeLists.txt
├── hstx
├── CMakeLists.txt
├── spi_lcd
│ └── CMakeLists.txt
└── dvi_out_hstx_encoder
│ └── CMakeLists.txt
├── timer
├── CMakeLists.txt
├── hello_timer
│ └── CMakeLists.txt
├── periodic_sampler
│ └── CMakeLists.txt
└── timer_lowlevel
│ └── CMakeLists.txt
├── flash
├── runtime_flash_permissions
│ ├── pt.json
│ └── CMakeLists.txt
├── program
│ └── CMakeLists.txt
├── cache_perfctr
│ └── CMakeLists.txt
├── ssi_dma
│ └── CMakeLists.txt
├── xip_stream
│ └── CMakeLists.txt
├── nuke
│ └── CMakeLists.txt
├── partition_info
│ ├── CMakeLists.txt
│ ├── uf2_family_ids.h
│ └── pt.json
└── CMakeLists.txt
├── .github
└── workflows
│ ├── choco_packages.config
│ └── pr-check.yml
├── freertos
├── FreeRTOSConfig.h
└── CMakeLists.txt
├── watchdog
├── CMakeLists.txt
└── hello_watchdog
│ ├── CMakeLists.txt
│ └── hello_watchdog.c
├── interp
├── CMakeLists.txt
└── hello_interp
│ └── CMakeLists.txt
├── reset
├── CMakeLists.txt
└── hello_reset
│ ├── CMakeLists.txt
│ └── hello_reset.c
├── sha
├── mbedtls_sha256
│ ├── mbedtls_config.h
│ └── CMakeLists.txt
├── CMakeLists.txt
└── sha256
│ └── sample.txt
├── multicore
├── multicore_doorbell
│ └── CMakeLists.txt
├── multicore_runner
│ └── CMakeLists.txt
├── multicore_fifo_irqs
│ └── CMakeLists.txt
├── multicore_runner_queue
│ └── CMakeLists.txt
├── hello_multicore
│ ├── CMakeLists.txt
│ └── multicore.c
└── CMakeLists.txt
├── system
├── CMakeLists.txt
├── rand
│ └── CMakeLists.txt
├── boot_info
│ └── CMakeLists.txt
├── narrow_io_write
│ └── CMakeLists.txt
├── unique_board_id
│ ├── CMakeLists.txt
│ └── unique_board_id.c
└── hello_double_tap
│ ├── CMakeLists.txt
│ └── hello_double_tap.c
├── rtc
├── CMakeLists.txt
├── hello_rtc
│ ├── CMakeLists.txt
│ └── hello_rtc.c
├── rtc_alarm
│ └── CMakeLists.txt
└── rtc_alarm_repeat
│ └── CMakeLists.txt
├── dma
├── hello_dma
│ └── CMakeLists.txt
├── sniff_crc
│ └── CMakeLists.txt
├── control_blocks
│ └── CMakeLists.txt
├── CMakeLists.txt
└── channel_irq
│ ├── CMakeLists.txt
│ └── pio_serialiser.pio
├── pwm
├── CMakeLists.txt
├── hello_pwm
│ ├── CMakeLists.txt
│ └── hello_pwm.c
├── led_fade
│ └── CMakeLists.txt
└── measure_duty_cycle
│ └── CMakeLists.txt
├── example_auto_set_url.cmake
├── clocks
├── hello_gpout
│ ├── CMakeLists.txt
│ └── hello_gpout.c
├── hello_resus
│ ├── CMakeLists.txt
│ └── hello_resus.c
├── CMakeLists.txt
├── hello_48MHz
│ └── CMakeLists.txt
└── detached_clk_peri
│ └── CMakeLists.txt
├── blink
└── CMakeLists.txt
├── blink_simple
├── CMakeLists.txt
└── blink_simple.c
├── universal
└── hello_universal
│ └── CMakeLists.txt
├── divider
└── CMakeLists.txt
└── ide
└── vscode
├── settings.json
├── launch-remote-openocd.json
├── launch-raspberrypi-swd.json
└── launch-probe-swd.json
/pico_w/wifi/mqtt/certs/.gitignore:
--------------------------------------------------------------------------------
1 | */
2 |
3 |
--------------------------------------------------------------------------------
/pico_w/bt/le_mitm/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(le_mitm)
2 |
--------------------------------------------------------------------------------
/cmake/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory_exclude_platforms(build_variants)
--------------------------------------------------------------------------------
/encrypted/hello_encrypted/secret.txt:
--------------------------------------------------------------------------------
1 | TODO: Put a funny secret here
2 |
--------------------------------------------------------------------------------
/pico_w/bt/gap_inquiry/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(gap_inquiry)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/gatt_browser/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(gatt_browser)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/gatt_counter/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(gatt_counter)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/led_counter/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(led_counter)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/spp_counter/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(spp_counter)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/spp_streamer/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(spp_streamer)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/gap_link_keys/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(gap_link_keys)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/hid_host_demo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(hid_host_demo)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/hid_mouse_demo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(hid_mouse_demo)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/hog_host_demo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(hog_host_demo)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/hog_mouse_demo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(hog_mouse_demo)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/sdp_bnep_query/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(sdp_bnep_query)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/spp_flowcontrol/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(spp_flowcontrol)
2 |
--------------------------------------------------------------------------------
/pio/squarewave/generated/squarewave.hex:
--------------------------------------------------------------------------------
1 | e081
2 | e101
3 | e000
4 | 0001
5 |
--------------------------------------------------------------------------------
/otp/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory_exclude_platforms(hello_otp host rp2040)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/ancs_client_demo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(ancs_client_demo)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/dut_mode_classic/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(dut_mode_classic)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/hid_keyboard_demo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(hid_keyboard_demo)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/hog_keyboard_demo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(hog_keyboard_demo)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/pbap_client_demo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(pbap_client_demo)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/sdp_general_query/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(sdp_general_query)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/sdp_rfcomm_query/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(sdp_rfcomm_query)
2 |
--------------------------------------------------------------------------------
/dcp/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory_exclude_platforms(hello_dcp host rp2040 rp2350-riscv)
--------------------------------------------------------------------------------
/pico_w/bt/att_delayed_response/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(att_delayed_response)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/gatt_battery_query/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(gatt_battery_query)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/gatt_streamer_server/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(gatt_streamer_server)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/hog_boot_host_demo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(hog_boot_host_demo)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/le_streamer_client/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(le_streamer_client)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/sm_pairing_central/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(sm_pairing_central)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/spp_and_gatt_counter/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(spp_and_gatt_counter)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/spp_streamer_client/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(spp_streamer_client)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/ublox_spp_le_counter/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(ublox_spp_le_counter)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/avrcp_browsing_client/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(avrcp_browsing_client)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/gap_dedicated_bonding/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(gap_dedicated_bonding)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/gap_le_advertisements/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(gap_le_advertisements)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/gatt_heart_rate_client/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(gatt_heart_rate_client)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/nordic_spp_le_counter/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(nordic_spp_le_counter)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/nordic_spp_le_streamer/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(nordic_spp_le_streamer)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/sm_pairing_peripheral/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(sm_pairing_peripheral)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/spp_and_gatt_streamer/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(spp_and_gatt_streamer)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/standalone/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(client)
2 | add_subdirectory(server)
3 |
--------------------------------------------------------------------------------
/status_led/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory(status_blink)
2 | add_subdirectory(color_blink)
3 |
--------------------------------------------------------------------------------
/pico_w/bt/gatt_device_information_query/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(gatt_device_information_query)
2 |
--------------------------------------------------------------------------------
/uart/lcd_uart/lcd_uart.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/uart/lcd_uart/lcd_uart.fzz
--------------------------------------------------------------------------------
/hello_world/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory_exclude_platforms(serial)
2 | add_subdirectory_exclude_platforms(usb)
3 |
--------------------------------------------------------------------------------
/i2c/ssd1306_i2c/1306_i2c.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/ssd1306_i2c/1306_i2c.fzz
--------------------------------------------------------------------------------
/pio/onewire/pio_onewire.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/pio/onewire/pio_onewire.fzz
--------------------------------------------------------------------------------
/pio/onewire/pio_onewire.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/pio/onewire/pio_onewire.png
--------------------------------------------------------------------------------
/usb/README.md:
--------------------------------------------------------------------------------
1 | Note: most of these examples are copies of the tinyusb examples in pico-sdk/lib/tinyusb/examples
2 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea
2 | .vscode
3 | _deps
4 | cmake-*
5 | build
6 | build-*
7 | build_*
8 | .DS_Store
9 | *.pdf
10 |
--------------------------------------------------------------------------------
/i2c/bmp280_i2c/bmp280_i2c.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/bmp280_i2c/bmp280_i2c.fzz
--------------------------------------------------------------------------------
/i2c/lis3dh_i2c/lis3dh_i2c.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/lis3dh_i2c/lis3dh_i2c.fzz
--------------------------------------------------------------------------------
/i2c/lis3dh_i2c/lis3dh_i2c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/lis3dh_i2c/lis3dh_i2c.png
--------------------------------------------------------------------------------
/i2c/mcp9808_i2c/mcp9808_i2c.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/mcp9808_i2c/mcp9808_i2c.fzz
--------------------------------------------------------------------------------
/i2c/mcp9808_i2c/mcp9808_i2c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/mcp9808_i2c/mcp9808_i2c.png
--------------------------------------------------------------------------------
/i2c/mma8451_i2c/mma8451_i2c.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/mma8451_i2c/mma8451_i2c.fzz
--------------------------------------------------------------------------------
/i2c/mma8451_i2c/mma8451_i2c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/mma8451_i2c/mma8451_i2c.png
--------------------------------------------------------------------------------
/i2c/mpu6050_i2c/mpu6050_i2c.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/mpu6050_i2c/mpu6050_i2c.fzz
--------------------------------------------------------------------------------
/i2c/pa1010d_i2c/pa1010d_i2c.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/pa1010d_i2c/pa1010d_i2c.fzz
--------------------------------------------------------------------------------
/i2c/pa1010d_i2c/pa1010d_i2c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/pa1010d_i2c/pa1010d_i2c.png
--------------------------------------------------------------------------------
/i2c/pcf8523_i2c/pc8523_i2c.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/pcf8523_i2c/pc8523_i2c.fzz
--------------------------------------------------------------------------------
/i2c/pcf8523_i2c/pc8523_i2c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/pcf8523_i2c/pc8523_i2c.png
--------------------------------------------------------------------------------
/pico_w/bt/hfp_ag_demo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(hfp_ag_demo pico_btstack_sco_demo_util pico_btstack_sbc_encoder)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/hsp_ag_demo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(hsp_ag_demo pico_btstack_sco_demo_util pico_btstack_sbc_encoder)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/hsp_hs_demo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(hsp_hs_demo pico_btstack_sco_demo_util pico_btstack_sbc_encoder)
2 |
--------------------------------------------------------------------------------
/picoboard/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory_exclude_platforms(blinky host)
2 | add_subdirectory_exclude_platforms(button host)
--------------------------------------------------------------------------------
/pio/hub75/mountains_128x64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/pio/hub75/mountains_128x64.png
--------------------------------------------------------------------------------
/pio/ir_nec/pio_ir_loopback.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/pio/ir_nec/pio_ir_loopback.fzz
--------------------------------------------------------------------------------
/pio/ir_nec/pio_ir_loopback.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/pio/ir_nec/pio_ir_loopback.png
--------------------------------------------------------------------------------
/spi/bme280_spi/bme280_spi.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/spi/bme280_spi/bme280_spi.fzz
--------------------------------------------------------------------------------
/spi/mpu9250_spi/mpu9250_spi.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/spi/mpu9250_spi/mpu9250_spi.fzz
--------------------------------------------------------------------------------
/uart/lcd_uart/lcd_uart_bb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/uart/lcd_uart/lcd_uart_bb.png
--------------------------------------------------------------------------------
/bootloaders/encrypted/ivsalt.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/bootloaders/encrypted/ivsalt.bin
--------------------------------------------------------------------------------
/encrypted/hello_encrypted/secret.S:
--------------------------------------------------------------------------------
1 | .section .rodata
2 | .global secret_data
3 | secret_data:
4 | .incbin "secret.txt"
5 | .byte 0
--------------------------------------------------------------------------------
/gpio/dht_sensor/serial-output.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/gpio/dht_sensor/serial-output.png
--------------------------------------------------------------------------------
/i2c/bmp280_i2c/bmp280_i2c_bb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/bmp280_i2c/bmp280_i2c_bb.png
--------------------------------------------------------------------------------
/i2c/lcd_1602_i2c/lcd_1602_i2c.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/lcd_1602_i2c/lcd_1602_i2c.fzz
--------------------------------------------------------------------------------
/pico_w/bt/a2dp_source_demo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(a2dp_source_demo pico_btstack_hxcmod_player pico_btstack_sbc_encoder)
--------------------------------------------------------------------------------
/pico_w/bt/le_credit_based_flow_control_mode_client/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(le_credit_based_flow_control_mode_client)
2 |
--------------------------------------------------------------------------------
/pico_w/bt/le_credit_based_flow_control_mode_server/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | picow_bt_example(le_credit_based_flow_control_mode_server)
2 |
--------------------------------------------------------------------------------
/spi/bme280_spi/bme280_spi_bb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/spi/bme280_spi/bme280_spi_bb.png
--------------------------------------------------------------------------------
/bootloaders/encrypted/privateaes.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/bootloaders/encrypted/privateaes.bin
--------------------------------------------------------------------------------
/encrypted/hello_encrypted/ivsalt.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/encrypted/hello_encrypted/ivsalt.bin
--------------------------------------------------------------------------------
/i2c/lcd_1602_i2c/lcd_1602_i2c_bb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/lcd_1602_i2c/lcd_1602_i2c_bb.png
--------------------------------------------------------------------------------
/i2c/mpl3115a2_i2c/mpl3115a2_i2c.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/mpl3115a2_i2c/mpl3115a2_i2c.fzz
--------------------------------------------------------------------------------
/i2c/mpu6050_i2c/mpu6050_i2c_bb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/mpu6050_i2c/mpu6050_i2c_bb.png
--------------------------------------------------------------------------------
/i2c/ssd1306_i2c/raspberry26x32.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/ssd1306_i2c/raspberry26x32.bmp
--------------------------------------------------------------------------------
/i2c/ssd1306_i2c/ssd1306_i2c_bb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/ssd1306_i2c/ssd1306_i2c_bb.png
--------------------------------------------------------------------------------
/pio/st7789_lcd/raspberry_256x256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/pio/st7789_lcd/raspberry_256x256.png
--------------------------------------------------------------------------------
/spi/mpu9250_spi/mpu9250_spi_bb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/spi/mpu9250_spi/mpu9250_spi_bb.png
--------------------------------------------------------------------------------
/adc/microphone_adc/microphone_adc.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/adc/microphone_adc/microphone_adc.fzz
--------------------------------------------------------------------------------
/gpio/hello_7segment/hello_7segment.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/gpio/hello_7segment/hello_7segment.fzz
--------------------------------------------------------------------------------
/i2c/mpl3115a2_i2c/mpl3115a2_i2c_bb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/i2c/mpl3115a2_i2c/mpl3115a2_i2c_bb.png
--------------------------------------------------------------------------------
/spi/spi_master_slave/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory_exclude_platforms(spi_master)
2 | add_subdirectory_exclude_platforms(spi_slave)
3 |
--------------------------------------------------------------------------------
/adc/microphone_adc/microphone_adc_bb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/adc/microphone_adc/microphone_adc_bb.png
--------------------------------------------------------------------------------
/binary_info/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory_exclude_platforms(blink_any host)
2 | add_subdirectory_exclude_platforms(hello_anything host)
3 |
--------------------------------------------------------------------------------
/encrypted/hello_encrypted/privateaes.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/encrypted/hello_encrypted/privateaes.bin
--------------------------------------------------------------------------------
/gpio/hello_7segment/hello_7segment_bb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/gpio/hello_7segment/hello_7segment_bb.png
--------------------------------------------------------------------------------
/pico_w/wifi/httpd/content/img/rpi.png.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/pico_w/wifi/httpd/content/img/rpi.png.gz
--------------------------------------------------------------------------------
/spi/spi_master_slave/spi_master_slave.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/spi/spi_master_slave/spi_master_slave.fzz
--------------------------------------------------------------------------------
/adc/microphone_adc/microphone_adc_plotter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/adc/microphone_adc/microphone_adc_plotter.png
--------------------------------------------------------------------------------
/hstx/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory_exclude_platforms(dvi_out_hstx_encoder host rp2040)
2 | add_subdirectory_exclude_platforms(spi_lcd host rp2040)
3 |
--------------------------------------------------------------------------------
/spi/spi_master_slave/spi_master_slave_bb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/spi/spi_master_slave/spi_master_slave_bb.png
--------------------------------------------------------------------------------
/spi/spi_master_slave/spi_master_slave_logic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/spi/spi_master_slave/spi_master_slave_logic.png
--------------------------------------------------------------------------------
/gpio/dht_sensor/pi-and-pico-uart-and-dht-sensor.fzz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/gpio/dht_sensor/pi-and-pico-uart-and-dht-sensor.fzz
--------------------------------------------------------------------------------
/gpio/dht_sensor/pi-and-pico-uart-and-dht-sensor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/raspberrypi/pico-examples/HEAD/gpio/dht_sensor/pi-and-pico-uart-and-dht-sensor.png
--------------------------------------------------------------------------------
/cmake/build_variants/other.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3 | *
4 | * SPDX-License-Identifier: BSD-3-Clause
5 | */
6 |
7 | void do_other();
--------------------------------------------------------------------------------
/pico_w/bt/standalone/client/btstack_config.h:
--------------------------------------------------------------------------------
1 | #ifndef _PICO_BTSTACK_CONFIG_H
2 | #define _PICO_BTSTACK_CONFIG_H
3 |
4 | #include "btstack_config_common.h"
5 |
6 | #endif
7 |
--------------------------------------------------------------------------------
/pico_w/bt/standalone/server/btstack_config.h:
--------------------------------------------------------------------------------
1 | #ifndef _PICO_BTSTACK_CONFIG_H
2 | #define _PICO_BTSTACK_CONFIG_H
3 |
4 | #include "btstack_config_common.h"
5 |
6 | #endif
7 |
--------------------------------------------------------------------------------
/pico_w/wifi/mqtt/mbedtls_config.h:
--------------------------------------------------------------------------------
1 | #ifndef MBEDTLS_CONFIG_TLS_CLIENT_H
2 | #define MBEDTLS_CONFIG_TLS_CLIENT_H
3 |
4 | #include "mbedtls_config_examples_common.h"
5 |
6 | #endif
--------------------------------------------------------------------------------
/pico_w/wifi/tls_client/mbedtls_config.h:
--------------------------------------------------------------------------------
1 | #ifndef MBEDTLS_CONFIG_TLS_CLIENT_H
2 | #define MBEDTLS_CONFIG_TLS_CLIENT_H
3 |
4 | #include "mbedtls_config_examples_common.h"
5 |
6 | #endif
--------------------------------------------------------------------------------
/pico_w/wifi/http_client/mbedtls_config.h:
--------------------------------------------------------------------------------
1 | #ifndef MBEDTLS_CONFIG_TLS_CLIENT_H
2 | #define MBEDTLS_CONFIG_TLS_CLIENT_H
3 |
4 | #include "mbedtls_config_examples_common.h"
5 |
6 | #endif
--------------------------------------------------------------------------------
/pico_w/wifi/freertos/http_client/mbedtls_config.h:
--------------------------------------------------------------------------------
1 | #ifndef MBEDTLS_CONFIG_TLS_CLIENT_H
2 | #define MBEDTLS_CONFIG_TLS_CLIENT_H
3 |
4 | #include "mbedtls_config_examples_common.h"
5 |
6 | #endif
--------------------------------------------------------------------------------
/gpio/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory_exclude_platforms(dht_sensor host)
2 | add_subdirectory_exclude_platforms(hello_7segment host)
3 | add_subdirectory_exclude_platforms(hello_gpio_irq host)
4 |
--------------------------------------------------------------------------------
/timer/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_subdirectory_exclude_platforms(hello_timer host)
2 | add_subdirectory_exclude_platforms(periodic_sampler)
3 | add_subdirectory_exclude_platforms(timer_lowlevel host)
4 |
--------------------------------------------------------------------------------
/flash/runtime_flash_permissions/pt.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": [1, 0],
3 | "unpartitioned": {
4 | "families": ["absolute"],
5 | "permissions": {
6 | "bootloader": "rw"
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/usb/dual/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | set(FAMILY rp2040)
2 | set(BOARD pico_sdk)
3 | set(TINYUSB_FAMILY_PROJECT_NAME_PREFIX "tinyusb_dual_")
4 | add_subdirectory(${PICO_TINYUSB_PATH}/examples/dual tinyusb_dual_examples)
--------------------------------------------------------------------------------
/.github/workflows/choco_packages.config:
--------------------------------------------------------------------------------
1 |
2 |
Failed to update led
8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /pico_w/bt/sine_player/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(sine_player_pins INTERFACE) 2 | target_compile_definitions(sine_player_pins INTERFACE 3 | PICO_AUDIO_I2S_DATA_PIN=9 4 | PICO_AUDIO_I2S_CLOCK_PIN_BASE=10 5 | ) 6 | picow_bt_example(sine_player sine_player_pins) 7 | -------------------------------------------------------------------------------- /pico_w/wifi/httpd/content/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |Sorry, the page you are requesting was not found on this server.
8 | 9 | 10 | -------------------------------------------------------------------------------- /pico_w/wifi/httpd/content/ledpass.shtml: -------------------------------------------------------------------------------- 1 | 2 | 3 |Success. Led is now
8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /pico_w/bt/mod_player/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(mod_player_pins INTERFACE) 2 | target_compile_definitions(mod_player_pins INTERFACE 3 | PICO_AUDIO_I2S_DATA_PIN=9 4 | PICO_AUDIO_I2S_CLOCK_PIN_BASE=10 5 | ) 6 | picow_bt_example(mod_player pico_btstack_hxcmod_player mod_player_pins) 7 | -------------------------------------------------------------------------------- /pico_w/wifi/mqtt/certs/sub.sh: -------------------------------------------------------------------------------- 1 | #/usr/bin/bash 2 | 3 | if [ -z "$MQTT_SERVER" ]; then 4 | echo Define MQTT_SERVER 5 | exit 1 6 | fi 7 | 8 | mosquitto_sub -h $MQTT_SERVER --cafile $MQTT_SERVER/ca.crt --key $MQTT_SERVER/client.key --cert $MQTT_SERVER/client.crt -t "$1" 9 | 10 | -------------------------------------------------------------------------------- /pio/ir_nec/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # build the transmit and receive libraries 2 | # 3 | add_subdirectory_exclude_platforms(nec_transmit_library) 4 | add_subdirectory_exclude_platforms(nec_receive_library) 5 | 6 | # build the example program 7 | # 8 | add_subdirectory_exclude_platforms(ir_loopback) 9 | -------------------------------------------------------------------------------- /freertos/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if (NOT FREERTOS_KERNEL_PATH AND NOT DEFINED ENV{FREERTOS_KERNEL_PATH}) 2 | message("Skipping FreeRTOS examples as FREERTOS_KERNEL_PATH not defined") 3 | return() 4 | endif() 5 | 6 | include(FreeRTOS_Kernel_import.cmake) 7 | 8 | add_subdirectory(hello_freertos) 9 | -------------------------------------------------------------------------------- /pico_w/wifi/mqtt/certs/pub.sh: -------------------------------------------------------------------------------- 1 | #/usr/bin/bash 2 | 3 | if [ -z "$MQTT_SERVER" ]; then 4 | echo Define MQTT_SERVER 5 | exit 1 6 | fi 7 | 8 | mosquitto_pub -h $MQTT_SERVER --cafile $MQTT_SERVER/ca.crt --key $MQTT_SERVER/client.key --cert $MQTT_SERVER/client.crt -t "$1" -m "$2" 9 | 10 | -------------------------------------------------------------------------------- /encrypted/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if (TARGET pico_mbedtls) 2 | add_subdirectory_exclude_platforms(hello_encrypted host rp2040 rp2350-riscv) 3 | else() 4 | # Assume picotool has no signing support, if no pico_mbedtls available 5 | message("Skipping encrypted example as pico_mbedtls unavailable") 6 | endif () 7 | -------------------------------------------------------------------------------- /multicore/multicore_doorbell/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(multicore_doorbell 2 | multicore_doorbell.c 3 | ) 4 | target_link_libraries(multicore_doorbell 5 | pico_stdlib 6 | pico_multicore) 7 | pico_add_extra_outputs(multicore_doorbell) 8 | example_auto_set_url(multicore_doorbell) 9 | -------------------------------------------------------------------------------- /pico_w/bt/a2dp_sink_demo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(a2dp_sink_demo_pins INTERFACE) 2 | target_compile_definitions(a2dp_sink_demo_pins INTERFACE 3 | PICO_AUDIO_I2S_DATA_PIN=9 4 | PICO_AUDIO_I2S_CLOCK_PIN_BASE=10 5 | ) 6 | 7 | picow_bt_example(a2dp_sink_demo pico_btstack_sbc_decoder a2dp_sink_demo_pins) 8 | -------------------------------------------------------------------------------- /pico_w/wifi/freertos/httpd/content/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |Sorry, the page you are requesting was not found on this server.
9 | 10 | 11 | -------------------------------------------------------------------------------- /pico_w/wifi/freertos/httpd/content/test.shtml: -------------------------------------------------------------------------------- 1 | 2 | 3 |Test result:
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory_exclude_platforms(boot_info host host rp2040) 2 | add_subdirectory_exclude_platforms(hello_double_tap host) 3 | add_subdirectory_exclude_platforms(narrow_io_write host) 4 | add_subdirectory_exclude_platforms(unique_board_id host) 5 | add_subdirectory_exclude_platforms(rand host) 6 | -------------------------------------------------------------------------------- /pico_w/bt/hfp_hf_demo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(hfp_hf_demo_pins INTERFACE) 2 | target_compile_definitions(hfp_hf_demo_pins INTERFACE 3 | PICO_AUDIO_I2S_DATA_PIN=9 4 | PICO_AUDIO_I2S_CLOCK_PIN_BASE=10 5 | ) 6 | picow_bt_example(hfp_hf_demo pico_btstack_sco_demo_util pico_btstack_sbc_encoder hfp_hf_demo_pins) 7 | -------------------------------------------------------------------------------- /pico_w/wifi/httpd/content/test.shtml: -------------------------------------------------------------------------------- 1 | 2 | 3 |Test result:
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /rtc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if (TARGET hardware_rtc) 2 | add_subdirectory_exclude_platforms(hello_rtc) 3 | add_subdirectory_exclude_platforms(rtc_alarm) 4 | add_subdirectory_exclude_platforms(rtc_alarm_repeat) 5 | else() 6 | message("Skipping RTC examples as hardware_rtc is unavailable on this platform") 7 | endif() 8 | -------------------------------------------------------------------------------- /adc/hello_adc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(hello_adc 2 | hello_adc.c 3 | ) 4 | 5 | target_link_libraries(hello_adc pico_stdlib hardware_adc) 6 | 7 | # create map/bin/hex file etc. 8 | pico_add_extra_outputs(hello_adc) 9 | 10 | # add url via pico_set_program_url 11 | example_auto_set_url(hello_adc) 12 | -------------------------------------------------------------------------------- /dma/hello_dma/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(hello_dma 2 | hello_dma.c 3 | ) 4 | 5 | target_link_libraries(hello_dma pico_stdlib hardware_dma) 6 | 7 | # create map/bin/hex file etc. 8 | pico_add_extra_outputs(hello_dma) 9 | 10 | # add url via pico_set_program_url 11 | example_auto_set_url(hello_dma) 12 | -------------------------------------------------------------------------------- /dma/sniff_crc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(sniff_crc 2 | sniff_crc.c 3 | ) 4 | 5 | target_link_libraries(sniff_crc pico_stdlib hardware_dma) 6 | 7 | # create map/bin/hex file etc. 8 | pico_add_extra_outputs(sniff_crc) 9 | 10 | # add url via pico_set_program_url 11 | example_auto_set_url(sniff_crc) 12 | -------------------------------------------------------------------------------- /pwm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if (TARGET hardware_pwm) 2 | add_subdirectory_exclude_platforms(hello_pwm) 3 | add_subdirectory_exclude_platforms(led_fade) 4 | add_subdirectory_exclude_platforms(measure_duty_cycle) 5 | else() 6 | message("Skipping PWM examples as hardware_pwm is unavailable on this platform") 7 | endif() 8 | -------------------------------------------------------------------------------- /spi/spi_dma/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(spi_dma 2 | spi_dma.c 3 | ) 4 | 5 | target_link_libraries(spi_dma pico_stdlib hardware_spi hardware_dma) 6 | 7 | # create map/bin/hex file etc. 8 | pico_add_extra_outputs(spi_dma) 9 | 10 | # add url via pico_set_program_url 11 | example_auto_set_url(spi_dma) 12 | -------------------------------------------------------------------------------- /system/rand/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(rand 2 | rand.c 3 | ) 4 | target_link_libraries(rand 5 | pico_stdlib 6 | pico_rand 7 | ) 8 | 9 | # create map/bin/hex file etc. 10 | pico_add_extra_outputs(rand) 11 | 12 | # add url via pico_set_program_url 13 | example_auto_set_url(rand) 14 | -------------------------------------------------------------------------------- /uart/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | if (TARGET hardware_uart) 2 | add_subdirectory_exclude_platforms(hello_uart) 3 | add_subdirectory_exclude_platforms(lcd_uart host) 4 | add_subdirectory_exclude_platforms(uart_advanced host) 5 | else() 6 | message("Skipping UART examples as hardware_uart is unavailable on this platform") 7 | endif() -------------------------------------------------------------------------------- /example_auto_set_url.cmake: -------------------------------------------------------------------------------- 1 | set(PICO_EXAMPLE_URL_BASE "https://github.com/raspberrypi/pico-examples/tree/HEAD") 2 | macro(example_auto_set_url TARGET) 3 | file(RELATIVE_PATH URL_REL_PATH "${PICO_EXAMPLES_PATH}" "${CMAKE_CURRENT_LIST_DIR}") 4 | pico_set_program_url(${TARGET} "${PICO_EXAMPLE_URL_BASE}/${URL_REL_PATH}") 5 | endmacro() -------------------------------------------------------------------------------- /pio/onewire/ow_rom.h: -------------------------------------------------------------------------------- 1 | // Generic ROM commands for 1-Wire devices 2 | // https://www.analog.com/en/technical-articles/guide-to-1wire-communication.html 3 | // 4 | #define OW_READ_ROM 0x33 5 | #define OW_MATCH_ROM 0x55 6 | #define OW_SKIP_ROM 0xCC 7 | #define OW_ALARM_SEARCH 0xEC 8 | #define OW_SEARCH_ROM 0xF0 -------------------------------------------------------------------------------- /sha/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # todo peter fix mixture of sha256 and MBED 2 | if (TARGET pico_sha256 AND TARGET pico_mbedtls) 3 | add_subdirectory_exclude_platforms(sha256) 4 | add_subdirectory_exclude_platforms(mbedtls_sha256) 5 | else() 6 | message("Skipping SHA256 examples as pico_sha256 or pico_mbedtls unavailable") 7 | endif () 8 | -------------------------------------------------------------------------------- /system/boot_info/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(boot_info 2 | boot_info.c 3 | ) 4 | target_link_libraries(boot_info 5 | pico_stdlib 6 | ) 7 | 8 | # create map/bin/hex file etc. 9 | pico_add_extra_outputs(boot_info) 10 | 11 | # add url via pico_set_program_url 12 | example_auto_set_url(boot_info) 13 | -------------------------------------------------------------------------------- /usb/device/dev_lowlevel/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(dev_lowlevel 2 | dev_lowlevel.c 3 | ) 4 | 5 | target_link_libraries(dev_lowlevel PRIVATE pico_stdlib hardware_resets hardware_irq) 6 | pico_add_extra_outputs(dev_lowlevel) 7 | 8 | # add url via pico_set_program_url 9 | example_auto_set_url(dev_lowlevel) 10 | -------------------------------------------------------------------------------- /adc/adc_console/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(adc_console 2 | adc_console.c 3 | ) 4 | 5 | target_link_libraries(adc_console pico_stdlib hardware_adc) 6 | 7 | # create map/bin/hex file etc. 8 | pico_add_extra_outputs(adc_console) 9 | 10 | # add url via pico_set_program_url 11 | example_auto_set_url(adc_console) 12 | 13 | -------------------------------------------------------------------------------- /otp/hello_otp/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(hello_otp 2 | hello_otp.c 3 | ) 4 | 5 | # pull in common dependencies 6 | target_link_libraries(hello_otp pico_stdlib) 7 | 8 | # create map/bin/hex/uf2 file etc. 9 | pico_add_extra_outputs(hello_otp) 10 | 11 | # add url via pico_set_program_url 12 | example_auto_set_url(hello_otp) 13 | -------------------------------------------------------------------------------- /pio/ir_nec/nec_transmit_library/nec_transmit.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2021 mjcross 3 | * 4 | * SPDX-License-Identifier: BSD-3-Clause 5 | */ 6 | 7 | #include "pico/stdlib.h" 8 | #include "hardware/pio.h" 9 | 10 | // public API 11 | 12 | int nec_tx_init(PIO pio, uint pin); 13 | uint32_t nec_encode_frame(uint8_t address, uint8_t data); 14 | -------------------------------------------------------------------------------- /usb/host/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(FAMILY rp2040) 2 | set(BOARD pico_sdk) 3 | set(TINYUSB_FAMILY_PROJECT_NAME_PREFIX "tinyusb_host_") 4 | # Hack as some host examples use $TOP in their path 5 | set(TOP ${PICO_TINYUSB_PATH}) 6 | add_subdirectory(${PICO_TINYUSB_PATH}/examples/host tinyusb_host_examples) 7 | 8 | add_subdirectory_exclude_platforms(host_cdc_msc_hid) -------------------------------------------------------------------------------- /watchdog/hello_watchdog/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(hello_watchdog 2 | hello_watchdog.c 3 | ) 4 | 5 | target_link_libraries(hello_watchdog pico_stdlib) 6 | 7 | # create map/bin/hex file etc. 8 | pico_add_extra_outputs(hello_watchdog) 9 | 10 | # add url via pico_set_program_url 11 | example_auto_set_url(hello_watchdog) 12 | -------------------------------------------------------------------------------- /bootloaders/encrypted/private.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BgUrgQQACg== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHQCAQEEIAXAdiilH8wT07TESUzWPt+BY9+NcchvYU3xbnpK+CBNoAcGBSuBBAAK 6 | oUQDQgAEYYJtMQFGW4AB94tU3u/Qir5sRcYjBYMqCa+8gxsYd9OwMS3dqWKsnVBz 7 | dyy7bFWdJzXDMb9o20xRRd57Q9xSYw== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /encrypted/hello_encrypted/private.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BgUrgQQACg== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHQCAQEEIAXAdiilH8wT07TESUzWPt+BY9+NcchvYU3xbnpK+CBNoAcGBSuBBAAK 6 | oUQDQgAEYYJtMQFGW4AB94tU3u/Qir5sRcYjBYMqCa+8gxsYd9OwMS3dqWKsnVBz 7 | dyy7bFWdJzXDMb9o20xRRd57Q9xSYw== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /pico_w/wifi/iperf/lwipopts.h: -------------------------------------------------------------------------------- 1 | #ifndef _LWIPOPTS_H 2 | #define _LWIPOPTS_H 3 | 4 | // Generally you would define your own explicit list of lwIP options 5 | // (see https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html) 6 | // 7 | // This example uses a common include to avoid repetition 8 | #include "lwipopts_examples_common.h" 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /pico_w/wifi/ota_update/private.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BgUrgQQACg== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHQCAQEEIAXAdiilH8wT07TESUzWPt+BY9+NcchvYU3xbnpK+CBNoAcGBSuBBAAK 6 | oUQDQgAEYYJtMQFGW4AB94tU3u/Qir5sRcYjBYMqCa+8gxsYd9OwMS3dqWKsnVBz 7 | dyy7bFWdJzXDMb9o20xRRd57Q9xSYw== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /uart/hello_uart/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(hello_uart 2 | hello_uart.c 3 | ) 4 | 5 | # pull in common dependencies 6 | target_link_libraries(hello_uart pico_stdlib) 7 | 8 | # create map/bin/hex file etc. 9 | pico_add_extra_outputs(hello_uart) 10 | 11 | # add url via pico_set_program_url 12 | example_auto_set_url(hello_uart) 13 | -------------------------------------------------------------------------------- /pico_w/wifi/ntp_client/lwipopts.h: -------------------------------------------------------------------------------- 1 | #ifndef _LWIPOPTS_H 2 | #define _LWIPOPTS_H 3 | 4 | // Generally you would define your own explicit list of lwIP options 5 | // (see https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html) 6 | // 7 | // This example uses a common include to avoid repetition 8 | #include "lwipopts_examples_common.h" 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /pico_w/wifi/ota_update/lwipopts.h: -------------------------------------------------------------------------------- 1 | #ifndef _LWIPOPTS_H 2 | #define _LWIPOPTS_H 3 | 4 | // Generally you would define your own explicit list of lwIP options 5 | // (see https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html) 6 | // 7 | // This example uses a common include to avoid repetition 8 | #include "lwipopts_examples_common.h" 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /pico_w/wifi/tcp_client/lwipopts.h: -------------------------------------------------------------------------------- 1 | #ifndef _LWIPOPTS_H 2 | #define _LWIPOPTS_H 3 | 4 | // Generally you would define your own explicit list of lwIP options 5 | // (see https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html) 6 | // 7 | // This example uses a common include to avoid repetition 8 | #include "lwipopts_examples_common.h" 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /pico_w/wifi/tcp_server/lwipopts.h: -------------------------------------------------------------------------------- 1 | #ifndef _LWIPOPTS_H 2 | #define _LWIPOPTS_H 3 | 4 | // Generally you would define your own explicit list of lwIP options 5 | // (see https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html) 6 | // 7 | // This example uses a common include to avoid repetition 8 | #include "lwipopts_examples_common.h" 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /pico_w/wifi/udp_beacon/lwipopts.h: -------------------------------------------------------------------------------- 1 | #ifndef _LWIPOPTS_H 2 | #define _LWIPOPTS_H 3 | 4 | // Generally you would define your own explicit list of lwIP options 5 | // (see https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html) 6 | // 7 | // This example uses a common include to avoid repetition 8 | #include "lwipopts_examples_common.h" 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /pico_w/wifi/wifi_scan/lwipopts.h: -------------------------------------------------------------------------------- 1 | #ifndef _LWIPOPTS_H 2 | #define _LWIPOPTS_H 3 | 4 | // Generally you would define your own explicit list of lwIP options 5 | // (see https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html) 6 | // 7 | // This example uses a common include to avoid repetition 8 | #include "lwipopts_examples_common.h" 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /pio/pwm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(pio_pwm) 2 | 3 | pico_generate_pio_header(pio_pwm ${CMAKE_CURRENT_LIST_DIR}/pwm.pio) 4 | 5 | target_sources(pio_pwm PRIVATE pwm.c) 6 | 7 | target_link_libraries(pio_pwm PRIVATE pico_stdlib hardware_pio) 8 | pico_add_extra_outputs(pio_pwm) 9 | 10 | # add url via pico_set_program_url 11 | example_auto_set_url(pio_pwm) -------------------------------------------------------------------------------- /timer/hello_timer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(hello_timer 2 | hello_timer.c 3 | ) 4 | 5 | # pull in common dependencies 6 | target_link_libraries(hello_timer pico_stdlib) 7 | 8 | # create map/bin/hex file etc. 9 | pico_add_extra_outputs(hello_timer) 10 | 11 | # add url via pico_set_program_url 12 | example_auto_set_url(hello_timer) 13 | -------------------------------------------------------------------------------- /clocks/hello_gpout/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(hello_gpout 2 | hello_gpout.c 3 | ) 4 | 5 | # pull in common dependencies 6 | target_link_libraries(hello_gpout pico_stdlib) 7 | 8 | # create map/bin/hex file etc. 9 | pico_add_extra_outputs(hello_gpout) 10 | 11 | # add url via pico_set_program_url 12 | example_auto_set_url(hello_gpout) 13 | -------------------------------------------------------------------------------- /clocks/hello_resus/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(hello_resus 2 | hello_resus.c 3 | ) 4 | 5 | # pull in common dependencies 6 | target_link_libraries(hello_resus pico_stdlib) 7 | 8 | # create map/bin/hex file etc. 9 | pico_add_extra_outputs(hello_resus) 10 | 11 | # add url via pico_set_program_url 12 | example_auto_set_url(hello_resus) 13 | -------------------------------------------------------------------------------- /pico_w/wifi/access_point/lwipopts.h: -------------------------------------------------------------------------------- 1 | #ifndef _LWIPOPTS_H 2 | #define _LWIPOPTS_H 3 | 4 | // Generally you would define your own explicit list of lwIP options 5 | // (see https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html) 6 | // 7 | // This example uses a common include to avoid repetition 8 | #include "lwipopts_examples_common.h" 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /pio/ir_nec/nec_receive_library/nec_receive.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2021 mjcross 3 | * 4 | * SPDX-License-Identifier: BSD-3-Clause 5 | */ 6 | 7 | #include "pico/stdlib.h" 8 | #include "hardware/pio.h" 9 | 10 | // public API 11 | 12 | int nec_rx_init(PIO pio, uint pin); 13 | bool nec_decode_frame(uint32_t sm, uint8_t *p_address, uint8_t *p_data); 14 | -------------------------------------------------------------------------------- /pio/logic_analyser/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(pio_logic_analyser) 2 | 3 | target_sources(pio_logic_analyser PRIVATE logic_analyser.c) 4 | 5 | target_link_libraries(pio_logic_analyser PRIVATE pico_stdlib hardware_pio hardware_dma) 6 | pico_add_extra_outputs(pio_logic_analyser) 7 | 8 | # add url via pico_set_program_url 9 | example_auto_set_url(pio_logic_analyser) -------------------------------------------------------------------------------- /adc/joystick_display/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(joystick_display 2 | joystick_display.c 3 | ) 4 | 5 | target_link_libraries(joystick_display pico_stdlib hardware_adc) 6 | 7 | # create map/bin/hex file etc. 8 | pico_add_extra_outputs(joystick_display) 9 | 10 | # add url via pico_set_program_url 11 | example_auto_set_url(joystick_display) 12 | -------------------------------------------------------------------------------- /dma/control_blocks/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(dma_control_blocks 2 | control_blocks.c 3 | ) 4 | 5 | target_link_libraries(dma_control_blocks pico_stdlib hardware_dma) 6 | 7 | # create map/bin/hex file etc. 8 | pico_add_extra_outputs(dma_control_blocks) 9 | 10 | # add url via pico_set_program_url 11 | example_auto_set_url(dma_control_blocks) 12 | -------------------------------------------------------------------------------- /hello_world/serial/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(hello_serial 2 | hello_serial.c 3 | ) 4 | 5 | # pull in common dependencies 6 | target_link_libraries(hello_serial pico_stdlib) 7 | 8 | # create map/bin/hex/uf2 file etc. 9 | pico_add_extra_outputs(hello_serial) 10 | 11 | # add url via pico_set_program_url 12 | example_auto_set_url(hello_serial) 13 | -------------------------------------------------------------------------------- /hello_world/usb/hello_usb.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2020 Raspberry Pi (Trading) Ltd. 3 | * 4 | * SPDX-License-Identifier: BSD-3-Clause 5 | */ 6 | 7 | #includeUptime is seconds
9 | 10 |Led is click here to toggle the led
11 |
12 |
13 |
--------------------------------------------------------------------------------
/blink/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_executable(blink
2 | blink.c
3 | )
4 |
5 | # pull in common dependencies
6 | target_link_libraries(blink pico_stdlib)
7 |
8 | if (PICO_CYW43_SUPPORTED)
9 | target_link_libraries(blink pico_cyw43_arch_none)
10 | endif()
11 |
12 | # create map/bin/hex file etc.
13 | pico_add_extra_outputs(blink)
14 |
15 | # add url via pico_set_program_url
16 | example_auto_set_url(blink)
17 |
--------------------------------------------------------------------------------
/clocks/hello_48MHz/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_executable(hello_48MHz
2 | hello_48MHz.c
3 | )
4 |
5 | # pull in common dependencies and additional clocks hardware support
6 | target_link_libraries(hello_48MHz pico_stdlib hardware_clocks)
7 |
8 | # create map/bin/hex file etc.
9 | pico_add_extra_outputs(hello_48MHz)
10 |
11 | # add url via pico_set_program_url
12 | example_auto_set_url(hello_48MHz)
13 |
--------------------------------------------------------------------------------
/clocks/detached_clk_peri/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_executable(clocks_detached_clk_peri
2 | detached_clk_peri.c
3 | )
4 |
5 | # pull in common dependencies
6 | target_link_libraries(clocks_detached_clk_peri pico_stdlib)
7 |
8 | # create map/bin/hex file etc.
9 | pico_add_extra_outputs(clocks_detached_clk_peri)
10 |
11 | # add url via pico_set_program_url
12 | example_auto_set_url(clocks_detached_clk_peri)
13 |
--------------------------------------------------------------------------------
/uart/uart_advanced/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_executable(uart_advanced
2 | uart_advanced.c
3 | )
4 |
5 | # pull in common dependencies and additional uart hardware support
6 | target_link_libraries(uart_advanced pico_stdlib hardware_uart)
7 |
8 | # create map/bin/hex file etc.
9 | pico_add_extra_outputs(uart_advanced)
10 |
11 | # add url via pico_set_program_url
12 | example_auto_set_url(uart_advanced)
13 |
--------------------------------------------------------------------------------
/adc/read_vsys/power_status/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | add_library(power_status_adc INTERFACE)
2 | target_sources(power_status_adc INTERFACE
3 | ${CMAKE_CURRENT_LIST_DIR}/power_status.c
4 | )
5 | target_include_directories(power_status_adc INTERFACE
6 | ${CMAKE_CURRENT_LIST_DIR}
7 | )
8 | target_link_libraries(power_status_adc INTERFACE
9 | hardware_adc
10 | hardware_gpio
11 | )
12 |
--------------------------------------------------------------------------------
/bootloaders/encrypted/hello_serial.c:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3 | *
4 | * SPDX-License-Identifier: BSD-3-Clause
5 | */
6 |
7 | #include Uptime is seconds
12 | Pico httpd example
7 | 