After purging #ChatGPT's imaginary function and header file ... The code compiles OK on Apache #NuttX RTOS
Article: https://lupyuen.github.io/articles/chatgpt?2#fix-the-code
We corrected the #ChatGPT code ... Let's test it on Apache #NuttX RTOS with #QEMU Emulator
Article: https://lupyuen.github.io/articles/chatgpt?3#build-and-run-nuttx
#ChatGPT's sample code fails with a weird error on Apache #NuttX RTOS ... Let's find out why
Article: https://lupyuen.github.io/articles/chatgpt?3#nsh-fails-to-start
"argv" in Apache #NuttX task_create() works a little differently ... #ChatGPT made the same newbie mistake as me! 😲
Article: https://lupyuen.github.io/articles/chatgpt?4#fix-the-task-arguments
#ChatGPT recommends "nsh_main" for creating a #NuttX NSH Task ... But we use "nsh_consolemain" instead
Article: https://lupyuen.github.io/articles/chatgpt?5#nsh-function
Here's the final code that runs OK on Apache #NuttX RTOS ... After lots of scrubbing on #ChatGPT's code
Article: https://lupyuen.github.io/articles/chatgpt?6#correct-code
#ChatGPT forgets that Apache #NuttX RTOS is based on POSIX ... Here's the better POSIX way to start a task
Article: https://lupyuen.github.io/articles/chatgpt?6#correct-code
#ChatGPT will generate various answers to our question on Apache #NuttX RTOS ... And it might get stuck 🤔
Article: https://lupyuen.github.io/articles/chatgpt?7#other-attempts
Will #ChatGPT make Teaching obsolete? Not if we teach real things ... The creative way!
Article: https://lupyuen.github.io/articles/chatgpt?88#other-attempts
#ChatGPT will gladly answer questions about Apache #NuttX RTOS! But the answers aren't always correct ... Let's find out why
https://lupyuen.github.io/articles/chatgpt