Re: [PR] examples: Refactoring bindings examples [nuttx-apps]

2024-08-25 Thread via GitHub
xiaoxiang781216 merged PR #2534: URL: https://github.com/apache/nuttx-apps/pull/2534 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...

Re: [PR] examples: Refactoring bindings examples [nuttx-apps]

2024-08-25 Thread via GitHub
kassane commented on PR #2534: URL: https://github.com/apache/nuttx-apps/pull/2534#issuecomment-2308971221 @lupyuen , curiosity example using Swift embedded. > [!NOTE] > Curious note regarding leds_swift. > >Having completed the zig example. I have taken the time and concepts

Re: [PR] examples: Refactoring bindings examples [nuttx-apps]

2024-08-25 Thread via GitHub
kassane commented on PR #2534: URL: https://github.com/apache/nuttx-apps/pull/2534#issuecomment-2308907902 New zig example added - using `global_allocator`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above

Re: [PR] examples: Refactoring bindings examples [nuttx-apps]

2024-08-24 Thread via GitHub
kassane commented on PR #2534: URL: https://github.com/apache/nuttx-apps/pull/2534#issuecomment-2308609883 > @kassane sorry I missed this, wonder if it might be better to blink the LED like [leds_rust](https://lupyuen.github.io/articles/rust6#blink-the-led), instead of doing GPIO? Fo

Re: [PR] examples: Refactoring bindings examples [nuttx-apps]

2024-08-24 Thread via GitHub
lupyuen commented on PR #2534: URL: https://github.com/apache/nuttx-apps/pull/2534#issuecomment-2308608399 @kassane sorry I missed this, wonder if it might be better to blink the LED like [leds_rust](https://lupyuen.github.io/articles/rust6#blink-the-led), instead of doing GPIO? That

Re: [PR] examples: Refactoring bindings examples [nuttx-apps]

2024-08-24 Thread via GitHub
kassane commented on PR #2534: URL: https://github.com/apache/nuttx-apps/pull/2534#issuecomment-2308492219 ### WiP ```bash USAGE: gpio_zig [-t ] [-w ] [-o ] gpio_zig -h Where: : The full path to the GPIO pin driver. -t : Change the pin t

Re: [PR] examples: Refactoring bindings examples [nuttx-apps]

2024-08-23 Thread via GitHub
xiaoxiang781216 commented on PR #2534: URL: https://github.com/apache/nuttx-apps/pull/2534#issuecomment-2308032364 @kassane please fix ci warning: ``` Error: /home/runner/work/nuttx-apps/nuttx-apps/apps/examples/hello_d/nuttx_std.c:2:1: error: Relative file path does not match actual

Re: [PR] examples: Refactoring bindings examples [nuttx-apps]

2024-08-23 Thread via GitHub
kassane commented on PR #2534: URL: https://github.com/apache/nuttx-apps/pull/2534#issuecomment-2307768297 About Zig's progress. Of all these languages that have internal or external facilities for interoperability with C (some C++ too) zig proves to be very practical, providing buil

[PR] examples: Refactoring bindings examples [nuttx-apps]

2024-08-23 Thread via GitHub
kassane opened a new pull request, #2534: URL: https://github.com/apache/nuttx-apps/pull/2534 ## Summary Refactoring Zig and D examples ## Impact This refactoring involves giving a better understanding of the usefulness of certain examples. If these tools don't have a