Sudeep Mohanty
a0e3d488da
ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2
...
This commit enables ULP FSM support for esp32s3 and updates ULP FSM code
flow for other chips.
It adds C Macro support for the ULP FSM instruction set on esp32s2 and
esp32s3.
The unit tests are also updated to test ULP FSM on ep32s2 and esp32s3.
2022-06-29 11:57:02 +08:00
intern
74d745a80b
docs: update cn trans for upl docs
2022-06-29 11:56:59 +08:00
Marius Vikhammer
dafcb9a883
apptrace: move all apptrace related functions to IRAM
...
Closes: https://github.com/espressif/esp-idf/issues/9131
2022-06-29 10:17:48 +08:00
jincheng
66e52c60f5
avoid wrongly restart discovery
2022-06-28 13:03:44 +08:00
Sudeep Mohanty
886c2d742d
docs: Updated ULP documentation
...
This commit updates documentation for ULP.
2022-06-28 12:09:33 +08:00
Marius Vikhammer
477844806e
re-enable riscv ulp gpio support and examples
2022-06-27 17:17:06 +08:00
Michael (XIAO Xufeng)
d424b93192
Revert "touch: add protection for touch sleep case"
...
This reverts commit 974ac3b4b8
.
2022-06-27 14:33:09 +08:00
Michael (XIAO Xufeng)
c3c802d9b8
Revert "touch_sensor: forbid from using touch sensor with sleep on ESP32-S3"
...
This reverts commit a84faa3cef
.
2022-06-27 14:33:09 +08:00
Ivan Grokhotkov
6e6b9ec5a6
bootloader, esp_system: increase static allocation space for esp32s3
...
The previously used splits between memory allocated for ROM code,
2nd stage bootloader and the app were somewhat safe and conservative.
This resulted in some space being unavailable for static allocation
in the app.
This commit increases the space available for static allocation to the
maximum possible amount.
1. Some of the ROM code static allocation is only used in UART/USB/SPI
download modes. This region ("shared buffers") has been placed at
the lower end of ROM memory area, to be reusable in flash boot
mode. The 2nd stage bootloader linker script is modified to "pack"
all sections exactly up to the end but with roughly 8K margin between
startup stacks.
2. Instead of calculating the sections placement and hardcoding the
addresses in the LD script again, rewrite it to calculate the
start address of each memory region automatically based on the
logic above.
3. Adjust the app memory layout (SRAM_IRAM_END) accordingly,
increasing the space available for static allocation.
Overall these changes increase the space available for static
allocation by about 78kB.
The downside of these changes is that the 2nd stage bootloader .data
segment is now directly adjacent to the startup stack on the PRO CPU.
Previously, there was effectively about 78kB of extra stack space for
the PRO CPU, before the stack would run into the data segment.
2022-06-27 09:22:01 +05:30
Kapil Gupta
5a58ab0d4a
esp_example: Enable GCMP, GMAC for 192 bit config
2022-06-24 17:37:06 +05:30
jingli
41a0757bcc
fix param passed to assert_valid_block, should be block not ptr
2022-06-23 21:43:53 +08:00
Rahul Tank
7a01fe7a71
WifiProv: Extended support for configuring if link encryption is needed
...
when attempting to read / write characteristic to bluedroid stack
2022-06-23 17:44:38 +05:30
Laukik Hase
9e2369cb79
ci: Enable custom certificate bundle
test for ESP32-S3
...
- Increase leakage limit for `test performance RSA key operations`
UT by 64 bytes
2022-06-23 16:32:26 +05:30
Laukik Hase
e114850dda
mbedtls: Acquire lock before enabling MPI (RSA) hardware
...
- For ESP32-S3
2022-06-23 16:32:26 +05:30
wangjialiang
b82782f109
ble_mesh: stack: Add filter old seq_auth packet menuconfig
2022-06-23 16:17:20 +08:00
Martin Vychodil
1736fdf256
spiffs: update submodule to fix SPIFFS_readdir errno issue
...
See https://github.com/pellepl/spiffs/pull/288 for the description of the issue.
Reported in https://github.com/esp-rs/rust/issues/117#issuecomment-1142159661
2022-06-22 17:52:17 +02:00
KonstantinKondrashov
c563d799fe
efuse: Checks errors of 4x coding scheme for BLOCK0 if so then abort
2022-06-22 17:16:26 +08:00
KonstantinKondrashov
dcc706280d
reset_reasons: EFUSE_RST is treated as POWERON_RST
...
ESP32 does not have the EFUSE_RST, the rest chips has this reset reason.
2022-06-22 16:39:02 +08:00
gaoxu
afe3bfe19f
SPI:fix spi slave example sender ccount issue
...
On riscv core, core cycle counter counts the clock cycles only when core is active (not sleeping).
In spi_slave/sender example, it uses ccount (core cycle counter) to do a simple debounce.
Therefore, when using spi_slave/sender and spi_slave/receiver, program will be stuck.
This commit fix this issue by using esp_timer
2022-06-22 15:06:29 +08:00
Sudeep Mohanty
b72f987c5c
ulp: Added ULP RISC-V support for esp32s3
...
This commit adds support for ULP RISC-V for esp32s3.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2022-06-22 13:33:14 +08:00
Scott Mabin
e6964819b4
newlib: dirent d_ino type fix
...
As per the posix spec, `d_ino` should be defined as `ino_t`. See the
reference:
http://pubs.opengroup.org/onlinepubs/7908799/xsh/dirent.h.html .
2022-06-21 14:40:13 +01:00
Rahul Tank
9ddf575e42
Nimble: Sync sending Host Number of Completed Packets command
2022-06-21 16:40:59 +05:30
Djordje Nedic
ddfc699abf
tools: Update CMake
...
This updates CMake to the latest version (3.23).
There are no deprecations and feature removals that affect us going from the previous version:
https://cmake.org/cmake/help/latest/release/3.21.html#deprecated-and-removed-features
https://cmake.org/cmake/help/latest/release/3.22.html#deprecated-and-removed-features
https://cmake.org/cmake/help/latest/release/3.23.html#deprecated-and-removed-features
Closes https://github.com/espressif/esp-idf/issues/8821
2022-06-21 11:26:09 +02:00
xiongweichao
5020faf559
update hfp_ag version to 1.7.2
2022-06-21 14:41:19 +08:00
yuanjm
3169baa76d
fix(example): Fix wss_server_example not close socket
2022-06-21 14:23:46 +08:00
Laukik Hase
279ab23244
wifi_prov: Added support for WPA3_PSK and WPA2_WPA3_PSK APs
2022-06-21 11:17:09 +05:30
Omar Chebib
d5664cd7e5
Build: Xtensa assembly files are now assembled with -mlongcalls option
2022-06-21 11:20:07 +08:00
Omar Chebib
d629502586
Build: fix idf_as_lib example not building
2022-06-21 11:17:39 +08:00
Omar Chebib
8e7ee9ff26
Build: CMake compiler flags will be set, regardless of the cache status
...
Defining CMake variables from the command-line or from another CMake project,
such as `-DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS=`, caused a link failure as ESP
CMake was unable to set its proper compilation flags.
Additional CMake compiler flags can now be provided by another project.
* Closes https://github.com/espressif/esp-idf/issues/7507
2022-06-21 11:07:50 +08:00
Jiang Jiang Jian
6c5fb29c2c
Merge branch 'bugfix/light_sleep_when_rtc_is_used_for_gettimeofday_v4.4' into 'release/v4.4'
...
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday (v4.4)
See merge request espressif/esp-idf!18413
2022-06-21 01:27:33 +08:00
Jiang Jiang Jian
3356aa38ed
Merge branch 'feat/add_track_startup_time_to_startup_time_example_v4.4' into 'release/v4.4'
...
feat: Added tracking startup_time example startup times (v4.4)
See merge request espressif/esp-idf!18441
2022-06-21 01:16:58 +08:00
Jiang Jiang Jian
746df6107c
Merge branch 'bugfix/bond_not_saved_for_pairing_again' into 'release/v4.4'
...
Bugfix/bond not saved properly after re-pairing
See merge request espressif/esp-idf!18235
2022-06-21 00:21:13 +08:00
Aleksei Apaseev
8a2c9cf47f
feat: Added tracking startup_time example startup times
2022-06-20 16:20:00 +00:00
KonstantinKondrashov
b0a15716ee
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
...
The esp_timer was not advanced correctly.
2022-06-20 16:17:00 +00:00
Nachiket Kukade
586d9a2ef1
esp_wifi: Update wifi libs
...
Update wifi libs with below fixes -
1. Fix issues caused during SoftAP mode change
2. Error handling and cleanup related to STA PMF
2022-06-20 10:09:45 +00:00
Jiang Jiang Jian
582f9548d6
Merge branch 'nvs/remove_asserts_v4.4' into 'release/v4.4'
...
change: NVS assertions as runtime errorcodes (v4.4)
See merge request espressif/esp-idf!18460
2022-06-20 16:50:36 +08:00
Jiang Jiang Jian
b085cd2821
Merge branch 'refactor/improve_flash_power_down_logic_backport_v4.4' into 'release/v4.4'
...
system/sleep: improve flash power down logic(backport v4.4)
See merge request espressif/esp-idf!18587
2022-06-20 15:36:46 +08:00
Jiang Jiang Jian
d273837a51
Merge branch 'feature/modbus_update_for_other_targets_v44' into 'release/v4.4'
...
modbus: update to support other targets (Backport v4.4)
See merge request espressif/esp-idf!17385
2022-06-20 15:34:06 +08:00
Alex Lisitsyn
76bde2df72
modbus: update to support other targets (Backport v4.4)
2022-06-20 15:34:06 +08:00
jingli
4cc873dfd9
improve flash power down logic
2022-06-20 11:32:20 +08:00
Jiang Jiang Jian
076c6764d9
Merge branch 'bugfix/update_gpio_intr_enable_note_v4.4' into 'release/v4.4'
...
Update the note of the gpio_intr_enable function(v4.4)
See merge request espressif/esp-idf!18541
2022-06-20 01:24:50 +08:00
Jiang Jiang Jian
a77509a140
Merge branch 'feature/btdm_add_link_role_param_for_gatt_disconnection_event_v4.4' into 'release/v4.4'
...
component/bt: add link role param for gatt disconnection event(backport v4.4)
See merge request espressif/esp-idf!15948
2022-06-20 00:42:33 +08:00
Jiang Jiang Jian
439c808555
Merge branch 'bugfix/avdtp_genreal_reject_format_error_v4.4' into 'release/v4.4'
...
component_bt: Fix AVDTP general reject format error(v4.4)
See merge request espressif/esp-idf!18556
2022-06-20 00:09:01 +08:00
Jiang Jiang Jian
57dcaf6ee7
Merge branch 'bugfix/adds_iram_attr_for_efuse_apis_v4.4' into 'release/v4.4'
...
bootloader_efuse: Adds IRAM_ATTR for efuse API (v4.4)
See merge request espressif/esp-idf!18561
2022-06-20 00:08:43 +08:00
Jiang Jiang Jian
4d0fe48431
Merge branch 'bugfix/enterprise_certs_ca_expired_v4.4' into 'release/v4.4'
...
esp_wifi: Fix issue of ca certificate expired
See merge request espressif/esp-idf!18519
2022-06-20 00:01:20 +08:00
Jiang Jiang Jian
b7d5e8160f
Merge branch 'bugfix/fix_some_memory_leak_in_phy_v4.4' into 'release/v4.4'
...
Bugfix/fix some memory leak in phy v4.4
See merge request espressif/esp-idf!18551
2022-06-19 23:50:54 +08:00
Jiang Jiang Jian
1133b0ef10
Merge branch 'bugfix/touch_wait_circle_after_wakeup_from_sleep_on_s3_v4.4' into 'release/v4.4'
...
touch: fix the touch sensor wait cycle on s3 (v4.4)
See merge request espressif/esp-idf!17424
2022-06-19 22:49:08 +08:00
Jiang Jiang Jian
646b52f26e
Merge branch 'bugfix/uart_isr_followup' into 'release/v4.4'
...
UART: Fix custom ISR registration function
See merge request espressif/esp-idf!17359
2022-06-19 22:48:17 +08:00
xiewenxiang
3176c707da
component/bt: add link role param for gatt disconnection event(backport v4.4)
2022-06-19 14:41:55 +00:00
Jiang Jiang Jian
469e2e540b
Merge branch 'feature/adds_check_32k_xtal_stopped_v4.4' into 'release/v4.4'
...
esp_hw_support: Adds a msg when 32k xtal was stopped (v4.4)
See merge request espressif/esp-idf!18411
2022-06-19 22:41:20 +08:00