eeeck
e20c90a021
Change define names
2025-10-24 22:54:46 +02:00
eeeck
cb708d72f7
Create Wi-Fi task
2025-10-24 22:54:13 +02:00
eeeck
e986120e66
Fix Wi-Fi config assignment error
2025-10-24 22:48:57 +02:00
eeeck
12be9a6141
Add watchdog library
2025-10-24 22:47:06 +02:00
eeeck
1c7cf84ece
Fix designated initializer issue
2025-10-24 22:23:34 +02:00
eeeck
a7385654f4
Refactor Wi-Fi task to use event groups
2025-10-24 22:22:40 +02:00
eeeck
b54d3c744c
Update libraries
2025-10-24 22:04:04 +02:00
eeeck
6582872ed0
Refactor Wi-Fi initialization and connection with event groups
2025-10-24 21:55:47 +02:00
eeeck
969fda6ad4
Refactor wifi initialization with event groups
2025-10-24 21:04:32 +02:00
eeeck
1aa2ebbadc
Define event group
2025-10-24 20:39:52 +02:00
eeeck
be7234f621
Add logs
2025-10-15 13:38:51 +02:00
eeeck
eb897dca9e
Reinitialize WDT at runtime
...
- This is needed because of some issues when compiling without using
menuconfig. Maybe there is a way to do this modifying sdkconfig.defaults
when still inside Docker
2025-10-15 13:38:05 +02:00
eeeck
d49c69f647
Add error check
2025-10-14 23:32:27 +02:00
eeeck
ebee1553ae
Increase max frequency to match ESP32-C3 processor
2025-10-14 23:31:13 +02:00
eeeck
60c6a19f13
FIx build script with correct implementation for flashing firmware
2025-10-14 23:29:02 +02:00
eeeck
fafd6a9a7a
Directory restructure
2025-10-12 20:39:51 +02:00
eeeck
2b86ff133c
Remove trailing whitespace
2025-10-12 13:53:39 +02:00
eeeck
a1f687e644
Add wifi-credentials.h with SSID, password and auth defines
2025-10-12 00:58:59 +02:00
eeeck
6f37e0d420
Add volatile to include
2025-10-12 00:54:08 +02:00
eeeck
4be663e688
Update build script to use modern esptool and correct firmware paths
2025-10-11 23:46:57 +02:00
eeeck
95ee47386d
Fix WiFi configuration initialization and add proper logging
2025-10-11 23:46:47 +02:00
eeeck
c0758b071e
Fix power management API and variable naming for ESP32-C3 compatibility
2025-10-11 23:46:33 +02:00
eeeck
4a9a3ef805
Add ESP-IDF component configuration for main directory
2025-10-11 23:46:23 +02:00
eeeck
ed7fb9fda6
Fix ESP32-C3 target configuration in Dockerfile
2025-10-11 23:46:12 +02:00
eeeck
558413df41
Add WiFi connectivity initialization and configuration functions
2025-10-11 20:17:57 +02:00
eeeck
94d2a61cad
Implement Wi-Fi task
2025-10-11 15:30:40 +02:00
eeeck
eb980d286d
Fix watchdog initialization and parameters
2025-10-11 14:15:06 +02:00
eeeck
55c11f2471
Add CMakeLists.txt for ESP32 firmware build
2025-10-11 13:08:10 +02:00
eeeck
ba590b982c
Fix build error in Dockerfile
2025-10-11 00:05:15 +02:00
eeeck
d1cf04ffdb
Allocate heap caps
2025-10-10 23:59:50 +02:00
eeeck
3dc234eecb
Configure power management
2025-10-10 23:59:39 +02:00
eeeck
3d8962b188
Initialize basic watchdog
2025-10-10 23:59:14 +02:00
eeeck
9f848dcc3f
Add Dockerfile and build script for ESP32 firmware
2025-10-10 22:30:32 +02:00
eeeck
5cce419c74
Add initial ESP32 main.cpp
2025-05-19 11:41:22 +02:00
eeeck
135823b620
Improve atmega Dockerfile apt handling
...
- Set DEBIAN_FRONTEND as an environment variable.
- Add --no-install-recommends to apt-get install.
2025-05-19 11:39:07 +02:00
eeeck
ff8f6324e5
Use deeper sleep mode to reduce current draw during idle
...
Using `SLEEP_MODE_PWR_DOWN` turns off everything (I/O, clocks, ADC etc.) except the watchdog
2025-05-19 11:37:12 +02:00
eeeck
29ecd9be17
Fix return non-zero value in main
2025-05-19 11:34:35 +02:00
eeeck
24c454aa88
Reset readSensors before sleep
2025-05-17 14:28:55 +02:00
eeeck
97d78f7c28
Remove unsed flag
2025-05-17 14:23:56 +02:00
eeeck
2a2cb42b0b
Refactor optimization flag in Makefile
...
Introduce `O_FLAG` variable for `-Os` to centralize optimization setting
for CFLAGS and LDFLAGS.
2025-05-17 14:23:22 +02:00
eeeck
906dfa91f0
Remove unused CMD from Dockerfile
2025-05-17 14:22:58 +02:00
eeeck
c03e60e56f
Add delay to let actuator pump water
2025-05-17 14:07:45 +02:00
eeeck
c7abf18736
Change data types regarding sensor readings and sensor/actuator pins from signed to unsigned
2025-05-17 13:49:37 +02:00
eeeck
d6bd1932d3
Make pumps initialization and actuation more dynamic by checking which one are declared in config.h
2025-05-17 13:10:45 +02:00
eeeck
8ad766c377
Make sensor initialization and measurement more dynamic by checking
...
which one are declared in config.h
2025-05-17 12:56:22 +02:00
eeeck
ba10840f50
Rename function
2025-05-16 09:22:34 +02:00
eeeck
64852b2a67
Add pump code to Makefile
2025-05-16 09:22:20 +02:00
eeeck
09fed73696
Add waterPlant stub and update pump usage
2025-05-15 23:39:15 +02:00
eeeck
c8c27d440c
Implement pump control via port register
2025-05-15 23:30:48 +02:00
eeeck
3973d7b41d
Initialize pumps' digital pins
2025-05-15 22:41:14 +02:00