Spresenseで #NuttX のpthreadsを使用しマルチスレッドを学ぶ #4 〜条件変数で【タイムアウト付き】条件待ちする〜
#Linux on Mobile Weekly Update
Capyloon's web-based OS is now available for mainline #Linux phones (PinePhone Pro and Librem 5)
After every ST7789 SPI Transfer on #BL602 #NuttX, we revert MISO from GPIO Pin back to SPI Pin ... In case other drivers need MISO
https://github.com/lupyuen/incubator-nuttx/blob/st7789/arch/risc-v/src/bl602/bl602_spi.c#L414-L454
To flip the ST7789 Data / Command Pin on #BL602 #NuttX: We reconfigure SPI MISO as a GPIO Pin ... On the fly!
https://github.com/lupyuen/incubator-nuttx/blob/st7789/arch/risc-v/src/bl602/bl602_spi.c#L678-L731
"Chinese Is A Rich Language" (Singapore)
Making strange changes to #BL602 #NuttX SPI Driver ... Hope this works for ST7789 Display 🙏
https://github.com/lupyuen/incubator-nuttx/blob/st7789/arch/risc-v/src/bl602/bl602_spi.c#L678-L729
Created a battery "emulator" for my Pinephone (Pro) so that I can measure the power/current it consumes.
https://blog.talpa.dk/posts/who-needs-a-battery/
Initial measurements seems to indicate around 30-50mA in suspend.
(@ roughly 4.2V, with a too soft supply voltage)
On Mobian (unstable) and Tow-Boot, without a SIM card in the phone.
"It’s hard to be a moral person. Technology is making it harder" (2021)
https://www.vox.com/the-highlight/22585287/technology-smartphones-gmail-attention-morality
Managing several Displays with the Multi-Screen Window Placement API (JavaScript)
Here's the SPI Problem on #BL602 #NuttX: SPI Poll Exchange works OK ... But if we call SPI Poll Send (instead of Poll Exchange), the SPI Port is not configured ... And the function hangs!
I'll submit this PR to NuttX soon https://github.com/lupyuen/incubator-nuttx/pull/42
Dyson opens new global HQ in Singapore
Dongshan Nezha STU devkit features Allwinner D1 #RISCV SoM/SBC
#BL602 #NuttX SPI Driver has a glaringly obvious bug ... Can you spot it? 🤔
Hint: Both SPI Functions are exposed to NuttX Apps
https://github.com/apache/incubator-nuttx/blob/master/arch/risc-v/src/bl602/bl602_spi.c#L763-L930
"The end of the nice GTK button" (libadwaita)
Portenta X8 is the first #Linux Arduino board
https://www.cnx-software.com/2022/03/24/portenta-x8-linux-arduino-board/
IoT Techie and Educator / Apache NuttX PMC