Sync with sample stuffing (#69)
* upgrade to IDF v5.1.1
* add new synchronization implementation, use sample stuffing / removal to keep up sync
* use big DMA buffer for I2S and improve sync
* Add DAC TAS5805M as custom board
* add wifi credential reset
o press reset button (nRESET pin) 3 times
but wait about 1s between button presses
the button press counter is reset 5s after boot
* Add support for PT8211 DAC (#78)
* upgrade ethernet interface to IDF v5 (#84)
* port official example of ethernet for IDF v5.x
* Fix cmake if guard for ethernet
Signed-off-by: Karl Osterseher <karli_o@gmx.at>
Co-authored-by: DerPicknicker <64746593+DerPicknicker@users.noreply.github.com>
Co-authored-by: whc2001 <ianwang0122@outlook.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
fd701a1ead
commit
fae271186c
@@ -12,7 +12,7 @@ No need to install ESP-IDF or anything else. All commands should be run in proje
|
||||
### Start an interactive IDF environnement
|
||||
In this interactive shell you can run menuconfig, build, flash and monitor command.
|
||||
```
|
||||
docker run --rm -it -v .:/project -w /project -v /dev:/dev --privileged espressif/idf:v4.3.5
|
||||
docker run --rm -it -v .:/project -w /project -v /dev:/dev --privileged espressif/idf:v5.1.1
|
||||
```
|
||||
|
||||
### Configure
|
||||
@@ -37,12 +37,12 @@ Exit docker interactive shell: `exit`
|
||||
If you want to execute a specific command or to generate a reusable .bin file.
|
||||
### menuconfig
|
||||
```
|
||||
docker run --rm -it -v .:/project -w /project espressif/idf:v4.3.5 idf.py menuconfig
|
||||
docker run --rm -it -v .:/project -w /project -v /dev:/dev --privileged espressif/idf:v5.1.1 idf.py menuconfig
|
||||
```
|
||||
|
||||
### Build
|
||||
```
|
||||
docker run --rm -it -v .:/project -w /project espressif/idf:v4.3.5 idf.py build
|
||||
docker run --rm -it -v .:/project -w /project -v /dev:/dev --privileged espressif/idf:v5.1.1 idf.py build
|
||||
```
|
||||
|
||||
### Flash
|
||||
@@ -50,9 +50,24 @@ Mapping of serial port to container is not simple in windows but you can merge a
|
||||
- [ESP Tool web flasher](https://espressif.github.io/esptool-js/)
|
||||
- [ESP32 Flash Download tool](https://www.espressif.com/en/support/download/other-tools)
|
||||
|
||||
On MacOS / Linux you need to install a small python package, make sure that pip is installed on your machine:
|
||||
|
||||
```
|
||||
pip install esptool
|
||||
```
|
||||
After installation you can start the SerialServer with this command:
|
||||
```
|
||||
esp_rfc2217_server.py -v -p 4000 dev/serialDevice
|
||||
```
|
||||
|
||||
Create now a new terminal run the docker container and flash it using this command:
|
||||
```
|
||||
idf.py --port 'rfc2217://host.docker.internal:4000?ign_set_control' flash monitor
|
||||
```
|
||||
|
||||
#### Merge bins into single firmware bin file
|
||||
```
|
||||
docker run --rm -it -v .:/project -w /project/build espressif/idf:v4.3.1 //runs terminal in idf container
|
||||
docker run --rm -it -v .:/project -w /project -v /dev:/dev --privileged espressif/idf:v5.1.1 //runs terminal in idf container
|
||||
|
||||
esptool.py --chip esp32 merge_bin --output firmware.bin @flash_args // merges all bin files into firmware.bin
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user