You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modify CMakeLists.txt to automatically adjust for target architecture
changes. Guide the swiftc compiler to use the appropriate target based
on the PICO_PLATFORM CMake variable, which defaults to PICO_BOARD if
not explicitly set.
Add a target check for RISC-V to support compilation on RP2350 hardware
in RISC-V mode. Compilation currently fails due to pico-sdk errors,
similar to issues encountered on RP2040 with the new SDK versions.
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -37,9 +37,9 @@ Each example in this repository contains build and deployment instructions, howe
37
37
|[stm32-neopixel](./stm32-neopixel)| STM32F746G-DISCO | None | Control NeoPixel LEDs using SPI. | <imgwidth="300"src="https://github.com/apple/swift-embedded-examples/assets/1186214/9c5d8f74-f8aa-4632-831e-212a3e35e75a"> |
38
38
|[stm32-uart-echo](./stm32-uart-echo)| STM32F746G-DISCO | None | Echo user input using UART. | <imgwidth="300"src="https://github.com/apple/swift-embedded-examples/assets/1186214/97d3c465-9a07-4b86-9654-0c2aaaa43b3d">|
39
39
|[pico-blink](./pico-blink)| Raspberry Pi Pico | None | Blink an LED repeatedly. | <imgwidth="300"src="https://github.com/apple/swift-embedded-examples/assets/1186214/f2c45c18-f9a4-48b4-a941-1298ecc942cb"> |
40
-
|[pico-blink-sdk](./pico-blink-sdk)| Raspberry Pi Pico | Pico SDK | Blink an LED repeatedly with Swift & the Pico SDK. | <imgwidth="300"src="https://github.com/apple/swift-embedded-examples/assets/1186214/f2c45c18-f9a4-48b4-a941-1298ecc942cb"> |
40
+
|[pico-blink-sdk](./pico-blink-sdk)| Raspberry Pi Pico, Pico 2| Pico SDK | Blink an LED repeatedly with Swift & the Pico SDK. | <imgwidth="300"src="https://github.com/apple/swift-embedded-examples/assets/1186214/f2c45c18-f9a4-48b4-a941-1298ecc942cb"> |
41
41
|[pico-w-blink-sdk](./pico-w-blink-sdk)| Raspberry Pi Pico W | Pico SDK | Blink an LED to signal 'SOS' in Morse code repeatedly with Swift & the Pico SDK. | <imgwidth="300"src="https://github.com/apple/swift-embedded-examples/assets/26223064/a4949a2e-1887-4325-8f5f-a681963c93d7"> |
42
-
|[pico2-neopixel](./pico2-neopixel)| Raspberry Pi Pico2| None | Control Neopixel LEDs using the RP2350 PIO. | <imgwidth="300"src="pico2-neopixel/assets/images/example.jpg"> |
42
+
|[pico2-neopixel](./pico2-neopixel)| Raspberry Pi Pico 2| None | Control Neopixel LEDs using the RP2350 PIO. | <imgwidth="300"src="pico2-neopixel/assets/images/example.jpg"> |
43
43
|[nrfx-blink-sdk](./nrfx-blink-sdk)| nRF52840-DK | Zephyr SDK | Blink an LED repeatedly with Swift & Zephyr. | <imgwidth="300"src="https://github.com/apple/swift-embedded-examples/assets/1186214/ae3ff153-dd33-4460-8a08-4eac442bf7b0"> |
44
44
|[esp32-led-strip-sdk](./esp32-led-strip-sdk)| ESP32-C6-DevKitC-1 | ESP-IDF SDK | Control NeoPixel LEDs with Swift & the ESP-IDF. | <imgwidth="300"src="https://github.com/apple/swift-embedded-examples/assets/1186214/15f8a3e0-953e-426d-ad2d-3902baf859be"> |
45
45
|[esp32-led-blink-sdk](./esp32-led-blink-sdk)| ESP32-C6-Bug | ESP-IDF SDK | Blink an LED repeatedly with Swift & the ESP-IDF. | <imgwidth="300"src="esp32-led-blink-sdk/assets/images/ledon.jpg"> |
$ export PICO_TOOLCHAIN_PATH='<path-to-the-arm-toolchain>'# A default `brew` install will be located at `/Applications/ArmGNUToolchain/[version]/arm-none-eabi`
0 commit comments