Commit Graph

22701 Commits

Author SHA1 Message Date
Marius Vikhammer
aab35a2126 core-system/newlib: updated docs to reflect that tzset() needs to be called before localtime/mktime()
According to the posix standard localtime/mktime should use timezone information as though localtime/mktime() calls tzset(),
but this is not the case in older versions of Newlib.

Closes https://github.com/espressif/esp-idf/issues/11455
2023-05-24 16:37:29 +08:00
Armando
61ecbb44a5 spi: added an API to get max transaction length and use in spi lcd driver 2023-05-19 09:30:06 +00:00
Armando
4e67ea0fe3 spi: added transaction length check to refuse longer than hardware supported length 2023-05-19 09:30:06 +00:00
Zim Kalinowski
df84708f61 docs: updated contribution agreement 2023-05-18 16:46:08 +02:00
Jiang Jiang Jian
c25d92074e Merge branch 'bugfix/update_test_dl_esp_cert_v4.4' into 'release/v4.4'
tests: update Root certificate for the test endpoints (v4.4)

See merge request espressif/esp-idf!23799
2023-05-18 19:32:43 +08:00
chenjianxing
28fa2f88a1 esp_wifi: fix softap nvs <ssid,password,pmk> not matching issue 2023-05-18 15:50:41 +08:00
Jiang Jiang Jian
1071b13c9e Merge branch 'bugfix/fix_iphone_disconnects_immediately_after_connecting_when_BLE_wifi_coexist_v4.4' into 'release/v4.4'
Fix the bug that the iPhone disconnects immediately after connecting when BLE and wifi coexist (backport v4.4)

See merge request espressif/esp-idf!23802
2023-05-18 15:18:09 +08:00
zhiweijian
239d74be65 Fix the bug that the iPhone disconnects immediately after connecting when BLE and wifi coexist 2023-05-17 18:05:49 +08:00
Mahavir Jain
1d61e300ac
tests: update Root certificate for the test endpoints
Use Root certificate (`DigiCert Global Root G2`) for the
`dl.espressif.com` and `espressif.com` test endpoints.

This fixes the test failure introduced due to renewal of
the intermediate certificate.
2023-05-17 15:28:46 +05:30
Alexey Lapshin
c1445ff243 coredump: remove tests (moved to esp-coredump repo) 2023-05-16 13:04:27 +08:00
Nihal Gonsalves
514b88a8f0 Fix typo in Linux/macOS getting started docs
`hello_word` -> `hello_world`
2023-05-15 09:38:38 +08:00
Alexey Gerenkov
e80b3cace4 tools: update OpenOCD version to v0.12.0-esp32-20230419 2023-05-10 13:19:24 +03:00
xiongweichao
f3b2e22d74 bt: Deleted some redundant variables in HFP_AG 2023-05-10 10:24:54 +08:00
xiongweichao
074f0ad41c bt: Fixed the problem of out-of-bounds access caused by the variable-length array introduced in 3268075231
Closes https://github.com/espressif/esp-idf/issues/11264
2023-05-10 10:24:50 +08:00
xiongweichao
e3263ad608 bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT 2023-05-10 10:24:45 +08:00
Roland Dobai
7641c8ef4f Merge branch 'bugfix/constraint_urllib3_v44' into 'release/v4.4'
requirements: Pin urllib3 to <2

See merge request espressif/esp-idf!23608
2023-05-07 00:40:21 +08:00
Marius Vikhammer
e0e913839f gdma: fixed crash from logging when using newlib nano
Newlib nano printf formatting do not support %z, and will crash if such an identifier
is followed by a %s indentifier.

Closes https://github.com/espressif/esp-idf/issues/9631
2023-05-06 13:49:31 +08:00
Sergei Silnov
743d6a12c4 requirements: Pin urllib3 to <2 2023-05-05 13:17:12 +02:00
jasta
4353014715 esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure
This fixes a subtle bug in which ESP_ERR_DPP_TX_FAILURE errors would
call esp_supp_dpp_stop_listen which sets the s_dpp_stop_listening flag
to true.  Subsequent attempts to restart listening with
esp_supp_dpp_start_listen then only attempt to listen once more for
500ms before reading the s_dpp_stop_listening flag again and giving up.

This contributes greatly to #10615, but the fix here is still largely
a work-around as it sometimes requires manually retrying a couple times
before it works.  Without this fix, any number of retries by
deinit/init again will seemingly not work as the retries for currently
unknown reasons.

Signed-off-by: Shreyas Sheth <shreyas.sheth@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/10865
2023-05-05 14:21:20 +05:30
muhaidong
76540defc1 fix reduce phy tx power when brownout reset invisible issue
Closes https://github.com/espressif/esp-idf/issues/11252
2023-05-04 21:52:42 +08:00
xiongweichao
017517b804 bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
Closes https://github.com/espressif/esp-idf/issues/6486
2023-05-04 14:16:12 +08:00
xiongweichao
0a4082642e bt: Fixed the issue that the a2dp source would not send the media start command due to the connection initiated by the peer device
Closes https://github.com/espressif/esp-idf/issues/11170
2023-05-04 12:06:17 +08:00
Jens Gutermuth
9fa30d44f3
improve thread safety in esp_timer
Inadequate locking in the esp_timer component allowed corruption
of the s_timers linked list:

1. timer_armed(timer) returns false
2. another task arms the timer and adds it to s_timers
3. the list is locked
4. the timer is inserted into s_timers again

