mirrexagon / nixpkgs-esp-dev

Nix flake and overlay for ESP8266 and ESP32 development.
Creative Commons Zero v1.0 Universal
115 stars 52 forks source link

Draft: Initial attempt at macos support #38

Closed wlcx closed 4 months ago

wlcx commented 5 months ago

Initial go at adding support for other platforms.

33

tastycode commented 4 months ago

This appears to work. When i check out wlcx:other-platforms and run nix develop ".#esp32-idf". I get a shell, which is farther than i got after 2 hours of trying to get the repo's shell.nix example to work as a flake.

i originally went down the route of esp-idf after seeing some GUI mentioned in the nimBLE repo. I was curious about it then I saw how involved it was to setup esp-idf so i thought there might be a nix setup to make it easier. The program i was trying to run is "menuconfig", but when i try to run it, i get

bash-5.2$ menuconfig
/nix/store/w2ic8d5f5cw2kj03dg5kjqys0sfz0acr-python3.11-kconfiglib-14.1.0/bin/menuconfig: [Errno 2] No such file or directory: 'Kconfig'

seems like you did great work though! I hadn't gotten a nix command to run succesfully in hours until i tried your fork.

wlcx commented 4 months ago

You might wanting idf.py menuconfig ?