Peter Barker
75ebef32cf
AP_HAL_ESP32: cope with HAL_WITH_DSP being false
2024-01-03 11:45:31 +11:00
Andrew Tridgell
5d1eb145cd
HAL_ESP32: implement BinarySemaphore
2024-01-03 07:37:05 +11:00
Andrew Tridgell
687c5887af
HAL_ESP32: allow for building of examples and tool firmware on ESP32
...
use waf build target to find the right library name
2023-12-31 09:55:16 +11:00
Andrew Tridgell
4b908077c2
HAL_ESP32: push S3 to 500Hz
2023-12-31 09:55:02 +11:00
Andrew Tridgell
e2f82ed9bc
HAL_ESP32: added esp32s3empty target
2023-12-31 09:55:02 +11:00
Thomas Watson
6b79349947
AP_HAL_ESP32: eliminate legacy UART ordering/references
2023-12-19 06:53:15 +11:00
Thomas Watson
574c8016c3
AP_HAL_ESP32: pass UARTs to AP_HAL in SERIALn order
2023-12-19 06:53:15 +11:00
Thomas Watson
2dbf5aefb3
AP_HAL_ESP32: introduce get_HAL_mutable() to complement get_HAL()
...
Returns a mutable reference to the same HAL for certain purposes where
the HAL needs to be mutated to avoid UB problems with casting away const
and to make the fact that mutation is happening obvious.
2023-11-28 08:24:25 +11: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
Rhys Mainwaring
fa70a56a65
AP_HAL_ESP32: change storage sector size to 128K
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-09-01 10:34:27 +10:00
Andrew Tridgell
3caf52a841
AP_HAL_ESP32: moved UART port locking up to AP_HAL
2023-07-12 17:06:02 +10:00
David Buzz
0d9f0c8dd6
AP_HAL_ESP32: esp32 i2c bugfix for idf4.4
2023-07-12 08:19:34 +09:00
Nicholas Kruzan
79d103459a
AP_HAL_ESP32: new board: esp32s3devkit
2023-05-26 10:54:01 -07:00
Nicholas Kruzan
575422fdf5
AP_HAL_ESP32: new mcu: esp32s3
2023-05-26 10:54:01 -07:00
Nicholas Kruzan
9744b2d483
AP_HAL_ESP32: move esp32 specific idf build stuff to subfolder
...
AP_HAL_ESP32: move esp32 specific idf build stuff to subfolder
2023-05-26 10:54:01 -07:00
Peter Barker
86db236647
AP_HAL_ESP32: replace HAVE_FILESYSTEM_SUPPORT with backend defines
2023-05-17 09:40:39 +10:00
Peter Barker
49879ab28c
AP_HAL_ESP32: add and use AP_RCPROTOCOL_ENABLED
2023-05-16 09:16:37 +10:00
Nicholas Kruzan
761184d645
AP_HAL_ESP32: add board esp32nick
2023-05-15 12:22:17 +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
Henry Wurzburg
71992d4604
AP_HAL_ESP32: normalize SerialManagers ports defaults to allow inclusion in hwdefs
2023-05-11 18:45:53 +10:00
Henry Wurzburg
1f4f3bf32a
AP_HAL_ESP32: change BUILD_DEFAULT_LED_TYPE to new pattern
2023-05-04 07:45:12 +10:00
David Buzz
1b3534e996
AP_HAL_ESP32: make all boards use 16 channels, not 32.
2023-05-02 14:38:03 +10:00
David Buzz
dc28cdecd2
AP_HAL_ESP32: bump up ftp and log_io thread size
2023-05-02 14:38:03 +10:00
David Buzz
9a63fc2d30
AP_HAL_ESP32: 4.2 updated sdkconfig
2023-05-02 14:38:03 +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
David Buzz
8da8163967
AP_HAL_ESP32: doesn't need these subsystems
...
ESP32: disabled can on esp32 for now
ESP32: disable airspeed sensors on esp32buzz
ESP32: disable a bunch of compasss types and subsystems so it doesn't try to probe for all
of the compases on boot, as its super slow.
turned off a bunch of Plane stuff that an esp32 user isn't likely to need
compass
scr
comp
a
c
2023-05-02 14:38:03 +10:00
David Buzz
46bc6d5122
AP_HAL_ESP32: quieten imu's on esp32
...
less noisy
ins debug
imu
2023-05-02 14:38:03 +10:00
David Buzz
a31f01d505
AP_HAL_ESP32: add a new board for tomte76
...
mpu9255 board, bmp280 baro, micro sd card and NEO M8 clone
a
2023-05-02 14:38:03 +10:00
Daniel Tombeil
8b029777e2
AP_HAL_ESP32: Adding receive_time_constraint_us() to UARTDriver to address GPS init
...
and health issues
- more work on receive_time_constraint_us()
2023-05-02 14:38:03 +10:00
Ryan Friedman
1345e06152
AP_HAL_ESP32: Fix spelling receiver
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-06 09:13:09 +10:00
Peter Barker
ec40a9641b
AP_HAL_ESP32: add and use a "bool read(c)" method to AP_HAL
...
this is much less likely to not work vs the int16_t equivalent
2023-03-22 17:59:11 +11:00
Nick Kruzan
e05ba68f90
AP_HAL_ESP32: Readme update
...
Add information for flashing standalone.
minor change
2023-01-31 18:00:25 +11:00
olliw42
866db281a6
AP_HAL: bw_in_bytes_per_second()
2023-01-31 17:58:04 +11:00
Andrew Tridgell
e255bbbd40
AP_HAL_ESP32: added old_size to heap_realloc
2023-01-16 09:19:16 +11:00
Wiktor Maslowski
be9aec4059
AP_HAL_ESP32: add empty board - without any sensors
2022-12-07 18:21:03 +11:00
Wiktor Maslowski
128f52f807
AP_HAL_ESP32: fix the board names
2022-12-07 18:21:03 +11:00
Wiktor Maslowski
90cc4087e8
AP_HAL_ESP32: fix build esp32icarus
2022-12-07 18:21:03 +11:00
Buzz
1e11921646
AP_HAL_ESP32: add esp32 build to CI
...
with binaries
less verbose
ESP32: fix bootloader build - reduce esp32 bootloader compile size and capture binaries
2022-11-28 20:32:22 +11:00
jackhong12
4a4f361a17
all: use CLASS_NO_COPY() macro
2022-10-04 11:23:04 +11:00
Yuri
aa960a7ec5
AP_HAL_ESP32: increase short board names to 23 chars
2022-09-21 17:56:42 +10:00
Andrew Tridgell
7aea559bdb
AP_HAL_ESP32: more changes for 32 bit servo mask
2022-05-22 12:07:37 +10:00
murata
9d2ffdc028
AP_HAL_ESP32: Console output can be disabled
2022-05-17 09:53:06 +10:00
Nicholas Kruzan
d42a287db0
AP_HAL_ESP32: partitions.csv - increase app partition to 3M
2022-04-05 08:41:11 +10:00
Peter Barker
9305a67737
AP_HAL_ESP32: remove HAL_COMPASS_DEFAULT define
...
this doesn't actually allow you to specify a default, despite the name
and a couple of hwdefs trying to use it that way.
This would have stopped being useful when we did the
compass-prority-table stuff - or before.
2022-02-01 12:10:38 +11:00
Jaaaky
f588b08004
AP_HAL_ESP32: Fix multi #include's
2021-12-21 10:38:46 +11:00
Andrew Tridgell
0d12fa7937
AP_HAL_ESP32: revert compass parameter changes
2021-12-04 16:51:53 +11:00
Iampete1
ab9609022b
AP_HAL_ESP32: use new compass param names
2021-11-30 08:14:43 +09:00
Andrew Tridgell
ccf89c2031
AP_HAL_ESP32: support up to 9 UARTs
2021-11-22 22:48:59 +11:00
bugobliterator
7a1044309c
AP_HAL_ESP32: add get_storage_ptr method
2021-11-10 17:21:35 +11:00
Buzz
854266dc78
ESP32: drop submodule and add script to get it as a clone and/or submodule
...
works with either a submodule setup or a 'clone' for either type of dev
2021-11-03 06:06:15 +11: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