The last step results in a loop in the s_timers list, which causes
an infinite loop when iterated. This change always locks the
list before checking if the timer is already armed avoiding
the data race.
2023-05-02 20:22:51 +02:00
Roman Leonov
8a311cf8ad usb_host: better debugging information during hcd_pipe_alloc() when usb_host_interface_claim() is being fulfiled. 2023-04-25 12:52:45 +02:00
Abhik Roy
c781fda86f lwip/dhcp: Fixed ondemand fine timers leakage bug.
Fixed ondemand fine timers bug, that allowed
only one dhcp client to run at a time without issue.
2023-04-24 18:09:59 +10:00
Marius Vikhammer
67f7c2f96a system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram
Closes https://github.com/espressif/esp-idf/issues/11233
2023-04-24 13:53:42 +08:00
wuzhenghui
ea02b6dfec doc: update deep_sleep_wake_stub readme 2023-04-24 11:37:46 +08:00
wuzhenghui
c78fb1602e feature: add wake up time cost info to deep_sleep_wake_stub example 2023-04-24 11:37:46 +08:00
jiangguangming
ede29b4812 docs: add wake stub example link to deep-sleep-stub.rst 2023-04-24 11:37:46 +08:00
jiangguangming
fc30491ab0 ld: fix rtc.data rtc.bss section issues
1. rtc.data section: should include sbss srodata in rtc_wake_stub*.*
2. rtc.bss section: move rtc .bss .bss.* from rtc.data to rtc.bss
2023-04-24 11:37:46 +08:00
jiangguangming
85064f164f use LL function to get wakeup cause 2023-04-24 11:37:46 +08:00
jiangguangming
96f3c2bac6 rtc_time.c: simplify the rtc_time_get with LL function 2023-04-24 11:37:46 +08:00
jiangguangming
86905af90d deep sleep example: typo corrected in readme 2023-04-24 11:37:46 +08:00
jiangguangming
738b486b31 ci: add ci example test 2023-04-24 11:37:46 +08:00
jiangguangming
b733eb0adb example: add example deep sleep wake stub 2023-04-24 11:37:42 +08:00
jiangguangming
cafcb219de hal: add rtc_cntl LL function for wake stub 2023-04-23 14:29:25 +08:00
Peter Dragun
4826182e60 bug(monitor/console_reader): replace TIOCSTI with busy wait to suppport kernel > 6.2
Closes https://github.com/espressif/esp-idf/issues/11027
2023-04-21 15:52:13 +02:00
Jin Cheng
8704eb1713 fix a2dp source crash when connect to Bose speaker 2023-04-21 21:20:57 +08:00
Darian Leung
fd2d4a83e2 usb_host: Update docs and comments regarding first configuration enumeration
This commit updates some comments and documentation regarding changes made in
PR https://github.com/espressif/esp-idf/pull/11113.
2023-04-21 12:53:27 +08:00
Jason
8bebfaa6ee Fix usb enumeration stage error for some device 2023-04-21 12:53:27 +08:00
Jiang Jiang Jian
3cec3a0026 Merge branch 'bugfix/fix_some_wifi_bugs_230420_v4.4' into 'release/v4.4'
esp_wifi: fix some wifi bugs 230420(Backport v4.4)

See merge request espressif/esp-idf!23300
2023-04-21 11:53:42 +08:00
morris
9516e80f61 Merge branch 'bugfix/wakeup_io_hold_unhold_in_sleep_v4.4' into 'release/v4.4'
gpio: Fix deep sleep wakeup IOs unable to unhold after wakeup (v4.4)

See merge request espressif/esp-idf!22670
2023-04-21 10:51:05 +08:00
Jiang Jiang Jian
2951d6e2f7 Merge branch 'bugfix/mdns_no_task_notifiers' into 'release/v4.4'
mdns: use semaphore instead of task notification bits (v4.4)

See merge request espressif/esp-idf!22920
2023-04-21 09:32:10 +08:00
Jiang Jiang Jian
f31b5c3bd2 Merge branch 'bugfix/fix_some_ble_bug_v4.4' into 'release/v4.4'
Fixed some BLE bugs (backport v4.4)

See merge request espressif/esp-idf!23301
2023-04-21 02:00:20 +08:00
Mahavir Jain
62a9966181 Merge branch 'bugfix/block9_can_not_be_used_for_fe_v4.4' into 'release/v4.4'
efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5) (v4.4)

See merge request espressif/esp-idf!23292
2023-04-20 23:03:51 +08:00
Zim Kalinowski
3f08fd4400 Merge branch 'contrib/github_pr_11163_v4.4' into 'release/v4.4'
Make custom bootloader message match actual output (GitHub PR) (v4.4)

See merge request espressif/esp-idf!23140
2023-04-20 19:45:06 +08:00
Zim Kalinowski
4232e24b0f Merge branch 'bugfix/adds_iram_attr_for_some_esp_timer_apis_v4.4' into 'release/v4.4'
esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active (v4.4)

See merge request espressif/esp-idf!23308
2023-04-20 19:41:39 +08:00
Zim Kalinowski
39afb1eb1f Merge branch 'contrib/github_pr_7754_v4.0' into 'release/v4.4'
Fix infinite recursion in FLAG_ATTR operator (GitHub PR) (backport v4.4)

See merge request espressif/esp-idf!23235
2023-04-20 19:37:13 +08:00
chenjianhua
8f3f635e8c bluedroid: report status after clearing the BLE white list 2023-04-20 15:59:07 +08:00
chenjianhua
908c5e1fd2 bluedroid: fix GATTC cache address save 2023-04-20 15:59:07 +08:00