Skip to content

Commit 8993074

Browse files
committed
Sleep when silence, fix waking from sleep, add wifi management portal when wifi not configured/can't connect
1 parent 5431bbc commit 8993074

29 files changed

+9384
-120
lines changed

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"idf.pythonInstallPath": "C:\\Espressif\\tools\\idf-python\\3.11.2\\python.exe",
3+
"files.associations": {
4+
"git_diff": "cpp"
5+
}
6+
}

fuck

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
Checking Python compatibility
2+
Setting IDF_PATH: c:\Espressif\frameworks\esp-idf-master
3+
4+
Adding ESP-IDF tools to PATH...
5+
C:\Espressif\tools\xtensa-esp-elf-gdb\14.2_20240403\xtensa-esp-elf-gdb\bin
6+
C:\Espressif\tools\riscv32-esp-elf-gdb\14.2_20240403\riscv32-esp-elf-gdb\bin
7+
C:\Espressif\tools\xtensa-esp-elf\esp-13.2.0_20240530\xtensa-esp-elf\bin
8+
C:\Espressif\tools\riscv32-esp-elf\esp-13.2.0_20240530\riscv32-esp-elf\bin
9+
C:\Espressif\tools\esp32ulp-elf\2.38_20240113\esp32ulp-elf\bin
10+
C:\Espressif\tools\cmake\3.24.0\bin
11+
C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20240318\openocd-esp32\bin
12+
C:\Espressif\tools\ninja\1.11.1\
13+
C:\Espressif\tools\idf-exe\1.0.3\
14+
C:\Espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64
15+
C:\Espressif\tools\dfu-util\0.11\dfu-util-0.11-win64
16+
17+
Checking if Python packages are up to date...
18+
Python requirements are satisfied.
19+
Constraint file: C:\Espressif\espidf.constraints.v5.4.txt
20+
Requirement files:
21+
- c:\Espressif\frameworks\esp-idf-master\tools\requirements\requirements.core.txt
22+
Python being checked: C:\Espressif\python_env\idf5.4_py3.11_env\Scripts\python.exe
23+
24+
Done! You can now compile ESP-IDF projects.
25+
Go to the project directory and run:
26+
27+
idf.py build
28+
29+
Executing action: all (aliases: build)
30+
Running ninja in directory C:\Users\Nathan\Documents\GitHub\esp32-scream-receiver\build
31+
Executing "ninja all"...
32+
[1/10] Performing build step for 'bootloader'
33+
[1/1] cmd.exe /C "cd /D C:\Users\Nathan\Documents\GitHub\esp32-scream-receiver\build\bootloader\esp-idf\esptool_py && C:\Espressif\python_env\idf5.4_py3.11_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-master/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 C:/Users/Nathan/Documents/GitHub/esp32-scream-receiver/build/bootloader/bootloader.bin"
34+
Bootloader binary size 0x5830 bytes. 0x27d0 bytes (31%) free.
35+
[2/8] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/network.c.obj
36+
[3/8] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/web_server.c.obj
37+
C:/Users/Nathan/Documents/GitHub/esp32-scream-receiver/main/web_server.c:20:21: warning: 's_dns_netif' defined but not used [-Wunused-variable]
38+
20 | static esp_netif_t *s_dns_netif = NULL;
39+
| ^~~~~~~~~~~
40+
[4/8] Linking C static library esp-idf\main\libmain.a
41+
[5/8] Generating ld/sections.ld
42+
[6/8] Linking CXX executable usb_audio_player.elf
43+
[7/8] Generating binary image from built executable
44+
esptool.py v4.8.dev4
45+
Creating esp32s3 image...
46+
Merged 2 ELF sections
47+
Successfully created esp32s3 image.
48+
Generated C:/Users/Nathan/Documents/GitHub/esp32-scream-receiver/build/usb_audio_player.bin
49+
[8/8] cmd.exe /C "cd /D C:\Users\Nathan\Documents\GitHub\esp32-scream-receiver\build\esp-idf\esptool_py && C:\Espressif\python_env\idf5.4_py3.11_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-master/components/partition_table/check_sizes.py --offset 0x8000 partition --type app C:/Users/Nathan/Documents/GitHub/esp32-scream-receiver/build/partition_table/partition-table.bin C:/Users/Nathan/Documents/GitHub/esp32-scream-receiver/build/usb_audio_player.bin"
50+
usb_audio_player.bin binary size 0xe9eb0 bytes. Smallest app partition is 0x100000 bytes. 0x16150 bytes (9%) free.
51+
52+
Project build complete. To flash, run:
53+
idf.py flash
54+
or
55+
idf.py -p PORT flash
56+
or
57+
python -m esptool --chip esp32s3 -b 460800 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 4MB --flash_freq 80m 0x0 build\bootloader\bootloader.bin 0x8000 build\partition_table\partition-table.bin 0x10000 build\usb_audio_player.bin
58+
or from the "C:\Users\Nathan\Documents\GitHub\esp32-scream-receiver\build" directory
59+
python -m esptool --chip esp32s3 -b 460800 --before default_reset --after hard_reset write_flash "@flash_args"

fuck2

Lines changed: 472 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)