add "hello_nim" example application written in Nim.#1597
add "hello_nim" example application written in Nim.#1597jerpelea merged 1 commit intoapache:masterfrom
Conversation
|
Please fix the nxstyle error reported here: |
|
@xiaoxiang781216 |
|
Fxing "Mixed case identifier found" is optional since the mixed case can't avoid completely in some context. Anyway, you can add NimMain to the white list here: https://github.com/apache/nuttx/blob/master/tools/nxstyle.c#L500 |
|
Thank you very much. |
|
Sure. |
Signed-off-by: Takeyoshi Kikuchi <kikuchi@centurysys.co.jp>
736755d to
0a3c1c5
Compare
|
Thank you for merging the changes on the OS side. |
|
Let's see the style check report. |
Summary
Added sample application in Nim language
Impact
It allows you to create applications in the Nim language, which can be easily integrated with the C language so that you can use NuttX features in Nim right away.
Testing
Tested on sim, arm Cortex-A5, Cortex-M4.
This example uses async/await, which requires the following items to be enabled
important:
I am sending out a pull request to clear Nim's asyncdispatch module global dispatcher at the end of the task.
nim-lang/Nim#21432
Until this accepted, the second and subsequent runs will fail.