Darian Leung
1620d97299
change(freertos): Optimized xTaskRemoveFromEventList()
...
This commit optimizes xTaskRemoveFromEventList() by removing the
listLIST_IS_EMPTY() check from single core builds. The scenario of the event
list being empty when the function is called can only occur on multi-core
builds.
2023-08-09 16:43:52 +08:00
Darian Leung
5947314431
fix(freertos): Fix vTaskRemoveFromUnorderedEventList()
...
This commit fixes and optimizes vTaskRemoveFromUnorderedEventList() in the
following ways:
- Fixed bug in single core builds where the unblocked task would be placed on
xPendingReadyList.
- If an ISR occurs while accessing xPendingReadyList, and the ISR also
accesses the xPendingReadyList, xPendingReadyList would be corrupted.
- In single core builds, this function is only called from event groups with
the scheduler suspended. Thus the function should have exclusive access to
pxReadyTasksLists instead of xPendingReadyList.
- The function's single core logic has now been updated to match upstream
behavior, by always placing the unblocked task on pxReadyTasksLists.
- Optimized the function for single core builds by removing the
taskCAN_BE_SCHEDULED() check.
- In single core builds, given that the function is always called with the
scheduler suspended
- Thus, the taskCAN_BE_SCHEDULED (and the subsequent routine to place the
unblocked task on the xPendingReadyList) is not necessary for single core
builds.
- The function now matches upstream behavior in single core builds.
Closes https://github.com/espressif/esp-idf/issues/11883
2023-08-09 16:43:52 +08:00
Jakob Hasse
8b9f8555ea
refactor(tools): public header check also checks c++ now
...
* Also changed --only-dir argument to accept system-wide
directories instead of directories from IDF root
2023-08-09 16:23:13 +08:00
Jakob Hasse
44e4ef79e2
fix(esp_system): Fixed C++ compilation of libunwind.h
2023-08-09 16:17:08 +08:00
Jakob Hasse
342a5b428c
fix(esp_event): made #include <stdint.h> explicit
2023-08-09 16:17:06 +08:00
Darian Leung
fdcab76128
fix(freertos): taskCAN_BE_SCHEDULED macro parenthesis
...
This commit adds missing parenthesis around the taskCAN_BE_SCHEDULED macro so
that it can properly used with a negation operator.
2023-08-09 15:54:14 +08:00
Radek Tandler
db4308888d
Merge branch 'feature/storage_nvs_stat' into 'master'
...
nvs_flash: nvs_get_stats extended by available_entries, API documentation updated
See merge request espressif/esp-idf!24523
2023-08-09 15:40:35 +08:00
Xiao Xufeng
5ee8add38c
refactor(esp_hw_support): Move rtc_8md256 and rtc_power_modes test apps to esp_hw_support
2023-08-09 14:57:57 +08:00
Zhang Xiao Yan
948a8aa66c
Merge branch 'docs/update_term_1/4-line_in_sdmmc_host' into 'master'
...
update the term 1/4-line to 1-line or 4-line
See merge request espressif/esp-idf!25220
2023-08-09 14:57:42 +08:00
Zhang Xiao Yan
078d9a9a0b
Merge branch 'docs/add_how_to_add_component_command_to_usb_device' into 'master'
...
docs: add a command about how to add the tinyusb component as a dependency
See merge request espressif/esp-idf!25260
2023-08-09 14:56:31 +08:00
Chen Jichang
3fed3cf50e
feat(pcnt): add support for ESP32P4
2023-08-09 14:41:22 +08:00
Lou Tianhao
d59e91c030
feature: support_hp_regi2c_for_esp32c6
2023-08-09 14:24:31 +08:00
Zhang Xiao Yan
30983a25d5
Merge branch 'docs/fix_typos_adc_continuous.h' into 'master'
...
docs: fix typos in esp_adc/include/esp_adc/adc_continuous.h
See merge request espressif/esp-idf!25241
2023-08-09 14:20:51 +08:00
Michael Mimo Moratti
acc36cd802
Docker image distribution upgrade from 20.04 to 22.04
...
The ubuntu LST version 22.04 has standard support until 2027
2023-08-09 08:15:53 +02:00
Fu Hanxi
da4a59f216
Merge branch 'ci/cleanup_ignore_lists' into 'master'
...
ci: remove non-existing files from the ignore lists
See merge request espressif/esp-idf!25160
2023-08-09 13:52:16 +08:00
Konstantin Kondrashov
a12c06367f
Merge branch 'ci/test_verify_image' into 'master'
...
fix(bootloader_support): Fix memory leak for unit tests
Closes IDFCI-1754 and IDFCI-1755
See merge request espressif/esp-idf!24870
2023-08-09 13:44:22 +08:00
Mahavir Jain
99ce8e606f
Merge branch 'bugfix/filename_error_in_ota_readme' into 'master'
...
fix: Fixed wrong filename in ota example readme
See merge request espressif/esp-idf!25116
2023-08-09 13:17:53 +08:00
Fu Hanxi
60db076a96
ci: add pre-commit to cleanup ignore lists
2023-08-09 12:09:31 +08:00
morris
bd8eaf7a38
Merge branch 'feature/esp32p4_mcpwm_support' into 'master'
...
feat(MCPWM): Add support for ESP32P4
Closes IDF-7493
See merge request espressif/esp-idf!25029
2023-08-09 11:00:00 +08:00
Roland Dobai
0cee3ac6db
Merge branch 'feature/rewrite_build_sys_tests_v7' into 'master'
...
refactor(tools): Rewrite build system unit tests to python
Closes IDF-7926
See merge request espressif/esp-idf!25197
2023-08-09 07:03:38 +08:00
Roland Dobai
33205dad4c
Merge branch 'feature/requires_hints' into 'master'
...
feat(tools): show hints for component dependencies
Closes IDF-6642
See merge request espressif/esp-idf!23950
2023-08-08 23:51:52 +08:00
Jakob Hasse
bb227e0d84
Merge branch 'refactor/semaphore_to_platform_includes' into 'master'
...
refactor: moved semaphore.h to newlib platform_include
Closes IDFGH-10281
See merge request espressif/esp-idf!24088
2023-08-08 23:45:37 +08:00
Sudeep Mohanty
397825af93
Merge branch 'bugfix/lp_i2c_bugfixes' into 'master'
...
Fixed multiple LP I2C bugs
Closes IDFGH-10740
See merge request espressif/esp-idf!25255
2023-08-08 23:37:53 +08:00
Roland Dobai
4bbc57cd37
Merge branch 'update/deprecate_python37' into 'master'
...
feat: Drop Python 3.7 support
Closes IDF-4441
See merge request espressif/esp-idf!24897
2023-08-08 23:30:12 +08:00
Roland Dobai
267e52a6db
Merge branch 'fix/bin_names_with_dots' into 'master'
...
fix(build_system): Allow dots in the name of an app binary
Closes IDF-7973
See merge request espressif/esp-idf!25256
2023-08-08 23:08:04 +08:00
Alexey Gerenkov
f8e020b1d7
feat(newlib): Implement getentropy() function
...
Closes https://github.com/espressif/esp-idf/issues/11963
2023-08-08 18:06:58 +03:00
Marek Fiala
7943e01850
refactor(tools): Rewrite build system unit tests to python
...
Rewritten tests: test_build_system_spaces.py
2023-08-08 16:41:30 +02:00
morris
3e31826719
Merge branch 'bugfix/gptimer_hal_placement_wrong_condition' into 'master'
...
fix(gptimer): hal function placement under wrong condition
Closes IDFGH-10809
See merge request espressif/esp-idf!25237
2023-08-08 22:15:55 +08:00
morris
259dea3912
Merge branch 'feature/drivers_use_creation_with_caps_functions' into 'master'
...
Drivers: Update drivers to use CreateWithCaps() API
See merge request espressif/esp-idf!24378
2023-08-08 22:04:49 +08:00
alanmaxwell
52751c2a3a
fix(phy): Fix 11b/g rx issue for ESP32
2023-08-08 12:57:01 +00:00
satish.solanke
b250e598dc
fix(Bluedroid) : Fix the memory corruption issue
2023-08-08 12:16:55 +00:00
Jiang Guang Ming
eaca3316b1
Merge branch 'feature/support_mbedtls_ecp_fixed_point_configurable' into 'master'
...
feat(mbedtls): support ecp fixed-point multiplication configurable
See merge request espressif/esp-idf!25152
2023-08-08 19:32:05 +08:00
Chen Jichang
72f66b6d1d
feat(mcpwm): add support for ESP32P4
2023-08-08 18:12:58 +08:00
isha.pardikar@espressif.com
9178a78142
NimBLE: Added support of encrypted advertising data
2023-08-08 15:37:51 +05:30
Rahul Tank
2bc2a35199
Merge branch 'bugix/nimble_port_run_crash' into 'master'
...
fix(nimble): Added checks before accessing event pointers
See merge request espressif/esp-idf!25130
2023-08-08 18:03:06 +08:00
Jakob Hasse
8042362e2a
refactor: moved semaphore.h to newlib platform_include
...
Closes https://github.com/espressif/esp-idf/issues/11540
2023-08-08 16:45:57 +08:00
wuzhenghui
e9c6083729
fix(light_sleep): shouldn't backup uart fifo reg in pd_top light sleep
2023-08-08 16:45:17 +08:00
Linda
54a99df775
docs: add a command about how to add the tinyusb component as a dependency
2023-08-08 16:21:33 +08:00
Roland Dobai
66fd1d6f29
Merge branch 'fix/tools_idf_tools_tests_keep_constraints' into 'master'
...
fix(tools): idf_tools.py test improvements
See merge request espressif/esp-idf!25229
2023-08-08 15:17:28 +08:00
Zhang Xiao Yan
b59c1e2e9d
Merge branch 'docs/add_release_notes_for_versions' into 'master'
...
docs: add release notes to versions
See merge request espressif/esp-idf!24944
2023-08-08 14:49:01 +08:00
radek.tandler
3ffb8f8ffd
nvs: nvs_get_stats fixed test, improved comment
2023-08-08 08:43:19 +02:00
radek.tandler
ac6c03fad1
change(nvs_flash): nvs_get_stats extended, API documentation improved
2023-08-08 08:43:19 +02:00
radim.karnis
8acde05a5c
feat: Drop Python 3.7 support
2023-08-08 08:37:29 +02:00
Sudeep Mohanty
00955f7e59
fix(lp_i2c): Fixed a bug where the LP_I2C did not send NACK for 16-byte reads
...
This commit updates the LP_I2C driver used by the LP CPU wherein the
driver did not send out a NACK when we do a read of multiple of the FIFO
depth bytes. This was because the LP I2C controller was configured to
send an ACK when the Rx FIFO reaches the threshold instead of a NACK.
This commit updates the behavior.
2023-08-08 06:35:15 +00:00
Sudeep Mohanty
5b46ef3cdd
fix(lp_i2c): Fixed a bug where LP I2C write got stuck
...
This commit fixes a bug where an I2C write got stuck when using the
lp_core_i2c_master_write_read_device() API. This was because the LP I2C
HW was not programmed with an END condition and therefore did not know
the end of a transaction.
Closes: https://github.com/espressif/esp-idf/issues/11958
2023-08-08 06:35:15 +00:00
Sudeep Mohanty
4464599dad
fix(lp_i2c): Fixed incorrect clock setting for LP_I2C
...
The LP_I2C clock setting was incorrect and a lower frequency value was
being set during initialization. This commit fixes the behavior.
2023-08-08 06:35:15 +00:00
radim.karnis
2b8bbe0a18
fix(build_system): Allow dots in the name of an app binary
2023-08-08 08:35:08 +02:00
Linda
df85758c7e
docs: fix typos in esp_adc/include/esp_adc/adc_continuous.h
2023-08-08 06:11:30 +00:00
Jiang Guang Ming
b73d35d012
docs: add new mbedtls configuration option in optimize size
2023-08-08 14:03:57 +08:00
Jiang Guang Ming
3f2746688c
feat(mbedtls): support ecp fixed-point multiplication configurable
2023-08-08 14:03:57 +08:00