Will this work for Auto-Flashing and Testing #BL602 via a Linux SBC? Let's find out 🤔
https://github.com/lupyuen/remote-bl602/blob/main/scripts/test.sh
Let's Auto-Flash & Test the Daily Upstream Build of Apache #NuttX OS ... Auto-Built & Published by GitHub Actions
https://github.com/lupyuen/remote-bl602/blob/main/scripts/test.sh#L17-L21
https://github.com/lupyuen/incubator-nuttx/blob/master/.github/workflows/bl602.yml#L82-L112
Connect SBC to PineCone #BL602 at the Reset and GPIO 8 Pins ... So that we control BL602's Flashing Mode via SBC
https://github.com/lupyuen/remote-bl602/blob/main/scripts/test.sh
Here's how we configure our #NuttX Build in GitHub Actions ... To enable errors, warnings, info messages and assertions
https://github.com/lupyuen/incubator-nuttx/blob/master/.github/workflows/bl602.yml#L59-L63
Here's how we enable #LoRaWAN for our #NuttX Build in GitHub Actions ... Let's do Automated NuttX Testing with LoRaWAN! 👍
https://github.com/lupyuen/incubator-nuttx/blob/master/.github/workflows/bl602-commit.yml#L91-L200
We update #BL602 Auto Flash & Test to send the "lorawan_test" command ... Which will start the LoRaWAN Test on #NuttX OS
https://github.com/lupyuen/remote-bl602/blob/main/scripts/test.sh#L108-L111
If #BL602 Auto-Test successfully joins a #LoRaWAN Network ... Means that everything is super hunky dory on Apache #NuttX OS ... GPIO Input / Output / Interrupt, SPI, Timers, Message Queues, PThreads AND Strong Random Number Generator! 👍
https://github.com/lupyuen/remote-bl602/#output-log-for-release-build
What are these addresses in the #NuttX Stack Trace? Let's do Auto Crash Analysis for #BL602 ... And see the Source Code for the Stack Trace
https://github.com/lupyuen/remote-bl602/#output-log-for-upstream-build
Our Crash Analysis Script finds #BL602 Code Addresses in the Output Log ... And shows the matching Source Code from the #NuttX RISC-V Disassembly ... Which was auto-generated by GitHub Actions
https://github.com/lupyuen/remote-bl602/blob/main/scripts/test.sh#L129-L152
Now our Crash Analysis Script shows the matching Source Code whenever #NuttX crashes 👍
https://github.com/lupyuen/remote-bl602/#output-log-for-upstream-build
We also match up the Data Addresses in the #NuttX Stack Trace with the RISC-V Disassembly ... Not very interesting now, might be useful later
https://github.com/lupyuen/remote-bl602/#output-log-for-upstream-build
Merged a huge bunch of #NuttX Upstream Updates ... LoRaWAN still works great! 🎉 Testing upstream updates is so much easier with #BL602 Auto Flash & Test 👍
Here's how we read #BL602's Internal Temperature Sensor ... And add the data to the Entropy Pool in #NuttX OS ... To create truly random LoRaWAN Nonces
https://github.com/lupyuen/lorawan_test/blob/main/lorawan_test_main.c#L772-L797
#NuttX now generates different #LoRaWAN Nonces for every #BL602 Flash & Test ... And the Join Network Request always succeeds! 🎉
https://github.com/lupyuen/incubator-nuttx/releases/tag/release-2022-01-19
Auto Flash and Test on #BL602 is really helpful for picking a Stable Daily Build of #NuttX for BL602 ... So I can test it as I write my NuttX articles 👍
https://github.com/lupyuen/remote-bl602