User Tools

Site Tools


nyan:pi_config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nyan:pi_config [2024/07/26 21:22] rivernyan:pi_config [2024/07/27 20:27] (current) – [openocd] river
Line 13: Line 13:
   * /etc/network/interfaces - to assign an IP to wlan0   * /etc/network/interfaces - to assign an IP to wlan0
   * dnsmasq - to provide dhcp server and dns server on wlan0 to the ESP.   * dnsmasq - to provide dhcp server and dns server on wlan0 to the ESP.
-  * Not done - routing / NAT. ESP probably doesn't need to / shouldn't? talk to the internet.+  * Not done - routing / NAT. ESP probably doesn't need to / shouldn't? talk to the internet. EDIT: Now done with ufw. The ESPs use ntp and might want to connect to an NMEA tcp server for testing.
  
 I tried using NetworkManager for this first but it didn't work. May have been a firewall issue actually, but hostapd working now anyway. NetworkManager also has very limited configuration options. I tried using NetworkManager for this first but it didn't work. May have been a firewall issue actually, but hostapd working now anyway. NetworkManager also has very limited configuration options.
Line 42: Line 42:
  
 I built the esp32 version of openocd from source. I built the esp32 version of openocd from source.
-I installed these dependencies - not all needed just for ESP32.+ 
 +I installed these dependencies - not all needed just for ESP32:
  
 ''apt install libhidapi-dev libgpiod-dev'' ''apt install libhidapi-dev libgpiod-dev''
  
-platformio does a shoddy job of ESP32 support. gdb is out of date and doesn't work. ''espefuse.py'' tool doesn't work. Instead I installed the latest esp idf straight from Espressif, following their instructions.+''./configure --enable-sysfsgpio --enable-bcm2835gpio --enable-linuxgpiod --enable-cmsis-dap'' 
 + 
 +==== ESP IDF ====
  
 +platformio does a shoddy job of ESP32 support. gdb is out of date and doesn't work. ''espefuse.py'' tool doesn't work. Instead I installed the latest ESP IDF straight from Espressif, following their instructions.
  
nyan/pi_config.1722028951.txt.gz · Last modified: 2024/07/26 21:22 by river

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki