CMD

Results 41 comments of CMD

> @iCMDdev our hack solution in the other examples is to use inline asm from a c header to expose `nop` as a function you can call in loop. Yeah,...

@rauhul Great news: I confirmed it works!!! I made the follwing changes (for the Pi 5 example, Pi 4 should be similar): ```Swift // Support.h #pragma once static inline __attribute((always_inline))...

Seems related to the Espressif SDK, did you install it properly? Does ESP-IDF work fine for you? Also, based on the paths, I think you're referring to the [swift-matter-examples](https://github.com/apple/swift-matter-examples) repo.

I think I finally figured it out, at least partially. It seems that `add_dependencies(swift-blinky swift-blinky-swiftcode)` in `CMakeLists.txt` causes it. Removing it fixes the issue for me, but I'm not sure...

I also opened this issue on the Pico SDK repo: raspberrypi/pico-sdk#1917.

After discussing this issue on the Pico SDK repo I realized this is caused by not passing the Pico SDK compiler definitions to `swiftc`. This is because Pico SDK doesn't...

I also managed to run the pico-blink-sdk example on the RP2350 RISC-V cores using this, but it currently depends on an SDK change (raspberrypi/pico-sdk#1922). To make it work, I've also...

The Pico SDK issue was fixed, and the PR was merged to the SDK develop branch. It will be released in the master branch with SDK version 2.0.1.

> I also have this working for a pico_w but target_link_libraries requires the following additions: > > target_link_libraries(swift-blinky > > pico_stdlib hardware_uart hardware_gpio pico_lwip_arch pico_cyw43_arch_none > > ) > >...

> For the CMakeLists yes, but the Main.swift files are rather different. Oh right, forgot about that.