Marius Vikhammer
e0b91b748e
esp-system: fixed int WDT reset reason being reported as task WDT on C2
2023-05-16 05:22:07 +00:00
Shu Chen
96e1f6e7a2
Merge branch 'openthread/default_dnsserver_address_v5_1' into 'release/v5.1'
...
openthread: Add menuconfig to set the default dns server address(v5.1)
See merge request espressif/esp-idf!23757
2023-05-16 12:36:20 +08:00
Marius Vikhammer
d17ab36645
Merge branch 'feature/c6_ulp_timer_v5.1' into 'release/v5.1'
...
ulp: lp timer support for lp core (v5.1)
See merge request espressif/esp-idf!23659
2023-05-16 09:19:56 +08:00
WanqQixiang
a056e655d8
openthread: Add menuconfig to set the default dns server address
2023-05-15 19:30:14 +08:00
morris
aed737b351
Merge branch 'feature/efuse_settings_v5.1' into 'release/v5.1'
...
hal: Explicit setting of efuse time settings (v5.1)
See merge request espressif/esp-idf!23725
2023-05-15 19:16:30 +08:00
Zim Kalinowski
0edb7ee43a
Merge branch 'bugfix/ulp_i2c_timeout_config_v5.1' into 'release/v5.1'
...
ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option (v5.1)
See merge request espressif/esp-idf!23657
2023-05-15 16:03:15 +08:00
Zim Kalinowski
689db30956
Merge branch 'contrib/github_pr_11025_v5.1' into 'release/v5.1'
...
Enable support for C++23 in esp-idf (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23421
2023-05-15 16:02:54 +08:00
Zim Kalinowski
59b6634a9a
Merge branch 'feature/add_missed_settings_for_bootloader_reserve_rtc_mem_for_c6_h2_v5.1' into 'release/v5.1'
...
esp_system (C6 & H2): Enables BOOTLOADER_RESERVE_RTC_MEM feature for bootloader (v5.1)
See merge request espressif/esp-idf!23402
2023-05-15 16:02:35 +08:00
morris
78d88afbef
Merge branch 'bugfix/i2c_timing_wrong_v5.1' into 'release/v5.1'
...
i2c: fix a bug in sda sample timing (backport v5.1)
See merge request espressif/esp-idf!23379
2023-05-15 10:47:35 +08:00
Michael (XIAO Xufeng)
b8365dced6
Merge branch 'Bugfix/fix_tsen_issue_v5.1' into 'release/v5.1'
...
Temperature sensor: fix return value issue @low temp on H2(backport v5.1)
See merge request espressif/esp-idf!23719
2023-05-15 10:46:11 +08:00
morris
b7199e88b7
Merge branch 'bugfix/mcpwm_bldc_example_v5.1' into 'release/v5.1'
...
mcpwm: test generator force level with dead time module (v5.1)
See merge request espressif/esp-idf!23714
2023-05-15 10:00:00 +08:00
KonstantinKondrashov
2165ff386e
hal: Explicit setting of efuse time settings
...
EFUSE_PWR_ON_NUM in C3 has default value = 0x2880, now = 0x3000
2023-05-12 21:42:38 +08:00
zlq
79a2cc224c
H2:fix temp sensor issue @low temp
2023-05-12 17:00:58 +08:00
Marius Vikhammer
e35897db33
Merge branch 'feature/heap-in-flash_v5.1' into 'release/v5.1'
...
heap: Add a configuration that places all the heap component in flash (v5.1)
See merge request espressif/esp-idf!23377
2023-05-12 15:57:31 +08:00
morris
a7021c3e44
mcpwm: fix bldc example force output level inverted
...
set_force_level can only set the generator level before the deadtime module.
if the deadtime module enables the inverter, then the real output level is inverted accordingly
2023-05-12 14:40:10 +08:00
morris
190e9e7212
Merge branch 'bugfix/fix_several_bugs_in_i2s_v5.1' into 'release/v5.1'
...
i2s: fix several bugs in std and tdm mode (v5.1)
See merge request espressif/esp-idf!23669
2023-05-12 11:05:34 +08:00
Marius Vikhammer
fc69e53e40
Merge branch 'ci/fix_system_invalid_kconfigs_v5.1' into 'release/v5.1'
...
ci: fix invalid kconfig options in system test apps (v5.1)
See merge request espressif/esp-idf!23660
2023-05-12 11:04:08 +08:00
morris
6f459d4ea8
Merge branch 'feature/reset_mcpwm_in_restart_v5.1' into 'release/v5.1'
...
mcpwm: reset peripheral in restart, panic and halt (v5.1)
See merge request espressif/esp-idf!23651
2023-05-12 10:12:58 +08:00
morris
1d89e24199
Merge branch 'bugfix/fix_mspi_octal_psram_timing_tuning_point_fallback_id_v5.1' into 'release/v5.1'
...
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3 (v5.1)
See merge request espressif/esp-idf!23689
2023-05-11 21:24:44 +08:00
Jakob Hasse
2379ee36ab
cxx: gnu++23 -> gnu++2b for clang compatibility, added docs and test
...
* Using -std=gnu++2b now for both gcc and clang as clang
does not recognize gnu++23 yet
* Added a build test app to check the C++ standard in IDF
* Updated english docs to reflect the change to C++23
2023-05-11 17:48:38 +08:00
Marius Vikhammer
b1c85cc1d5
Merge branch 'contrib/github_pr_10895_v5.1' into 'release/v5.1'
...
Fix possible conversion errors by using __builtin_ffsll (GitHub PR) (v5.1)
See merge request espressif/esp-idf!23690
2023-05-11 16:45:44 +08:00
morris
cf5e2c3962
Merge branch 'doc/update_mcpwm_deadtime_v5.1' into 'release/v5.1'
...
MCPWM: don't allow to apply the same delay module to multiple generators (v5.1)
See merge request espressif/esp-idf!23663
2023-05-11 16:13:23 +08:00
Michael (XIAO Xufeng)
a498871111
Merge branch 'bugfix/fix_wrong_hp_ldo_h2_to_v5.1' into 'release/v5.1'
...
ESP32H2: Fix too low hp ldo dbias (v5.1)
See merge request espressif/esp-idf!23598
2023-05-11 11:59:26 +08:00
Jakob Hasse
48ab527148
cxx/esp_hw_support: added build test, changed parameter types
...
Changed rv_utils_intr_edge_ack and esp_cpu_intr_edge_ack to
take uint32_t instead of int to avoid build errors.
The test is to test in particular that __builtin_ffsll, used in
xt_utils.h, which is included via esp_cpu.h, compiles fine
in C++20 with -Wsign-conversion enabled.
Closes https://github.com/espressif/esp-idf/pull/10895
2023-05-11 11:16:45 +08:00
term_est
51a9057d9e
Fix possible conversion errors by using __builtin_ffsll instead of __builtin_ffs
...
Signed-off-by: term_est <62337595+term-est@users.noreply.github.com>
2023-05-11 11:16:45 +08:00
Armando
6ae2c3c240
mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3
2023-05-11 11:13:32 +08:00
Marius Vikhammer
6b0d93efd4
ci: misc fixes for newlib test app
...
Enabled additional tests for C2, added config for testing with newlib nano
as well as cleaned up old configs
2023-05-11 09:27:09 +08:00
Zim Kalinowski
d795abeb03
newlib: move test to pytest
2023-05-11 09:26:39 +08:00
Marius Vikhammer
eec03e6a32
Merge branch 'feature/freertos_add_create_task_with_caps_v5.1' into 'release/v5.1'
...
FreeRTOS: Add xTaskCreateWithCaps() (v5.1)
See merge request espressif/esp-idf!23382
2023-05-10 22:34:17 +08:00
Roland Dobai
2744e6ce07
Merge branch 'feature/refactor_gdbstub_v5.1' into 'release/v5.1'
...
esp_gdbstub: refactor code (v5.1)
See merge request espressif/esp-idf!23513
2023-05-10 19:11:39 +08:00
Darian Leung
ad5044c5f6
freertos: Add task creation with caps functions
...
This commit adds the corresponding CreateWithCaps functions for tasks:
- xTaskCreatePinnedToCoreWithCaps()
- xTaskCreateWithCaps()
- vTaskDeleteWithCaps()
Documentation and migraiton guide have been updated accordingly.
Closes https://github.com/espressif/esp-idf/issues/11216
2023-05-10 17:55:49 +08:00
Marius Vikhammer
4a35536244
Merge branch 'feature/freertos_get_static_buffers_v5.1' into 'release/v5.1'
...
FreeRTOS: Add GetStaticBuffer and CreateWithCaps functions (v5.1)
See merge request espressif/esp-idf!23381
2023-05-10 17:53:26 +08:00
Marius Vikhammer
670996f484
Merge branch 'bugfix/make_clean_files_v5.1' into 'release/v5.1'
...
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES (v5.1)
See merge request espressif/esp-idf!23661
2023-05-10 13:46:56 +08:00
laokaiyao
653ba59b23
i2s_tdm: fixed half sample bit calculation and added check for slot mask
2023-05-10 12:34:14 +08:00
laokaiyao
319e0689a5
i2s_std: fixed mclk check for 24-bit data and enable left alignment as default
2023-05-10 12:32:38 +08:00
morris
6b86fc7ad7
Merge branch 'test/enlarge_gptimer_test_threshold_v5.1' into 'release/v5.1'
...
gptimer: enlarge test threshold (v5.1)
See merge request espressif/esp-idf!23622
2023-05-10 10:39:45 +08:00
morris
7b93cf91aa
mcpwm: can't apply the same delay module to multiple generators
...
This is a hardware limitation, one delay module can only be used by one generator at one time.
Closes https://github.com/espressif/esp-idf/issues/11327
2023-05-10 10:09:48 +08:00
Marius Vikhammer
63153794c9
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES
...
ADDITIONAL_MAKE_CLEAN_FILES is deprecated and only worked with make.
Replaced with the new ADDITIONAL_CLEAN_FILES (CMake 3.15) which also works with ninja.
2023-05-10 09:53:55 +08:00
Marius Vikhammer
19a2e42770
ci: fix invalid kconfig options in system test apps
2023-05-10 09:42:12 +08:00
Marius Vikhammer
45fd8feba3
ulp: add support for using lp timer with lp core on C6
2023-05-10 09:39:24 +08:00
Sudeep Mohanty
08600cb1a3
ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option
...
The commit 88e4c06028
introduced a loop timeout for all ULP RISC-V I2C
transactions to avoid getting stuck in a forever loop. The loop timeout
was set to 500 msec by default. This commit improves on the concept by
making the loop timeout configurable via a Kconfig option in terms of
CPU ticks. If the timeout is set to -1 value then the transaction loops
will never timeout, therefore restoring the driver behavior before the
timeout was introduced.
The commit also updates the I2C Fast mode timings for esp32s2 which need
to be adjusted due to bus timing constraints.
Closes https://github.com/espressif/esp-idf/issues/11154
2023-05-09 15:07:50 +02:00
morris
236d601e98
mcpwm: reset peripheral in restart, panic and halt
...
mcpwm is commonly used in power eletronic area, when restart happens,
make sure the mcpwm generator is not working.
closes https://github.com/espressif/esp-idf/issues/11324
2023-05-09 18:30:46 +08:00
Sudeep Mohanty
ee18b19b8f
freertos-idf: Fixed incorrect scheduler suspension check in xTaskRemoveFromEventList()
...
This commit fixes a bug in xTaskRemoveFromEvenetList() where in the
check for scheduler suspension did not account for nested suspensions.
Additionally, this commit updates all checks for scheduler
suspension to follow a uniform way.
2023-05-09 12:25:09 +02:00
Wang Meng Yang
8a08cfe7d1
Merge branch 'bugfix/fix_own_addr_is_rap_random_err_v5.1' into 'release/v5.1'
...
Fixed no error report when own address type is rpa_random and no random address setting(backport v5.1)
See merge request espressif/esp-idf!23623
2023-05-08 20:20:53 +08:00
Darian Leung
3948949019
driver: Fix ana_cmpr negative enum comparison
...
The C17 standard (sec 6.7.2.2) indicates that the underlying type of an enum is
implementation defined (i.e., can be signed or unsigned). Thus, comparing
"-1 >= some_enum" where "some_enum" is always 0 or largert can return true if
the compiler uses unsigned for enums.
This commit fixes the following issues with ana_cmpr:
- Fixed incorrect comparison in ana_cmpr_del_unit() that relied on enums being
signed, thus would always return true.
- Fixed incorrect expected argument in the "ana_cmpr_unit_install_uninstall"
test. This was not picked up due to the incorrect enum comparison above.
2023-05-08 17:11:52 +08:00
zhiweijian
24cc2d714e
Fixed BLE disconnection failure on ESP32
2023-05-08 12:17:09 +08:00
zhiweijian
16696d98c1
Fixed battery profile wrong condition
2023-05-08 11:31:22 +08:00
zwj
daf2622a5b
Fixed no error report when own address type is rpa_random and no random address setting
2023-05-08 11:31:06 +08:00
morris
864f5532fa
gptimer: enlarge test threshold
2023-05-08 10:18:58 +08:00
Marius Vikhammer
d4a3427eaf
Merge branch 'bugfix/gdma_log_nano_v5.1' into 'release/v5.1'
...
gdma: fixed crash from logging when using newlib nano (v5.1)
See merge request espressif/esp-idf!23585
2023-05-08 10:13:55 +08:00