setup everything for the vibe

This commit is contained in:
Ricardo (XenGi) Band 2026-07-11 11:09:15 +02:00
commit 6ea40b3134
No known key found for this signature in database
9 changed files with 42 additions and 14 deletions

19
Containerfile Normal file
View file

@ -0,0 +1,19 @@
FROM node:26-trixie
VOLUME /src
#RUN apt-get update \
# && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl ca-certificates \
# && rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
RUN curl -fsSL https://pi.dev/install.sh | sh \
&& pi update \
&& pi update --extensions
RUN curl -fsSL https://nixos.org/nix/install | sh -s -- --daemon \
&& echo "max-jobs = auto" >> /etc/nix/nix.conf \
&& echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
WORKDIR /src
CMD ["pi"]

View file

@ -7,11 +7,6 @@
- [Waveshare ESP32-S3](https://www.waveshare.com/esp32-s3-lcd-1.3.htm?sku=30558) ([docs](https://www.waveshare.com/wiki/ESP32-S3-LCD-1.3))
- [W5500 Ethernet Module](https://www.az-delivery.de/en/products/w5500-ethernet-netzwerk-internet-modul-fuer-arduino)
### Integrated ethernet but w/o display
- [Olimex ESP32-POE](https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/open-source-hardware)
- [Olimex ESP32-POE-ISO](https://www.olimex.com/Products/IoT/ESP32/ESP32-POE-ISO/open-source-hardware)
## Test procedure
1. Check physical link
@ -70,3 +65,4 @@ Temperature: 42°C
2. Configure?
3. Compile
4. Flash

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,12 +1,13 @@
# GPIOs
| ESP32-S3 | W5500 |
| ------- |-------|
| GPIO12 | SCLK |
| GPIO11 | MOSI |
| GPIO13 | MISO |
| GPIO10 | SCS |
| GPIO09 | RST |
| GPIO14 | INT |
| 3V3 | 3V3 |
| GND | GND |
| -------- | ----- |
| GPIO12 | SCLK |
| GPIO11 | MOSI |
| GPIO13 | MISO |
| GPIO10 | SCS |
| GPIO09 | RST |
| GPIO14 | INT |
| 3V3 | 3V3 |
| GND | GND |

View file

@ -59,6 +59,18 @@
in
{
apps = {
run-agent = {
type = "app";
program = "${pkgs.writeShellScript "run-agent" ''
podman run -it --rm -v ./:/src -v ./models.json:/root/.pi/agent/models.json --device=/dev/ttyACM0 pidev:latest
''}";
};
build-agent = {
type = "app";
program = "${pkgs.writeShellScript "build-agent" ''
podman build -t pidev:latest -f Containerfile .
''}";
};
menuconfig = {
type = "app";
meta.description = "⚙️ Open ESP-IDF configuration menu (sdkconfig)";