Open naknut opened 2 weeks ago
reproduced this!
I'm getting an error even before that, from https://github.com/apple/swift-embedded-examples/blob/2b93644fc4cca46c48e8da3023746c8d9e26007e/nrfx-blink-sdk/CMakeLists.txt#L15
sed 's/;$$/'
seems it's missing the closing /?
And sed -e 's/\\\(.*\\\)/-Xcc \\1/g' \
is missing a -D ?
I'm hoping to replace the cmake in this example with the native CMake Swift support added in 3.29. @etcwilde and I started this today and I'll hopefully find time next week to finish it up
@naknut @jmarcelino could you try the update-nrfx-cmake
branch of this repo? It should resolve the issue
Yeah it's building now! Can't find my board to try and flash it though, but I can verify that it builds! Thanks!
Thanks so much @rauhul the example compiles well now but for some reason it's crashing my board, even JLInk stops after I upload the firmware. Fortunately running nrfjprog --recover in a loop while power cycling gets things back under control - but usually a sign the firmware is misbehaving.
I'm not using the NRF52840-DK though I'm using the rak4631 which is a nRF52840 + LoRa, but it is a board supported by Zephyr and the Zephyr Blinky works well. led0 is correctly defined to be the user led.
Will try to figure out more over the next few days.
Getting it to compile cleanly is already great, I'm quite new to this tooling. Thanks for that.
Maybe @kubamracek has some ideas but I unfortunately dont have an actual board to test against, so any deductions you're able to come to would be super helpful.
I'll test this out on Monday
I just found my board and tried to run it. It seems to be crashing for me too. Its gets written to the board successfully but the LED never starts blinking. This is done on a nRF52840-DK
Hi! I have been following the instructions for the
nrfx-blink-sdk
sample but when I runcmake --build build
I get the following error. From what I understand it seems like theinttypes.h
header is not in the toolchain? It looks like its trying to use the development toolchain I downloaded from June 11.