05-17-2023, 02:56 AM
(05-16-2023, 09:16 PM)lupyuen Wrote: When we tilt our Smartphone from Portrait to Landscape... How does it know that we're tilting our phone?
I just started looking at NuttX yesterday

Yesterday I was trying to setup the build environment for NuttX (I am running an older macos). I had a couple issues with the instructions from the apache site, specifically getting kconfig-frontends installed. (even the original site seemed to be down.) Anyway I seem to have solved that one now, but hit another problem running 'make'. The sub packages need a TOPDIR value that seemed to be blank on macos. I ended up changing Unix.mk with:
Code:
TOPDIR := $(shell echo "$${PWD// /\\ }")
but that just shifted the error:
Code:
make[1]: *** No rule to make target 'context'. Stop.
make: *** [tools/Unix.mk:445: libs/libm/.context] Error 2
The good news is I tried another of your tutorial type articles regarding the lvgl patching of 'jumpdrive' and this boots on the PinePhone!


Code:
/bin/bash: aarch64-none-elf-gcc: command not found
but maybe the environment got confused trying to build two different downloads of nuttX. Anyway looking forward to seeing more of your articles. Any plans to investigate the OpenGL/OpenVG parts of the SoC? Maybe I can try that when I am up and running. I am also Zig based, so you gave me a good starting point
