20 Mar 2023 |
Yepoleb#6459 | and /usr/lib/x86_64-linux-gnu/libclang.so links to /usr/lib/x86_64-linux-gnu/libclang-14.so and clang --version is 14.0.6 | 21:40:24 |
djazz#0147 | readelf -d opir returns the same? | 21:40:28 |
djazz#0147 | well | 21:40:29 |
djazz#0147 | libclang.so | 21:40:31 |
djazz#0147 | ~/.nimble/bin/opir | 21:40:32 |
Yepoleb | yes | 21:45:50 |
Yepoleb | opir is linked with libclang-14.so.13, maybe it followed the symlink to the end | 21:46:36 |
Yepoleb | or readelf resolves it | 21:46:44 |
pmunch | Then I've got no idea what causes it. Might be a bug with Opir unfortunately | 21:56:37 |
Yepoleb#6459 | djazz can i disable everything that needs futhark? compilation worked fine before i switched to pico_w | 22:02:58 |
djazz#0147 | well, the wifi stuff is wrapped using it | 22:03:03 |
Yepoleb#6459 | i just want the led to blink | 22:03:05 |
djazz#0147 | hmm | 22:03:07 |
djazz#0147 | the led is connected to the wifi chip | 22:03:09 |
Yepoleb#6459 | oh, that's an interesting design decision lol | 22:03:10 |
djazz#0147 | cyw43_arch.nim imports the cyw43_driver which imports lwip | 22:03:11 |
djazz#0147 | yeah, they added wifi by using the led pin to the wifi chip, and the wifi chip had a spare gpio to use for led instead | 22:03:12 |
djazz#0147 | cyw43 lite:
import picostdlib
{.push header: "pico/cyw43_arch.h".}
proc cyw43ArchInit*(): PicoErrorCodes {.importc: "cyw43_arch_init".}
proc cyw43ArchDeinit*() {.importc: "cyw43_arch_deinit".}
proc cyw43ArchGpioPut*(wlGpio: Cyw43WlGpio; value: Value) {.importc: "cyw43_arch_gpio_put".}
proc cyw43ArchGpioGet*(wlGpio: Cyw43WlGpio): Value {.importc: "cyw43_arch_gpio_get".}
{.pop.} | 22:03:33 |
djazz#0147 | try that heh | 22:03:45 |
Yepoleb#6459 | what type is Value ? | 22:09:19 |
djazz#0147 | High or Low | 22:10:57 |
djazz#0147 | before it was true or false | 22:11:06 |
Yepoleb#6459 | omg it's blinking | 22:12:19 |
Yepoleb#6459 | thank you ❤️ | 22:12:27 |
djazz#0147 | ayye | 22:12:44 |
Yepoleb#6459 | after 9 years in development, it was worth the wait | 22:13:25 |
djazz#0147 | xD | 22:13:31 |
| edf joined the room. | 22:17:04 |
Yepoleb#6459 | That's enough pico for today though | 22:17:41 |
Yepoleb#6459 | I was not prepared for how difficult it would be | 22:18:15 |