I have made a Raspberry Pi Zero 2 powered handheld console for my University project. Deadlines made me use a case that partially failed to print and I had a lot of trouble with... well... everything - but I've learned a few things and even got to write a C program that would read analog values from ADC through I2C and interacts with GPIO - without any libraries.