project-81 / workspace

A container for all organization projects.
1 stars 0 forks source link

Develop strategy for beginning to work with hardware #7

Closed vkottler closed 1 year ago

vkottler commented 1 year ago

There are two classes of hardware that can be interacted with:

We ideally come up with workflows for both.

Tasks

vkottler commented 1 year ago

It might make more sense to just continue work on: https://github.com/vkottler/console/issues/4

vkottler commented 1 year ago

Need to look into MicroPython and CircuitPython (and whatever else the XAIO RP2040 supports?).

Taking some notes here: https://github.com/project-81/workspace/wiki/Sensors-and-Electronics-Brainstorming

vkottler commented 1 year ago

https://github.com/compuphase/Black-Magic-Probe-Book

vkottler commented 1 year ago

https://wiki.segger.com/Raspberry_Pi_RP2040

vkottler commented 1 year ago

Need to try building https://github.com/neovim/neovim from source on the Pi 2's, need to see if we need to do this on the 3 as well.

vkottler commented 1 year ago

Was able to build neovim on all of the pi's. next would be to try out bootstrapping on the BeagleBone boards. Need to get some more SD cards for that

vkottler commented 1 year ago

Look into a setup where we can provision via command-line https://github.com/raspberrypi/rpi-imager/tree/qml#telemetry

vkottler commented 1 year ago

We should experiment with: https://github.com/RPi-Distro/pi-gen

See if we can get certain things pre-built into the distro. looks like Raspberry Pi Zero is crashing when trying to compile neovim

vkottler commented 1 year ago

After installing neovim (whether built from source or not), we should run plug install

vkottler commented 1 year ago

We want to get neopixels working on the pico with this: https://github.com/blaz-r/pi_pico_neopixel/tree/main

vkottler commented 1 year ago

https://docs.micropython.org/en/latest/rp2/quickref.html#neopixel-and-apa106-driver wondering if the "neopixel" is the same thing as the LEDs on the LED strip(s)

vkottler commented 1 year ago

need to read more about the PIO module

vkottler commented 1 year ago

Would be neat to use Python to figure out some ELF parsing and manipulation.

Need to look into the C ABI as well, it would be cool to be able to generate instructions / functions from Python (or even just C code that needs to be compiled)

https://developer.arm.com/documentation/den0013/d/Application-Binary-Interfaces

vkottler commented 1 year ago

Might be a good time to start working with Rust?

vkottler commented 1 year ago

Got Rust installed via the bootstrapping stuff.

vkottler commented 1 year ago

Need to look into how to get micropython files to be saved in flash / run on boot. We have a script to reboot to bootloader from the Python which is pretty legit

vkottler commented 1 year ago

Overall made a massive amount of progress. Defer the rest of things to: