Commit Graph

5 Commits

Author SHA1 Message Date
David Buzz 1c9a44c33e AP_HAL_ESP32:LOWERING the MAIN_PRIO gets a 400hz loop rate on s3 "empty" board
loop_rate: actual: 400.000000Hz, expected: 400Hz
loop_rate: actual: 400.000000Hz, expected: 400Hz
loop_rate: actual: 400.000000Hz, expected: 400Hz
[ setup esp32 build env ] 
./waf configure --board=esp32s3empty --debug
./waf copter --debug --disable-scripting --upload
 after upload:
cd build/esp32s3empty/esp-idf_build && ninja monitor && cd -
[watch console output for 2 minutes]
ctrl-right-square-bracket to stop watching console.
2024-05-29 13:12:37 +10:00
Rhys Mainwaring b97e98242b AP_HAL_ESP32: update esp32empty
- Add INS_ACC offsets to param to skip calibration for esp32empty
- Update esp32empty.h
  - Change tabs to whitespace.
  - Define HAL_INS_DEFAULT to HAL_INS_NONE
  - Update wifi details
  - Format comment in esp32empty
  - Update serial defaults and uarts
  - Use IO_MUX for UART_NUM_2 (TX 17, RX 16)
- Update scheduler
  - Disable initialisation check in timer thread if HAL_INS_NONE
  - Print main loop rate every 10s
  - Remove serial(n)->begin() calls

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-09-02 09:43:14 +10:00
Nicholas Kruzan 8967ed0ad1 AP_HAL_ESP32: idf-v4.4 updates
update wifi drivers

nick: fix build warning

In file included from ../../libraries/AP_HAL_ESP32/WiFiUdpDriver.cpp:26:
../../modules/esp_idf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
 #warning "esp_event_loop.h is deprecated, please include esp_event.h instead"

AP_HAL_ESP32: idf-v4.4 updates

AP_HAL_ESP32: sdkconfig updates
2023-05-15 10:27:25 +10:00
David Buzz 819af19007 AP_HAL_ESP32: porting in from ESP32-S3 buzz prios, stack sizes, wifi driver
improvements

ESP32: udp thread was thrashing the cpu too much,  tcp thread was delaying too much, uart shouldn't have big delay, tweak wifi priorities
2023-05-02 14:38:03 +10:00
Buzz bb8998bdef AP_HAL_ESP32: new HAL layer for esp32
see libraries/AP_HAL_ESP32/README.md for more.

Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00