Darian Leung
ef6afa1324
freertos: Refactor eTaskGetState() unit test
...
This commit refactors the eTaskGetState() unit test to work on FreeRTOS SMP
2022-05-28 21:36:23 +08:00
Darian
f3d06ad78d
Merge branch 'bugfix/fix_SysTickIsrHandler_casting' into 'master'
...
HAL: Fix systimer counter value bit field
Closes IDF-5132
See merge request espressif/esp-idf!18252
2022-05-28 18:31:03 +08:00
jingli
1781ce3b98
further fix rtc attr for esp32c2
2022-05-28 08:52:55 +00:00
Jessy Chen
7b9b448041
esp_wifi: optimize wifi kconfig
2022-05-28 08:52:55 +00:00
liuning
e0decf4839
esp_wifi: fully support connectionless traffic with ps and coex
2022-05-28 08:52:55 +00:00
Jessy Chen
0ae391ef07
esp_wifi: enable FTM for esp32c2 & fix pre-commit check
2022-05-28 08:52:55 +00:00
Jessy Chen
60cbbffc74
esp_phy: optimize esp32c2 tx power control
2022-05-28 08:52:55 +00:00
Zhang Junhao
31f9292f90
feat: disable mbedtls rom code on master
2022-05-28 08:52:55 +00:00
Zhang Jun Hao
fcf8c84ad5
fix potential leak of memory check error
2022-05-28 08:52:55 +00:00
jiangguangming
c7beae1d6a
newlib: 64-bits time_t test pass
...
please keep in mind that don't use nano-foramt printf for 64-bits
2022-05-28 08:52:55 +00:00
jiangguangming
4302e28698
newlib: use newlib nano format default
2022-05-28 08:52:55 +00:00
jingli
84628ba883
fix rtc attr for esp32c2
2022-05-28 08:52:55 +00:00
Jack
58d04eb203
esp_wifi: update esp32c2 wifi rom & lib
2022-05-28 08:52:55 +00:00
zhangyanjiao
e979e9701f
esp_wifi: bringup esp32c2 wifi
2022-05-28 08:52:55 +00:00
Laukik Hase
28ac0b12fb
mbedtls: Remove deprecated options from mbedtls/esp_config.h
...
- Removed options related to RC4 ciphersuite, SSL3 and TLS1
(as per mbedtls v3.1.0)
2022-05-28 10:21:06 +05:30
jingli
ae127b04cd
fix ld err since esp32c2 do not suport config gpio of spi flash via efuse
2022-05-27 19:29:38 +08:00
jingli
e70c434780
fix compile error for esp32c2, since esp32c2 no longer support RTC fast mem
2022-05-27 19:29:38 +08:00
jingli
27edaaef91
add wakeup enable for bt
2022-05-27 19:29:38 +08:00
jingli
db102da7c6
update sleep params for esp32c2
2022-05-27 19:29:38 +08:00
jingli
9eec740a16
enable external 32k osc for esp32c2
2022-05-27 19:29:29 +08:00
Anton Maklakov
cfa3e68d1b
bt: esp32s3, make int types consistent
2022-05-27 08:03:54 +00:00
Anton Maklakov
877dc3e304
bt: make int types consistent
2022-05-27 08:03:54 +00:00
yuanjm
0ae030d0ca
fix(Kconfig): Fix lw-ip Kconfig display garbled characters
2022-05-27 02:48:45 +00:00
Marius Vikhammer
9177e9fb37
Merge branch 'bugfix/cpu_cycle_count_not_iram' into 'master'
...
HAL: place cpu_ll_get_cycle_count in IRAM
Closes IDFGH-7431
See merge request espressif/esp-idf!18260
2022-05-27 10:40:50 +08:00
Tomas Rezucha
3b7018923e
Merge branch 'docs/i2c_thread_safety' into 'master'
...
docs: Fix I2C thread-safety
Closes IDF-5034
See merge request espressif/esp-idf!18172
2022-05-27 08:24:13 +08:00
Zim Kalinowski
2c9cd8e307
Merge branch 'feature/remove_target_cmake' into 'master'
...
build-system: remove target component
Closes IDF-3091 and IDF-3581
See merge request espressif/esp-idf!18131
2022-05-27 06:55:25 +08:00
keymoon
3027aa84be
assign value to uninitialized bt_addr
field
2022-05-27 01:07:06 +09:00
keymoon
2c4b135be6
add address field to read_rmt_name_param
2022-05-26 23:24:56 +09:00
Darian Leung
c45784b8c4
hal: Fix systimer counter value bit field
...
This commit fixes the systimer_counter_value_t by adding a resreved field so that the
type fills 64-bits.
Without the reserved field, when compiling with -O0 optimization, the unoccupied high
bits would not be initalized by the compiler, leading to systimer_hal_get_counter_value()
returning a garbage value.
2022-05-26 12:56:25 +00:00
Kapil Gupta
0cdad0a002
wpa_supplicant: Add wrappers for FreeRTOS APIs
2022-05-26 15:23:21 +05:30
Jiang Jiang Jian
37596b4dd8
Merge branch 'feature/wps_registrar_support' into 'master'
...
wpa_supplicant: wps registrar support
See merge request espressif/esp-idf!17659
2022-05-26 17:05:00 +08:00
David Čermák
6f3d021d60
Merge branch 'bugfix/esp_netif_ip6_multicast_api' into 'master'
...
esp_netif: Fix inversion error in leave_ipv6 api (GitHub PR)
Closes IDFGH-7412
See merge request espressif/esp-idf!18184
2022-05-26 15:57:00 +08:00
Yuan Jian Min
62182e1767
Merge branch 'feature/add_mld6_flag_for_eth' into 'master'
...
feat(netif): Add NETIF_FLAG_MLD6 flag for eth netif
Closes IDFGH-6983
See merge request espressif/esp-idf!18173
2022-05-26 15:40:09 +08:00
Marius Vikhammer
415ab25a49
HAL: place cpu_ll_get_cycle_count in IRAM
...
Closes https://github.com/espressif/esp-idf/issues/9008
2022-05-26 14:42:41 +08:00
Fu Hanxi
788ac3989b
Merge branch 'fix/panic_test' into 'master'
...
fix: panic test
See merge request espressif/esp-idf!18239
2022-05-26 10:09:15 +08:00
Darian
3b57f6d40c
Merge branch 'bugfix/task_wdt_freertos_smp_unicore_build' into 'master'
...
esp_system: FIx TWDT SMP FreeRTOS unicore build error
See merge request espressif/esp-idf!18241
2022-05-26 09:20:33 +08:00
Song Ruo Jing
cf32e49aeb
Merge branch 'refactor/cleanup_rtc_h' into 'master'
...
clk_tree: Prework2 of introducing clock subsystem control
Closes IDF-4934
See merge request espressif/esp-idf!17861
2022-05-26 09:16:47 +08:00
Mahavir Jain
c6e2ae76a9
Merge branch 'esp32c2/IDRAM_PMP_split' into 'master'
...
esp32c2: Enable IRAM/DRAM split using PMP
Closes IDF-3837
See merge request espressif/esp-idf!18156
2022-05-26 00:47:49 +08:00
Martin Gano
8ef66536ed
fatfsparse.py: add cluster chaining support to enable reading longer-than-sector files
...
Closes IDF-4975
2022-05-25 15:49:24 +02:00
Kapil Gupta
1cf54db433
esp_wifi: Changes to not use pmkid caching when SSID is changed
2022-05-25 15:11:26 +05:30
Tomas Rezucha
b6771b7f83
docs: Fix I2C thread-safety
2022-05-25 07:22:02 +00:00
Darian Leung
8af172ec46
esp_system: FIx TWDT SMP FreeRTOS unicore build error
...
When configNUM_CORES = 1, vTaskCoreAffinityGet() is not defined. This
commit fixes the TWDT to omit calls to vTaskCoreAffinityGet() when building
for unicore.
2022-05-25 13:51:17 +08:00
Fu Hanxi
b2f107b76c
fix: espcoredump without project_description.json in ci
2022-05-25 12:00:13 +08:00
morris
7642be45ef
Merge branch 'bugfix/c2_efuse_fix_error_reg' into 'master'
...
efuse_hal(esp32c2): Fix error bits for BLOCK0
See merge request espressif/esp-idf!18219
2022-05-25 04:24:55 +08:00
Ivan Grokhotkov
4d9e141201
Merge branch 'bugfix/freertos_smp_no_affinity' into 'master'
...
Freertos SMP: fix wrong no affinity value in kconfig
Closes IDF-5063, IDF-5064, IDF-5067, IDF-5068, IDF-5075, IDF-5076, IDF-5078, IDF-5079, IDF-5080, IDF-5082, IDF-5083, IDF-5084, IDF-5085, IDF-5086, IDF-5087, IDF-5088, IDF-5089, IDF-5090, IDF-5091, IDF-5092, IDF-5093, IDF-5094, IDF-5095, IDF-5096, IDF-5097, IDF-5098, IDF-5099, IDF-5100, IDF-5101, IDF-5102, IDF-5105, IDF-5106, IDF-5108, IDF-5109, IDF-5110, IDF-5111, IDF-5113, IDF-5114, IDF-5115, IDF-5116, IDF-5117, IDF-5118, IDF-5120, IDF-5121, IDF-5123, IDF-5125, IDF-5126, IDF-5128, and IDF-5129
See merge request espressif/esp-idf!18224
2022-05-25 03:05:33 +08:00
Rahul Tank
b45723b92e
Merge branch 'bugfix/fix_esp_timer_crash_on_esp32h2' into 'master'
...
NimBLE: Enabled ESP Timer support for esp32h2
See merge request espressif/esp-idf!18072
2022-05-25 00:22:30 +08:00
Sachin Parekh
9a763f4ff2
esp32c2: Enable IRAM/DRAM split using PMP
2022-05-24 21:36:06 +05:30
songruojing
74c99a8a07
rtc_clk: Add alias for the clock tree related enum and macros for backwards compatibility
2022-05-24 22:59:51 +08:00
songruojing
729d70129a
clk_tree: add initial docs for clock tree
2022-05-24 22:59:51 +08:00
morris
b26cd91537
doc: added clk_tree definitions to doc
2022-05-24 22:59:51 +08:00
songruojing
a5b09cf015
rtc_clk: Clean up some clock related enum and macro in soc/rtc.h, replace with new ones in
...
soc/clk_tree_defs.h
2022-05-24 22:59:41 +08:00
morris
64604dcfe0
Merge branch 'bugfix/s3_spi_pre' into 'master'
...
hal: Fix max value for clkdiv_pre in ESP32-S3 SPI master clock config
See merge request espressif/esp-idf!18213
2022-05-24 16:18:48 +08:00
Roland Dobai
4e0116a170
Merge branch 'fix/otatool_targets' into 'master'
...
app_update: Fix otatool targets
Closes IDF-4758 and IDFGH-7254
See merge request espressif/esp-idf!18190
2022-05-24 15:47:34 +08:00
Kapil Gupta
a6811adac7
wpa_supplicant: Add WPS registrar support for softAP mode
2022-05-24 12:11:53 +05:30
Kapil Gupta
df1a15e918
wpa_supplicant: Add upstream files for wps registrar
2022-05-24 12:11:53 +05:30
morris
60d51bf6c8
Merge branch 'contrib/github_pr_9001' into 'master'
...
usbh_print_intf_desc prints wrong value for tbInterfaceClass (GitHub PR)
Closes IDFGH-7422 and IDFGH-9000
See merge request espressif/esp-idf!18198
2022-05-24 10:15:12 +08:00
Kevin (Lao Kaiyao)
94d7ae03da
Merge branch 'bugfix/i2s_write_timeout_when_setting_clock' into 'master'
...
i2s: fixed write timeout while setting the clock
Closes IDFGH-7273 and IDFGH-7261
See merge request espressif/esp-idf!18201
2022-05-24 10:01:12 +08:00
Marius Vikhammer
15684fb5a0
Freertos SMP: fix wrong no affinity value in kconfig
2022-05-24 09:16:43 +08:00
Marius Vikhammer
cf1b222cac
build system: removed target component
...
After refactoring the target components (e.g. esp32) no longer contained any real functionality.
What remained in these components have been moved elsewhere and the component itself deleted from the
build system.
2022-05-24 09:12:59 +08:00
Marius Vikhammer
d485f6add8
Merge branch 'feature/arch_build_property' into 'master'
...
build-system: add property for architecture (riscv/xtensa)
Closes IDF-1754
See merge request espressif/esp-idf!18127
2022-05-24 08:46:09 +08:00
Marius Vikhammer
425c9e5b0f
Merge branch 'feature/target_kconfig_movement_3' into 'master'
...
kconfig: move remaining kconfig options out of target component
Closes IDF-3579
See merge request espressif/esp-idf!18046
2022-05-24 08:45:01 +08:00
KonstantinKondrashov
c74d442d03
efuse_hal: Fix error bits for BLOCK0
...
eFuse BLOCK0 has only one error reg.
2022-05-24 03:28:57 +08:00
Mahavir Jain
5d88df658d
Merge branch 'feature/esp-tls_optimize_memory' into 'master'
...
esp-tls: add api to free client session
Closes AEG-57
See merge request espressif/esp-idf!18103
2022-05-24 02:53:59 +08:00
morris
1385d1b2f6
Merge branch 'bugfix/i2c_warning_always_true' into 'master'
...
i2c: fix 'comparision is always true' warning
See merge request espressif/esp-idf!18202
2022-05-24 02:21:34 +08:00
Gustavo Henrique Nihei
c946c80415
hal: Fix max value for clkdiv_pre in ESP32-S3 SPI master clock config
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-05-23 10:13:07 -03:00
Marius Vikhammer
0687daf2c8
kconfig: move remaining kconfig options out of target component
...
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
laokaiyao
a5f651ad71
i2s: Update FIFO direct access reg on ESP32 according to the TRM
...
Closes: https://www.github.com/espressif/esp-idf/issues/8862
2022-05-23 16:28:42 +08:00
laokaiyao
f523fbc73b
i2s: Fixed divide 0 issue while setting PDM down sampling issue
...
Closes https://www.github.com/espressif/esp-idf/issues/8850
2022-05-23 16:28:42 +08:00
Li Jingyi
6d58008119
esp-tls: add api to free client session
...
Free session with mbedtls api to avoid mem-leak
2022-05-23 16:28:40 +08:00
laokaiyao
f36ae3f603
i2s: fixed write timeout while setting the clock
2022-05-23 16:28:37 +08:00
Armando
8532d09259
cache: access error & illegal error ll functions
2022-05-23 15:00:47 +08:00
songruojing
436085de51
rtc_clk: fix potential "division by zero" in rtc_clk_cpu_freq_mhz_to_config (found by coverity scan)
2022-05-23 13:38:41 +08:00
Anton Maklakov
41bbea5124
i2c: fix 'comparision is always true' warning
2022-05-23 11:39:46 +07:00
Omar Chebib
2d84985baa
Merge branch 'bugfix/i2c_notify_task_in_ISR' into 'master'
...
I2C: Fix a bug making the I2C task wait too long on an event
Closes IDFGH-7169
See merge request espressif/esp-idf!18027
2022-05-23 12:29:22 +08:00
Song Ruo Jing
70109e2393
Merge branch 'refactor/remove_ck8m_fpu_in_rtc_slow_clk_set' into 'master'
...
rtc_clk: Remove the ck8m fpu logic when setting rtc slow clock source
See merge request espressif/esp-idf!18181
2022-05-23 11:49:24 +08:00
Omar Chebib
872a4311f2
I2C: Fix a bug making the I2C task wait too long on an event
...
The I2C ISR will now notify the task waiting on an event. Thus, the task can stop waiting on the event queue as soon as possible.
2022-05-23 02:02:00 +00:00
Ivan Grokhotkov
341162bb3d
Merge branch 'fix/vfs_fat_info_overflow' into 'master'
...
fatfs: Fix possible integer overflow in esp_vfs_fat_info()
Closes IDF-4958
See merge request espressif/esp-idf!18191
2022-05-22 20:00:12 +08:00
Nicholas Palmer
0f645e59b6
usbh_print_intf_desc prints wrong value for tbInterfaceClass (IDFGH-9000)
2022-05-21 15:54:21 -07:00
songruojing
87b917c04a
rtc_clk: Remove the ck8m fpu logic when setting rtc slow clock source, ck8m fpu in sleep logic is now completely handled in sleep_modes.c
2022-05-21 13:13:52 +00:00
Aditya Patwardhan
911b310a90
Merge branch 'bugfix/mbedtls_dynamic_memory_crash_on_rsa_ciphers' into 'master'
...
fix(mbedtls): fix ssl server crash when enable mbedtls dynamic buffer and...
See merge request espressif/esp-idf!18017
2022-05-21 13:38:40 +08:00
Darian
4afd048abf
Merge branch 'bugfix/freertos_smp_queue_sets_thread_safety' into 'master'
...
FreeRTOS: Fix queue set tests for SMP FreeRTOS
See merge request espressif/esp-idf!18169
2022-05-21 05:02:19 +08:00
Adam Múdry
b388321e3b
fatfs: Disable UTF-16 filename encoding
...
UTF-16 is not supported in VFS and not covered by unit tests
2022-05-20 15:15:01 +02:00
Adam Múdry
2565acbc28
fatfs: Fix possible integer overflow in esp_vfs_fat_info()
2022-05-20 14:51:11 +02:00
Roland Dobai
457beeb530
app_update: Fix otatool targets
...
Fix a regression caused by 6b361d923c
Closes https://github.com/espressif/esp-idf/issues/8843
2022-05-20 14:10:08 +02:00
yuanjm
667a7c6cd0
feat(netif): Add NETIF_FLAG_MLD6 flag for eth netif
...
Closes https://github.com/espressif/esp-idf/issues/8602
2022-05-20 11:26:27 +00:00
Li Jingyi
c88af419a3
mbedtls: fix ssl server crash when enable mbedtls dynamic buffer
...
Not free keycert until MBEDTLS_SSL_CLIENT_KEY_EXCHANGE for rsa key exchange methods, because keycert will be used to parse client key exchange.
2022-05-20 11:21:48 +00:00
Shu Chen
7e71c0cff2
Merge branch 'otbr-rcp-update' into 'master'
...
openthread: support automatic RCP update upon boot in border router
See merge request espressif/esp-idf!17322
2022-05-20 17:58:26 +08:00
jiangguangming
9719979e4f
UT: add a timeout-tag to make the esp_flash UT ci pass
2022-05-20 16:46:28 +08:00
jiangguangming
42bc0b0643
soc: remove unused MMU related macros
2022-05-20 16:46:28 +08:00
jiangguangming
9c6afee12f
flash mmap: abstract R/W MMU table instead of reg access
2022-05-20 16:46:27 +08:00
Omar Chebib
68ddce7c0b
Merge branch 'bugfix/esp32_i2c_incorrect_speed' into 'master'
...
I2C: Fix SCL period timings on ESP targets
See merge request espressif/esp-idf!17999
2022-05-20 13:33:03 +08:00
Marius Vikhammer
9362434c47
build-system: add property for architecture (riscv/xtensa)
...
riscv/xtensa is now a common component.
2022-05-20 09:00:32 +08:00
Richard Retanubun
bd3db823b1
Fixup inversion error causing error prints
...
ESP_RETURN_ON_FALSE(a, err_code, ...) macro
Will print and return err_code
if (unlikely(!(a)))
so "a" needs to state what we expect to be TRUE
which in this case means:
mld6_leavegroup_netif(...) == ERR_OK
2022-05-19 16:58:47 -04:00
Konstantin Kondrashov
8429ec2553
Merge branch 'feature/adds_check_32k_xtal_stopped' into 'master'
...
esp_hw_support: Adds a msg when 32k xtal was stopped
See merge request espressif/esp-idf!17581
2022-05-19 16:48:20 +08:00
Darian Leung
56d45f9999
freertos: Fix queue set tests for SMP FreeRTOS
...
The "Test Queue sets thread safety" tests relied on IDF FreeRTOS specific
scheduling behavior, thus resulting in the test getting stuck when running
with SMP FreeRTOS.
This commit updates and refactors the tests to work on both IDF and SMP FreeRTOS.
2022-05-19 16:28:10 +08:00
Roland Dobai
6755a63f3b
Merge branch 'feature/add_loading_gdbinit_file' into 'master'
...
feat: Added extra gdbinit file loading for reproducible build
Closes IDF-4415
See merge request espressif/esp-idf!17914
2022-05-19 16:22:48 +08:00
Marius Vikhammer
030e52f5d4
Merge branch 'feature/improve_doc_link_check' into 'master'
...
docs: fix broken links and re-enable linkchecker
Closes IDF-2640
See merge request espressif/esp-idf!17919
2022-05-19 15:52:17 +08:00
Darian
a4c4d8c59b
Merge branch 'feature/update_intr_wdt_for_freertos_smp' into 'master'
...
esp_system: Fix SMP FreeRTOS INT WDT and tidy up
Closes IDF-4749
See merge request espressif/esp-idf!18000
2022-05-19 14:43:08 +08:00
morris
8138f8bb02
driver: remove deprecated code
...
that declared as deprecated in the previous release
2022-05-19 11:31:53 +08:00
morris
d274cd5601
lcd: simplify iram safe test case
2022-05-19 11:10:59 +08:00
morris
ab87dde1d4
rmt_legacy: don't use early log in isr handler
...
...but use ESP_DRAM_LOGx instead
Closes https://github.com/espressif/esp-idf/issues/5414
2022-05-19 11:10:59 +08:00
David Cermak
60fc1ae035
lwip: Removed incorrect-fix 358ee481
2022-05-18 17:11:35 +02:00
David Cermak
d50739adec
lwip: forgotten ip4_route_src_hook to IRAM
2022-05-18 17:11:35 +02:00
David Cermak
e7f19f39bc
lwip: Fix the CI
2022-05-18 17:11:35 +02:00
David Cermak
09aa24632a
esp_netif: Support IPv6 autoconfig is enabled in menuconfig
2022-05-18 17:11:35 +02:00
David Cermak
a6154a5f10
lwip: Update default MEMP_NUM_SYS_TIMEOUT if timers on-demand
2022-05-18 17:11:35 +02:00
David Cermak
5d6afa3c4b
dhcp: Implement additional dhcp options
2022-05-18 17:11:35 +02:00
David Cermak
1564e8d5a9
lwip: Implement DHCP hook supporting MTU option
2022-05-18 17:11:35 +02:00
David Cermak
5aa3be11fd
dhcpserver: Minor #idfef fix
2022-05-18 17:11:35 +02:00
David Cermak
b6eb9002a8
add dhcp custom values
2022-05-18 17:11:35 +02:00
David Cermak
356bc603c4
lwip: Support DHCP restore last IP
2022-05-18 17:11:35 +02:00
David Cermak
7a04eb8d66
lwip: Reference specific ESP patches
...
Also adding ip4_napt.c to sources, as it's added by ESP-patches
2022-05-18 17:10:42 +02:00
David Cermak
53c009e626
lwip: Update socket API to include port-version of sockets/netdb
...
Added socket extention to the lwip hooks for implementing non-vanilla
{get/set}sockopts()
2022-05-18 17:10:42 +02:00
David Cermak
e909cd5219
tcp_transport/test: Fix localhost interface name
...
Per lwip spec it's two letter's name plus index, i.e. "lo0"
(the reason "lo" was accepted before was bug in lwip)
2022-05-18 17:10:42 +02:00
David Cermak
44a9620c17
esp_netif: Add thread safe pppapi set_auth API to esp-netif
2022-05-18 17:10:42 +02:00
David Cermak
dbc91f73e6
lwip: Use custom pbufs for eth and wifi port/netif
2022-05-18 17:10:42 +02:00
David Cermak
65bf5f2b10
lwip: Add mem-heap options to support ALLOCATION_FROM_SPIRAM_FIRST
2022-05-18 17:10:42 +02:00
David Cermak
06263efe0b
lwip: Add IPv4 route hook to the esp32 port
2022-05-18 17:10:42 +02:00
David Cermak
808ac7427a
lwip: Add freertos sys-arch port layer
...
Added sys_thread_sem_func(), sys_sem_signal_isr(), g_lwip_task
2022-05-18 17:10:42 +02:00
David Cermak
5b471a1848
esp_netif/lwip: Implement basic support for vanilla-lwip (2.1.3-REL)
...
* Reference lwip-2.1.3-REL vanilla lwip version
* Use inherent NETIF callbacks instead of dhcp/ipv6/autoip
2022-05-18 17:10:42 +02:00
Darian Leung
9b5601b7c7
freertos: Fix SMP FreeRTOS interrupt watchdog feeding
...
This commit fixes how SMP FreeRTOS feeds the INT WDT. Previously, the
port used vApplicationTickHook(). Now, all cores will feed the INT WDT
in xPortSysTickHandler().
2022-05-18 20:12:25 +08:00
Darian Leung
bd8b03888c
esp_system: Tidy up INT WDT
...
This commit tidys the INT WDT code formatting, comments, and API descriptions.
2022-05-18 20:12:25 +08:00
Darian Leung
7dc6fd9ff6
esp_system: Make interrupt WDT private API
...
This commit makes the interrupt WDT API private. To use the API,
IDF components should now '#include "esp_private/esp_int_wdt.h"'
2022-05-18 20:12:25 +08:00
Jiang Jiang Jian
51f6091761
Merge branch 'bugfix/fix_wifi_pm_state' into 'master'
...
esp_wifi: fix no null data after WiFi waking up.
Closes IDFGH-7070
See merge request espressif/esp-idf!18141
2022-05-18 17:42:31 +08:00
Jiang Jiang Jian
68fbd95e08
Merge branch 'bugfix/disable_bt_pll_track' into 'master'
...
Bluetooth: disable PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issues
See merge request espressif/esp-idf!18138
2022-05-18 17:24:25 +08:00
Omar Chebib
477bc9e64c
I2C: Fix SCL period timings on ESP targets
...
The output frequency is now more accurate as the SCL period timings have been fixed.
This fix applies for ESP32, ESP32S3, ESP32C3, ESP32C2 and ESP32H2
2022-05-18 05:36:08 +00:00
Michael (XIAO Xufeng)
0adb814af3
Merge branch 'bugfix/fix_memory_miss_bug_esp32c3_esp32s3' into 'master'
...
ESP32C3/ESP32S3: Fix cpu crash bug when wakeup from lightsleep for memory data miss
Closes IDF-162 and IDF-4923
See merge request espressif/esp-idf!17823
2022-05-18 12:05:08 +08:00
liuning
9d7479eda3
esp_wifi: fix no null data after WiFi waking up.
2022-05-17 21:45:55 +08:00
Karl Wang
777dbb6c83
components/bt: disable Bluetooth PLL track function for ESP32-C3/ESP32-S3 as it introduced coexistence issues
2022-05-17 20:00:23 +08:00
Martin Gano
e9716b1498
Merge branch 'feature/add-fatfs-parser' into 'master'
...
fatfsgen.py implement functionality for parsing fatfs
Closes IDF-4360
See merge request espressif/esp-idf!17951
2022-05-17 17:07:13 +08:00
David Čermák
285c6fc906
Merge branch 'bugfix/vfs_sock_select_race' into 'master'
...
vfs: Fix potential select() race if both sock and other-fd trigger
Closes IDFGH-7308
See merge request espressif/esp-idf!18023
2022-05-17 15:28:48 +08:00
Rahul Tank
95db4bbf05
NimBLE: Enabled ESP Timer support for esp32h2
2022-05-17 12:49:40 +05:30
Darian
4d751b9d6b
Merge branch 'feature/task_watchdog_freeertos_smp' into 'master'
...
esp_system: Add task watchdog user feature and fix SMP FreeRTOS idle task watchdog
Closes IDF-3340
See merge request espressif/esp-idf!17768
2022-05-17 15:13:43 +08:00
Michael (XIAO Xufeng)
adcdcbaa0e
Merge branch 'feat/pm_dbias_refactoring' into 'master'
...
pm: refactoring dbias related code
See merge request espressif/esp-idf!17994
2022-05-17 14:42:16 +08:00
Jiacheng Guo
ebcd922d53
fix review comments
2022-05-17 12:56:22 +08:00
Jiacheng Guo
a080a41b41
openthread: support automatic RCP update upon boot in border router
2022-05-17 12:55:48 +08:00
Shu Chen
92b6fc5d1f
Merge branch 'support/esp32h2beta2_libotport_and_libdriver' into 'master'
...
support build esp32h2beta1 & esp32h2beta2 on master
See merge request espressif/esp-idf!17858
2022-05-17 11:44:36 +08:00
Kapil Gupta
ba1daac5f0
Merge branch 'bugfix/wnm_rrm_caps_validation' into 'master'
...
esp_wifi: Add APIs to check for BTM, RRM support of connected AP
See merge request espressif/esp-idf!18092
2022-05-17 11:33:23 +08:00
Shu Chen
f1d1c5a876
Merge branch 'support/esp32h2beta2_phy_build' into 'master'
...
esp_phy: support esp32h2beta2 phy build
See merge request espressif/esp-idf!17856
2022-05-17 10:32:07 +08:00
David Čermák
d6459ab1a3
Merge branch 'bugfix/mqtt_read_neg_and_ping' into 'master'
...
mqtt: Fix incorrect reads on error; Update ping processing
Closes IDFGH-6859 and IDFGH-6930
See merge request espressif/esp-idf!18095
2022-05-17 03:02:59 +08:00
David Cermak
bf8ceae780
vfs: Fix potential select() race if both sock and other-fd trigger
...
This fixes a potential race condition in select() if both a socket-fd
and non-socket fd trigger simultaneously to unblock this select.
In case of both fds, we use lwip's local thread semaphore, so we only
have to try return it (if it was taken/triggered more than once) when
we exit select().
Closes https://github.com/espressif/esp-idf/issues/8896
2022-05-16 20:26:44 +02:00
David Cermak
58cf25193d
mqtt: Fix incorrect reads on error; Update ping processing
...
* Update submodule: git log --oneline 4874bab35659bd2301e65fd849f6559d7380d4f1..64f88b4412ea6649dbf207a07370c2617160d044
Detailed description of the changes:
* Fix documentation of config struct
- See merge request espressif/esp-mqtt!129
- See commit https://github.com/espressif/esp-mqtt/commit/e31834c
* Changes the moment we update keepalive_tick.
- See merge request espressif/esp-mqtt!127
- See commit https://github.com/espressif/esp-mqtt/commit/2c2e6f3
* MQTT: Fix signature matching for some integer values
- See merge request espressif/esp-mqtt!128
- Closes https://github.com/espressif/esp-idf/issues/8482
- MQTT: Fix signature matching for integer values (espressif/esp-mqtt@6b794e4 )
* Make the mqtt submodule logging tags lower case
- See merge request espressif/esp-mqtt!122
- See commit https://github.com/espressif/esp-mqtt/commit/fb3184c
Closes https://github.com/espressif/esp-idf/issues/8482
Closes https://github.com/espressif/esp-idf/issues/8550
2022-05-16 20:23:26 +02:00
Martin Gaňo
005af75da3
Added FATFS partition parser
2022-05-16 14:32:17 +02:00
zhangwenxu
9440430db2
esp_phy: support esp32h2beta2 phy build
2022-05-16 10:50:44 +00:00
Kapil Gupta
ee33c6ae05
esp_wifi: Add APIs to check BTM and RRM support of connected AP
2022-05-16 15:57:59 +05:30
Jiang Jiang Jian
8377a3fff1
Merge branch 'bugfix/fix_ble_ext_adv_parameter_detection' into 'master'
...
component/bt: check the ble ext adv parameters
See merge request espressif/esp-idf!15977
2022-05-16 16:13:56 +08:00
Jakob Hasse
dd3c5c3cbb
doc (nvs_flash): improved NVS partition flash documentation
...
Closes https://github.com/espressif/esp-idf/issues/8196
2022-05-16 14:13:43 +08:00
Anton Maklakov
cc2010682d
Merge branch 'bugfix/bluedroid_warnings' into 'master'
...
bluedroid: fix warnings
Closes GCC-242
See merge request espressif/esp-idf!17872
2022-05-16 13:36:36 +08:00
chaijie
cc0a5a4edb
solve memory error bug when in lightsleep mode
2022-05-16 11:43:00 +08:00
Armando (Dou Yiwen)
ad747b237a
Merge branch 'toos/add_s3_ut_based_on_quad_octal_psram' into 'master'
...
ci: add s3 ut based on quad octal psram
See merge request espressif/esp-idf!18087
2022-05-16 09:57:21 +08:00
Michael (XIAO Xufeng)
1f6fad6f48
Merge branch 'test/rtc_8m_d256' into 'master'
...
rtc: fixed 8MD256 can't be used as RTC slow src on ESP32
See merge request espressif/esp-idf!17989
2022-05-16 01:30:25 +08:00
Michael (XIAO Xufeng)
cb1abdf33e
Merge branch 'bugfix/remove_mislead_psram_type_is25' into 'master'
...
Kconfig: remove misleading psram name IS25WP032 in the Kconfig option
See merge request espressif/esp-idf!18025
2022-05-16 00:09:09 +08:00
Michael (XIAO Xufeng)
6f507d527c
rtc: fixed 8MD256 can't be used as RTC slow src on ESP32
...
Sync configuration from other chips
Closes: https://github.com/espressif/esp-idf/issues/8007 , https://github.com/espressif/esp-idf/pull/8089
2022-05-14 22:35:41 +08:00
Michael (XIAO Xufeng)
b920676e59
pm: add test for RTC using 8MD256 as clock source
2022-05-14 22:35:41 +08:00
Michael (XIAO Xufeng)
234628b3ea
pm: putting dbias and pd_cur code into same function
2022-05-14 02:35:11 +08:00
Jing Li
ac0d16cdc8
Merge branch 'bugfix/fix_cannot_lslp_again_after_ulp_wakeup' into 'master'
...
sleep: fix cannot lightsleep again after a wakeup from ULP
Closes IDFGH-4396
See merge request espressif/esp-idf!17970
2022-05-13 22:25:23 +08:00
Mahavir Jain
a0e27a186b
Merge branch 'esp32c2/support_secure_boot' into 'master'
...
ESP32C2: Support Secure Boot V2
Closes IDF-3846 and IDF-4209
See merge request espressif/esp-idf!17442
2022-05-13 19:46:22 +08:00
Mahavir Jain
dae6467263
Merge branch 'bugfix/remove_http_server_header_file' into 'master'
...
esp_http_server: Remove http_server.h Header file
See merge request espressif/esp-idf!18074
2022-05-13 19:34:13 +08:00
Harshit Malpani
73fc12cdcd
esp_http_server: Remove http_server.h Header file
2022-05-13 16:00:17 +05:30
Darian Leung
7c02bde904
esp_system: Update task watchdog unit tests and example
...
This commit does the following:
- Update existing unit tests that use the TWDT to call the new
esp_task_wdt_init() API
- Add a set of dedicate TWDT unit tests
- Updates the TWDT example
2022-05-13 18:01:28 +08:00
Darian Leung
5953bca376
esp_system: Add arbitrary user feature to TWDT
...
This commit moidifies the TWDT as follows:
- Adds a feature to allows subscribing arbitrary users to the TWDT
- Changes esp_task_wdt_init() API to accept configuration structure
- Changes esp_task_wdt_init() and esp_task_wdt_deinit() to subscribe/unsubscribe
idle tasks of various cores.
- Adds support for SMP FreeRTOS idle tasks
- Updates startup code TWDT initialization
- Updates API documentation
2022-05-13 18:01:28 +08:00
Darian Leung
4877a9fcba
esp_system: Refactor task_wdt
...
This commit refactors the task watchdog as follows:
- Renamed variables, types, and functions
- Replaced manual linked list implementation with SLIST()
- Moved calloc()/free() calls out of critical sections
- Shortened ISR critical sections
- Updated API description
- Updated code formatting
2022-05-13 17:57:44 +08:00
Aleksei Apaseev
e8cb6bd6b3
feat: Added extra gdbinit file loading for reproducible build
2022-05-13 08:41:24 +00:00
Anton Maklakov
39146a1d85
ble_mesh: correct function declaration
2022-05-13 15:24:17 +07:00
Djordje Nedic
e09ef86d7c
partition_table: Add warning when partitions are nearly full
...
This adds a warning in cases where the smallest partition is nearly full.
A test with a specially crafted partition table is created for the smallest partition warning.
If the threshold or the template itself change, change the factory app partition size as well.
2022-05-13 07:14:04 +00:00
Anton Maklakov
b69efa20ad
bluedroid: fix -Wchar-subscripts warning
...
'unsigner char' cast recommended, https://stackoverflow.com/a/60696378
2022-05-13 06:55:22 +00:00
Anton Maklakov
bcfec4ad74
bluedroid: suppress some -Waddress-of-packed-member warnings
2022-05-13 06:55:22 +00:00
Anton Maklakov
e44d7fbaed
bluedroid: fix argument type according its usage
2022-05-13 06:55:22 +00:00
Anton Maklakov
9a5f0f6c53
bluedroid: fix argument type to correct narrow one
2022-05-13 06:55:22 +00:00
Anton Maklakov
29b2beffc0
bluedroid: fix type for passing argument in function
2022-05-13 06:55:22 +00:00
Anton Maklakov
87bf3260dd
bluedroid: fix argument type in functions
2022-05-13 06:55:22 +00:00
Mahavir Jain
dcaa74ebb3
Merge branch 'feature/optimize_wifi_provisioning_memory' into 'master'
...
feat(wifi_provisioning): Optimize memory for wifi scan ap number
Closes AEG-67
See merge request espressif/esp-idf!18067
2022-05-13 13:58:34 +08:00
Yuan Jian Min
74ae372c73
feat(wifi_provisioning): Optimize memory for wifi scan ap number
2022-05-13 13:58:34 +08:00
Kapil Gupta
72e53d116a
Merge branch 'feature/internal_tls_code_update' into 'master'
...
wpa_supplicant: sync eap code with upstream
See merge request espressif/esp-idf!16962
2022-05-13 12:57:48 +08:00
Kapil Gupta
c2429f1cf9
wpa_supplicant: sync eap code with upstream
2022-05-13 12:57:47 +08:00
Sudeep Mohanty
1f47466664
Merge branch 'test/ignore_freertos_yield_tests' into 'master'
...
freertos: ignore freertos yield test failures
See merge request espressif/esp-idf!18078
2022-05-13 11:45:15 +08:00
Ivan Grokhotkov
849a296675
Merge branch 'bugfix/newlib_implement_atomic_load_store' into 'master'
...
newlib: implement __atomic_load/__atomic_store functions
Closes LLVM-144
See merge request espressif/esp-idf!17561
2022-05-13 02:14:15 +08:00
jingli
a85e187ea7
remove wrong function rtc_cntl_ll_ulp_wakeup_enable for esp32s2 and esp32s3
2022-05-12 21:51:21 +08:00
Darian
8dae294ab6
Merge branch 'refactor/freertos_kconfig_options' into 'master'
...
Freertos: Refactor Kconfig options
See merge request espressif/esp-idf!18043
2022-05-12 21:47:18 +08:00
Armando
591d45151d
psram: add quad mode kconfig macro on 32/s2
2022-05-12 21:36:18 +08:00
jingli
abb6bb1181
esp_hw_support/sleep: fix cannot enable sleep reject in some cases
...
When enable sleep reject before this fix, we have two limitations:
1. it must be light sleep
2. RTC GPIO wakeup source must be set
We require light sleep because `esp_deep_sleep_start` function has
been declared with "noreturn" attribute, So developers don't expect
that this function may return (due to an error or a sleep reject).
But the requirement for RTC GPIO wakeup source is not reasonable for
all chips. This requirement exists because ESP32 only supports RTC GPIO
and SDIO sleep reject sources. But later chips support all sleep reject
sources.
This fix brings the following changes:
for ESP32: RTC GPIO and SDIO sleep reject sources can be enabled
when corresponding wakeup source is set.
for later chips: all sleep reject sources can be enabled when
corresponding wakeup source is set.
2022-05-12 19:09:57 +08:00
jingli
ddcc5bfe38
improve ulp riscv test case
...
Add second sleep and wakeup test in test case `ULP-RISC-V is able to wakeup main CPU from light sleep`
2022-05-12 19:08:57 +08:00
Nachiket Kukade
2f4ec4e27d
Merge branch 'bugfix/sap_mode_change_crash_issue' into 'master'
...
Fixes for SAP mode change and PMF issues
Closes WIFI-4322, WIFI-4394, and IDFCI-1147
See merge request espressif/esp-idf!17865
2022-05-12 19:08:05 +08:00
jingli
dd414b9305
esp_hw_support/sleep: fix cannot lightsleep again after a wakeup from ULP
...
Since ulp wakeup signal are connected to ulp int raw(except esp32), we
need to clear ulp int raw before sleep when ulp wakeup enabled. Otherwise,
if the ulp int raw is already set, chip will not sleep properly.
Closes https://github.com/espressif/esp-idf/issues/6229
2022-05-12 17:57:08 +08:00
Marius Vikhammer
34910bee07
Merge branch 'bugfix/fix_doxygen_warnings' into 'master'
...
docs: fix doxygen warnings
See merge request espressif/esp-idf!18071
2022-05-12 16:54:52 +08:00
Wei Tian Hua
aef62ba21f
Merge branch 'bugfix/fix_bt_sphinx_warnings' into 'master'
...
components_bt: fix unstandard typedefs
Closes BT-2357
See merge request espressif/esp-idf!18047
2022-05-12 16:46:13 +08:00
Sudeep Mohanty
ffae594e8b
freertos: ignore freertos yield test failures
...
This commit updates the freertos yield tests to be ignored by the CI
during failures.
2022-05-12 13:57:02 +05:30
Marius Vikhammer
c8617fe965
docs: fix all doxygen warnings
...
Doxygen warnings would previously not result in a failed pipeline.
Fixed this as well as all current warnings.
2022-05-12 14:50:03 +08:00
Mahavir Jain
af1f342ee8
Merge branch 'fix/make_esp_tls_t_private' into 'master'
...
Make esp_tls_t as private structure
Closes IDF-2812
See merge request espressif/esp-idf!17812
2022-05-12 14:47:42 +08:00
KonstantinKondrashov
c8cd3e3da3
esp_hw_support: Adds a msg when 32k xtal was stopped
2022-05-12 06:28:52 +00:00
morris
068adfba70
heap: use ROM implementation for heap tlsf on esp32c2
2022-05-12 05:18:57 +00:00
morris
24f5fecef0
hal: use ROM implementation for systimer and wdt on esp32c2
2022-05-12 05:18:57 +00:00
morris
334126315f
esp32c2: level up from preview targets
2022-05-12 05:18:57 +00:00
Kapil Gupta
36321fda82
Merge branch 'feature/eloop_timer' into 'master'
...
wpa_supplicant: Add timer based eloop implementation
See merge request espressif/esp-idf!17430
2022-05-12 12:30:44 +08:00
Mahavir Jain
42aac8d1d7
Merge branch 'contrib/github_pr_8816' into 'master'
...
Don't ignore return value of `httpd_stop` (GitHub PR)
Closes IDFGH-7222
See merge request espressif/esp-idf!18040
2022-05-12 12:00:03 +08:00
Kapil Gupta
97d7bde1ea
Merge branch 'feature/wps_code_updation' into 'master'
...
wpa_supplicant: wps code cleanup
See merge request espressif/esp-idf!16577
2022-05-12 11:56:58 +08:00
Darian Leung
aa028f018f
freertos: Refactor Kconfig options
...
This commit refactors FreeRTOS Kconfig options as follows:
- Grouped them into Kernel and Port submenus
- Renamed Kernel option promppts to match upstream names
- Simplified some option descriptions
- Added "Todo" markers related to SMP support
2022-05-12 11:53:16 +08:00
Michael (XIAO Xufeng)
cc37f63e14
Merge branch 'bugfix/keep_rtc8m_in_lightsleep' into 'master'
...
pm: fixed RTC8M domain power down issue when used as RTC source
See merge request espressif/esp-idf!17612
2022-05-12 10:25:35 +08:00
weitianhua
4c370cc437
component_bt: Fix build doc errors of bt
...
1. bluedroid: use standard function pointer define.
2. blufi: Change ESP_BD_ADDR_LEN into ESP_BLUFI_BD_ADDR_LEN
3. doc/sphinx_known_warnings: Remove fixed parts.
2022-05-11 14:30:20 +00:00
Andrei Safronov
3d9814bf8b
newlib: implement __atomic_load/__atomic_store functions
2022-05-11 17:00:14 +03:00
Sachin Parekh
7dd62bb044
esp32c2: Remove assert check on len for SHA calculation
2022-05-11 18:00:07 +05:30
Sachin Parekh
2c725264f7
esp32c2: Support Secure Boot V2 based on ECDSA scheme
2022-05-11 18:00:03 +05:30
Kapil Gupta
ecc87cfc8d
wpa_supplicant: wps code updation
...
Update WPS code with upstream. Also moved ESP specific code
in another esp code folder.
2022-05-11 12:18:52 +00:00
Kapil Gupta
9c27cf93fc
Add testcase for eloop execution
2022-05-11 17:45:23 +05:30
Kapil Gupta
d06daee350
wpa_supplicant: Add timer based eloop implementation
2022-05-11 17:45:23 +05:30
Vilem Zavodny
342abc262f
Merge branch 'feature/esp_lcd_read_i2c' into 'master'
...
Feature/esp lcd read i2c
See merge request espressif/esp-idf!18016
2022-05-11 20:02:21 +08:00
Harshit Malpani
9f99d2350a
docs: Added breaking change for esp_https_server to migration guide
2022-05-11 16:30:16 +05:30
Mahavir Jain
dec3db6913
Merge branch 'bugfix/freertos_stack_tcb_alloc_order' into 'master'
...
freertos: fix allocation order for stack and TCB per portSTACK_GROWTH
See merge request espressif/esp-idf!18042
2022-05-11 18:09:49 +08:00
Harshit Malpani
2c56c6cad8
Updated coding style and added error logs
2022-05-11 08:58:01 +00:00
Nathan Phillips
e8e63a06e8
Don't ignore return value of httpd_stop
2022-05-11 08:58:01 +00:00
zhangwenxu
87070b8d3c
openthread: support build esp32h2beta1 & esp32h2beta2 on master
2022-05-11 16:32:19 +08:00
Aditya Patwardhan
aa9de02259
esp_tls.h: Clean up included header files.
2022-05-11 07:09:34 +00:00
Aditya Patwardhan
5b15c91ae4
esp_https_server.h: Remove const identifier for esp_tls pointer
2022-05-11 07:09:34 +00:00
Aditya Patwardhan
788c9ddf8d
esp_tls: Added getter function for esp_tls ssl ctx.
2022-05-11 07:09:34 +00:00
Aditya Patwardhan
434e74ff73
esp_tls: Make esp_tls_t as private structure.
2022-05-11 07:09:34 +00:00
Michael (XIAO Xufeng)
36074b9812
pm: add powerdown for int_8m on ESP32-C2 and ESP32-H2
...
Also move the xtal fpu logic to sleep_modes.c
2022-05-11 11:36:34 +08:00
Michael (XIAO Xufeng)
2905cbbe03
pm: fixed RTC8M domain power issues
...
introduced in e44ead5356
1. The int8M power domain config by default is PD. While LEDC is using
RTC8M as clock source, this power domain will be kept on.
But when 8MD256 is used as RTC clock source, the power domain should
also be kept on.
On ESP32, there was protection for it, but broken by commit
e44ead5356
. Currently the power domain
will be forced on when LEDC is using RTC8M as clock source &&
!int8m_pd_en (user enable ESP_PDP_DOMAIN_RTC8M in lightsleep). Otherwise
the power domain will be powered off, regardless of RTC clock source.
In other words, int8M domain will be forced off (even when 8MD256
used as RTC clock source) if LEDC not using RTC8M as clock source, user
doesn't enable ESP_PDP_DOMAIN_RTC8M, or in deep sleep.
On later chips, there's no such protection, so 8MD256 could't be used as
RTC clock source in sleep modes.
This commit adds protection of 8MD256 clock to other chips. Fixes the
incorrect protection logic overriding on ESP32. Now the power domain
will be determiend by the logic below (order by priority):
1. When RTC clock source uses 8MD256, power up
2. When LEDC uses RTC8M clock source, power up
3. In deepsleep, power down
4. Otherwise determined by user config of ESP_PDP_DOMAIN_RTC8M,
power down by default. (This is preferred to have highest
priority, but it's kept as is because of current code structure.)
2. Before, after the macro `RTC_SLEEP_CONFIG_DEFAULT` decides dbias, the
protection above may force the int8m PU. This may cause the inconsistent
of dbias and the int8m PU status.
This commit lifts the logic of pd int8m/xtal fpu logic to upper layer
(sleep_modes.c).
Related: https://github.com/espressif/esp-idf/issues/8007 , https://github.com/espressif/esp-idf/pull/8089
temp
2022-05-11 11:30:47 +08:00
morris
523c51818c
Merge branch 'feature/c2_soc_hwsupport_code' into 'master'
...
ESP32-C2 (729) RTC update (Clock, PM)
Closes IDF-3833 and IDF-4874
See merge request espressif/esp-idf!17311
2022-05-11 11:23:57 +08:00
Jakob Hasse
903649ddcd
Merge branch 'feature/component_ut_mem_leak_check' into 'master'
...
Component unit tests memory leak check
Closes IDF-2148
See merge request espressif/esp-idf!17667
2022-05-11 10:03:55 +08:00
morris
df5872b3a4
Merge branch 'feature/support_i2c_on_esp32h2' into 'master'
...
i2c: support i2c on esp32h2
Closes IDF-4155
See merge request espressif/esp-idf!17798
2022-05-10 22:48:05 +08:00
Sudeep Mohanty
f6be878b6c
Merge branch 'feature/freertos_smp_single_core_build' into 'master'
...
freertos: Enable FreeRTOS SMP unicore build
See merge request espressif/esp-idf!18020
2022-05-10 19:52:39 +08:00
Mahavir Jain
318f723042
freertos: extend snapshot test to check return status of vTaskGetSnapshot
2022-05-10 14:19:17 +05:30
Mahavir Jain
5b817038a0
freertos: add return value to API vTaskGetSnapshot
...
`vTaskGetSnapshot` is being used in coredump module to collect diagnostic information.
It is possible that input arguments are invalid and `assert` in this situation is not
correct.
This commit modifies API signature to return pdTRUE in case of success, and pdFALSE
otherwise. Caller can verify return value and then take appropriate decision.
2022-05-10 11:39:50 +05:30
Sudeep Mohanty
c60b70ff8f
Merge branch 'test/test-freertos-smp-yield-behavior' into 'master'
...
freertos: add freertos unit test to verify yielding behavior of the kernel
Closes IDF-3343
See merge request espressif/esp-idf!17903
2022-05-10 13:18:20 +08:00
Mahavir Jain
01855054ab
Merge branch 'bugfix/mbedtls_dynamic_buffer_crash_on_ssl_server' into 'master'
...
fix(mbedtls): fix ssl server memory leak when enable mbedtls dynamic buffer
Closes IDF-4836
See merge request espressif/esp-idf!17877
2022-05-09 23:07:50 +08:00
Mahavir Jain
1093173382
Merge branch 'bugfix/httpd_queue_work' into 'master'
...
esp_http_server: Update httpd_queue_work() API
Closes IDFGH-6813
See merge request espressif/esp-idf!17809
2022-05-09 21:59:13 +08:00
Li Jingyi
fa3cbf9162
fix(mbedtls): fix ssl server memory leak when enable mbedtls dynamic buffer function
2022-05-09 13:56:20 +00:00
Harshit Malpani
1bb03e17a7
esp_http_server: update httpd_queue_work() API to use semaphore
...
Closes: https://github.com/espressif/esp-idf/issues/8440
2022-05-09 18:00:05 +05:30
Nachiket Kukade
2aa156d8b5
esp_wifi: Update wifi libs
...
1. Fix issues caused during SoftAP mode change
2. Improve SoftAP PMF logic for triggering of SA Query and cleanup
2022-05-09 16:15:57 +05:30
Mahavir Jain
588a65759c
freertos: fix allocation order for stack and TCB per portSTACK_GROWTH
...
This is as per FreeRTOS recommendation and allows to protect task TCB
in case task stack has overflowed.
2022-05-09 15:45:38 +05:30
zlq
6336f8191e
C2 rtc code
2022-05-09 17:50:54 +08:00
Vilem Zavodny
4a2766d906
esp_lcd: Add support for rx_param on I2C transport.
2022-05-09 11:49:57 +02:00
Sudeep Mohanty
0eafe4d326
Merge branch 'bugfix/power-down-rtc-periph-for-ulp-touch-fsm' into 'master'
...
ulp: Keep RTC_CNTL_COCPU_SHUT_RESET_EN set for ULP RISC-V
Closes IDFGH-6186
See merge request espressif/esp-idf!17680
2022-05-09 15:31:50 +08:00
Mahavir Jain
f7f6a929f2
Merge branch 'bugfix/Fix_ios_ble_adv_rsp' into 'master'
...
Fix iOS advertisement response and simplify
Closes IDFGH-7093, IDFGH-5959, and IDFGH-7133
See merge request espressif/esp-idf!18003
2022-05-09 13:43:57 +08:00
morris
755233290a
Merge branch 'contrib/github_pr_8572' into 'master'
...
UART: added default clock source choice for all targets + Github PR fix
Closes IDFGH-6952
See merge request espressif/esp-idf!17502
2022-05-09 12:36:46 +08:00
Sudeep Mohanty
aa60118944
freertos: Enable FreeRTOS SMP unicore build
...
This commit enables unicore build with the FreeRTOS SMP kernel.
2022-05-09 09:44:44 +05:30
Sudeep Mohanty
3ea1c8bf96
freertos: add freertos unit test to verify yielding behavior of the kernel
...
This commit adds a unit test to verify the task yielding behavior of the
FreeRTOS SMP kernel.
2022-05-09 03:48:07 +00:00
Sudeep Mohanty
6fba3fc645
Merge branch 'refactor/refactor-freertos-tls-del-cb' into 'master'
...
freertos-smp: refactor thread local storage pointers deletion callbacks
Closes IDF-3330
See merge request espressif/esp-idf!17972
2022-05-09 11:45:27 +08:00
Vladimir Chistyakov
7a4cacfcd0
console: allow use apb clock for uart to achieve high baud rate
...
Console sets UART clock source to REF_TICK on ESP32 and ESP32S2 by
default, however, APB clock frequency does not change when power
management is disabled. Using APB clock source allows higher baud rates
for UART console.
Closes https://github.com/espressif/esp-idf/pull/8572
2022-05-09 11:26:30 +08:00
morris
c49e99f9e7
uart: use clk_tree API to acquire FAST_RC clock
2022-05-09 11:26:30 +08:00
morris
722fde218d
uart: add default source clock for all targets
2022-05-09 11:26:30 +08:00
morris
660ff8e840
rmt: declare RMTMEM as a block of memory
2022-05-09 11:26:30 +08:00
Jakob Hasse
905f5c3d41
feature (unity): added memory leak check API, integrated it into cxx tests
2022-05-09 11:09:20 +08:00
morris
f670c2a963
Merge branch 'contrib/github_pr_8888' into 'master'
...
utils.py: fix assert range with hour (GitHub PR)
Closes IDFGH-7300
See merge request espressif/esp-idf!18011
2022-05-09 10:11:26 +08:00
Marius Vikhammer
5bee313bde
Merge branch 'bugfix/kconfig_checker_osource' into 'master'
...
kconfig: update check_kconfigs.py to handle orsource command
See merge request espressif/esp-idf!18013
2022-05-09 09:48:06 +08:00
Wu Zheng Hui
0580d68b69
esp32c2: Support riscv floating-point library selection
2022-05-08 17:57:40 +08:00
Armando (Dou Yiwen)
03aeac1dde
Merge branch 'refactor/adc_hal_common_layer' into 'master'
...
adc: create common adc hal layer
See merge request espressif/esp-idf!17577
2022-05-08 15:45:56 +08:00
Armando
49747bb486
adc: create common adc hal layer
2022-05-07 19:20:44 +08:00
morris
c5cd86ae8b
test_utils: migrate to use new rmt driver
2022-05-07 10:34:50 +00:00
morris
2fb43820c2
driver_ng: implement new rmt driver
...
The legacy driver can't handle the breaking change between esp chips
very well.
And it's not elegant to extend new feature like DMA, ETM.
The new driver can return a opaque handle for each RMT channel.
An obvious transaction concept was also introduced.
TX and RX functionalities are splited out.
2022-05-07 10:34:50 +00:00
morris
df474e74a1
rmt_legacy: fix undetermined idle level
...
Closes https://github.com/espressif/esp-idf/issues/8864
2022-05-07 10:34:50 +00:00
morris
5bfe873725
driver: deprecate legacy rmt driver
...
The legacy driver is still available, but new feature won't be added.
Enable RMT_SUPPRESS_DEPRECATE_WARN if you don't want to see the
deprecated warnings.
2022-05-07 10:34:50 +00:00
Marius Vikhammer
d7053c38cc
docs: fix broken links
2022-05-07 13:09:41 +08:00
Roland Dobai
efc3357f1a
Merge branch 'feature/semihosting_call_number_change' into 'master'
...
Semihosting V2
Closes IDF-4893
See merge request espressif/esp-idf!17412
2022-05-07 00:28:48 +08:00
Michael (XIAO Xufeng)
76a46a939c
Kconfig: remove misleading psram name IS25WP032 in the Kconfig option
...
Closes: https://github.com/espressif/esp-idf/issues/8863
2022-05-06 22:56:53 +08:00
morris
06e071ba4b
Merge branch 'feature/driver_ng_enable_disable_logic' into 'master'
...
driver_ng: added explicit enable/disable functions
Closes IDF-4204
See merge request espressif/esp-idf!17885
2022-05-06 20:44:50 +08:00
Zim Kalinowski
4967ee40c6
Merge branch 'bugfix/lwip_afl_host_test_mock' into 'master'
...
LUpdate AFL host test mock
Closes IDF-4953
See merge request espressif/esp-idf!17962
2022-05-06 20:13:21 +08:00
morris
3a5fdfe35a
temp_sensor: added enable/disable functions
...
The previous start/stop functions have been rename to enable/disable.
2022-05-06 18:18:39 +08:00
morris
d67888b92b
pcnt: added enable/disable functions
2022-05-06 18:18:39 +08:00
morris
e7295c3577
gptimer: added enable/disable functions
2022-05-06 18:18:39 +08:00
morris
3f66660444
Merge branch 'feature/bringup_esp32c2eco1' into 'master'
...
esp32c2:ECO1 ROM update
Closes IDF-4933
See merge request espressif/esp-idf!17723
2022-05-06 18:06:26 +08:00
wuzhenghui
d8de64bff8
Kconfig: add depends
2022-05-06 15:26:43 +08:00
Mahavir Jain
e150c33695
Merge branch 'bugfix/remove_mdns_dependency_from_wifi_prov' into 'master'
...
wifi_provisioning: Remove mdns dependency
See merge request espressif/esp-idf!18006
2022-05-06 13:38:30 +08:00
Sudeep Mohanty
283f569a03
freertos-smp: refactor thread local storage pointers deletion callbacks
...
This commit updates how the TLS pointers deletion callbacks are called
during task deletion in the FreeRTOS SMP kernel. The callbacks are now
routed through the portCLEAN_UP_TCB() macro. This commit also adds a
new kconfig option CONFIG_FREERTOS_TLSP_DELETION_CALLBACKS to control
the enablement of the TLSP deletion callbacks.
2022-05-06 09:25:25 +05:30
Marius Vikhammer
c7a827a136
kconfig: update check_kconfigs.py to handle orsource command
...
check_kconfigs.py would only correctly handle "source", but not "rsource", "osource"
or "orsource".
Fixed any warnings detected after updating the test.
2022-05-06 11:31:24 +08:00
Simon
0b00831703
Merge branch 'bugfix/i2c_timeout_issue' into 'master'
...
I2C: Patch for solving watchdog timeout issue
Closes IDFGH-6923, IDFGH-6463, and IDFGH-5558
See merge request espressif/esp-idf!17956
2022-05-06 10:38:38 +08:00
Mahavir Jain
b3ab2c64d4
Merge branch 'bugfix/fix_websocket_server' into 'master'
...
fix(server): Fix websocket server not support handle multiple connections when client send CLOSE frame
Closes IDFGH-7162
See merge request espressif/esp-idf!17997
2022-05-06 09:18:06 +08:00
Yuan Jian Min
293830a8ee
fix(server): Fix websocket server not support handle multiple connections when client send CLOSE frame
2022-05-06 09:18:05 +08:00
Jiang Jiang Jian
34211f898c
Merge branch 'docs/update_esp_hid_device' into 'master'
...
[docs] fix documents for Bluetooth HID Device API reference and example
See merge request espressif/esp-idf!17558
2022-05-05 23:58:07 +08:00
Armando (Dou Yiwen)
76be0c2624
Merge branch 'bugfix/fix_esp32_mmu_init_issue' into 'master'
...
mmu: add ll functions for mmu unmap
Closes OCD-526 and IDF-4962
See merge request espressif/esp-idf!17868
2022-05-05 22:21:18 +08:00
Harshit Malpani
185a45c9d7
wifi_provisioning: Remove mdns dependency
...
mDNS code here was futuristic which was never used.
Removing this section of code as wifi_provisioning does not necessarily require it
2022-05-05 16:46:24 +05:30
Kapil Gupta
cb222740bd
Merge branch 'bugfix/coverity_fixes' into 'master'
...
wpa_supplicant: Fix issues reported by coverity
Closes WIFI-4390
See merge request espressif/esp-idf!17915
2022-05-05 18:17:27 +08:00
wuzhenghui
386efe1e0f
Sync: Add support for FT psk( 3d5ca7ee
)
2022-05-05 18:10:43 +08:00
wuzhenghui
d4757a329e
add todo
2022-05-05 17:41:12 +08:00
wuzhenghui
fa482239a9
esp32s3: use wdt/systimer hal rom implement as default for esp32s3
2022-05-05 17:41:11 +08:00
wuzhenghui
ba76b10d3f
esp32c2: fix ut case header imssing
2022-05-05 17:41:11 +08:00
wuzhenghui
961b08f1a7
hal: use WDT HAL IMPL in ESP32C2 ROM
2022-05-05 17:41:11 +08:00
wuzhenghui
17b3d139d5
hal: use systimer HAL IMPL in ESP32C2 ROM
2022-05-05 17:41:11 +08:00
jiangguangming
6ec373daf5
heap_tlsf: use tlsf IMPL in ESP32C2 ROM
2022-05-05 17:41:11 +08:00
jiangguangming
a9f8b20431
spi_flash: enable ESP32C2 SPI_FLASH_ROM_IMPL
2022-05-05 17:41:11 +08:00
wuzhenghui
0a5367d29b
newlib: link ESP8684 ROM symbols _printf_float & _scanf_float
2022-05-05 17:41:11 +08:00
wuzhenghui
b530632f33
esp32c2: fix soc_caps defines
2022-05-05 17:41:11 +08:00
wuzhenghui
d91ccbc346
esp32c2: update eco rom
2022-05-05 17:41:11 +08:00
lorenzo.consolaro
87cc13f369
Fix iOS advertisement response and simplify
2022-05-05 14:57:25 +05:30
Erhan Kurubas
ad078c5153
semihosting: drop absolute path support
2022-05-05 09:12:42 +00:00
Erhan Kurubas
0fc0254734
semihosting: version 2
2022-05-05 09:12:42 +00:00
Cao Sen Miao
9a9f10e4c9
I2C: patch for solving watchdog timeout issue
2022-05-05 14:36:49 +08:00
Kapil Gupta
805b5c9115
Merge branch 'feature/11r_changes' into 'master'
...
esp_wifi: Add support for FT psk
Closes WIFI-2160
See merge request espressif/esp-idf!16754
2022-05-05 14:30:37 +08:00
morris
25456069dc
Merge branch 'feature/disable_protection' into 'master'
...
bootloader: Create option for toggling memory region protection
See merge request espressif/esp-idf!17981
2022-05-05 13:04:30 +08:00
morris
595df1d3fa
Merge branch 'refactor/move_rtc_ctrl_to_esp_hw_support' into 'master'
...
hw_support: move rtc_ctrl from driver to hw_support
See merge request espressif/esp-idf!17963
2022-05-05 11:57:31 +08:00
Ivan Grokhotkov
6b88cc190e
Merge branch 'bugfix/console_usbserjtag_detect' into 'master'
...
console, usb_serial_jtag: don't block on non-interactive terminals
Closes IDFGH-7248
See merge request espressif/esp-idf!17985
2022-05-04 19:19:56 +08:00
Ivan Grokhotkov
1b90711545
vfs: usb_serial_jtag: consider O_NONBLOCK flag when reading via driver
...
Closes https://github.com/espressif/esp-idf/issues/8839
2022-05-04 11:37:52 +02:00
Ivan Grokhotkov
6b5599bb12
console: linenoiseProbe: check if response is valid
...
Previously linenoiseProbe would accept any 4 byte response, even one
that isn't expected. This adds a check that the first byte of the
response is ESC.
Suggested in https://github.com/espressif/esp-idf/issues/8839 .
2022-05-03 21:26:14 +02:00
Junzhuo
0172e97151
utils.py: fix assert range with hour
...
`hour=23` (23 P.M.) will out of the `range(0, 23)`, which should be `range(0, 24)`.
2022-05-04 00:43:27 +08:00
Gustavo Henrique Nihei
8ffb157791
bootloader: Create option for enabling memory region protection
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-05-03 09:58:25 -03:00
Ivan Grokhotkov
77b754b47f
newlib: fix return value of no-VFS _read_r if nothing received
...
'read' function should return 0 when encountering an end of file. When
newlib calls read and sees EOF returned, it assumes that this
condition is permanent and never calls 'read' for this file again
(unless the read pointer is moved using fseek).
The correct behavior in case no characters were received over UART is
to return -1. In this case newlib will retry reading from file on next
call to fread, fgetc or another function which calls __srefill_r.
2022-05-02 20:47:18 +02:00
Ivan Grokhotkov
47659be5b8
build system: remove lwip from common requirements
...
lwip was added to common requirements list to provide "sys/socket.h"
header to all components without additional requirements specified.
However, lwip pulls in a lot of dependencies on other components.
This commit removes lwip from common requirements to reduce the number
of components in G1-only apps.
To compensate for this removal, the following changes are made:
- newlib (which is a common requirement) has a public dependency on
lwip if lwip is present in the build. This ensures that sys/socket.h
is available as long as lwip component is included into the build.
- lwip is now a public requirement of esp-tls since esp_tls.h includes
sys/socket.h header.
- lwip is now a public requirement o esp_http_client because
sys/socket.h is included from esp_http_client.h
- lwip is now a private requirement of esp_wifi for "smartconfig_ack"
- lwip is now a private requirement of mqtt for socket functions
- lwip is now a public requirement of tcp_transport because
esp_transport_tcp.h includes sys/socket.h header.
- mbedtls checks if lwip component is present in the build. If yes,
net_sockets.c is added to the build, along with the dependency on
lwip. Previously lwip was a public requirement of mbedtls
unconditionally.
system/g1_components test app is updated to reflect the changes
Default public dependencies of a component before and after this
change, except common requirements:
- esp_timer (public dependency of freertos)
- bootloader_support (public dependency of esp_hw_support)
- vfs (public dependency of lwip)
- esp_wifi (public dependency of lwip)
- esp_event (public dependency of esp_wifi)
- esp_netif (public dependency of esp_event)
- esp_eth (public dependency of esp_netif)
- esp_phy (public dependency of esp_wifi)
After:
- esp_timer (public dependency of freertos)
- bootloader_support (public dependency of esp_hw_support)
Altogether, the following components have been always added as
public requirements to all other components, and are not added now
([breaking-change]):
- lwip
- vfs
- esp_wifi
- esp_event
- esp_netif
- esp_eth
- esp_phy
Application components now need to explicitly declare dependencies on
these components.
2022-05-02 20:47:17 +02:00
Ivan Grokhotkov
81f2a94f9a
esp_system: make dependencies on vfs and esp_wifi optional
2022-05-02 20:47:17 +02:00
Martin Vychodil
aa1200607a
Merge branch 'feature/mmc_validate_hs_mode' into 'master'
...
Add high speed mode switch validation check for mmc.
See merge request espressif/esp-idf!17545
2022-05-02 22:45:20 +08:00
kapil.gupta
3d5ca7ee6e
wpa_supplicant: Add support for FT psk
2022-05-01 16:16:51 +05:30
Jiang Jiang Jian
baa5b8ed7d
Merge branch 'bufix/esp32c3_s3_build_err' into 'master'
...
component_bt: Fix ESP32C3/S3 build error after enabled light sleep
Closes BT-2086
See merge request espressif/esp-idf!17546
2022-05-01 17:48:18 +08:00
Jiang Jiang Jian
4adab0b707
Merge branch 'bugfix/default_ssid_not_set' into 'master'
...
esp_wifi: Fix for default ssid not set.
Closes IDFGH-7141
See merge request espressif/esp-idf!17910
2022-05-01 17:35:44 +08:00
Jiang Jiang Jian
e30e664519
Merge branch 'bugfix/fix_esp32c3_brownout_under_deepsleep' into 'master'
...
rtc: fix c3 brownout bug after deepsleep
Closes IDF-4875
See merge request espressif/esp-idf!16654
2022-05-01 17:28:54 +08:00
David Čermák
2941cd353a
Merge branch 'bugfix/tcp_transport_documentation' into 'master'
...
tcp_transport: Fix documentation for connect functions
See merge request espressif/esp-idf!17270
2022-04-30 07:45:21 +08:00
Darian
52bf6367b9
Merge branch 'refactor/freertos_smp_move_idf_api' into 'master'
...
freertos: Move SMP FreeRTOS IDF API additions to seperate files
See merge request espressif/esp-idf!17897
2022-04-29 17:25:17 +08:00
Darian Leung
e08d574a5d
lwip: Update AFL host test mock
...
This commit updates and refactors the AFL host test mock as follows:
- Isolates the mock so that it only relies on lwip component and linux stdlib headers
- Grouped all mock functions in 'esp32_mock.h/c'
- Updates the lwip esp32 port files to include 'esp32_mock.h' when building for linux
- Use host stdlib headers instead of xtensa stdlib headers
2022-04-29 15:11:44 +08:00
Darian Leung
4e4f20d82a
lwip: Fix extra or missing includes
2022-04-29 15:11:44 +08:00
morris
9ab4abfb46
hw_support: move rtc_ctrl from driver to hw_support
2022-04-29 14:28:09 +08:00
Mahavir Jain
7acaa7f96d
Merge branch 'bugfix/http_auth_for_multiple_redirect' into 'master'
...
esp_http_client: Fix redirect by resetting auth_header before parsing
Closes IDF-4821
See merge request espressif/esp-idf!17736
2022-04-29 12:46:02 +08:00
Vamshi Gajjela
f116228cd6
Add high speed mode switch validation check for MMC.
2022-04-28 15:23:21 +02:00
Kapil Gupta
f38e6cb4fa
Merge branch 'bugfix/tkip_countermeasure_changes' into 'master'
...
wpa_supplicant: Unicast key renew in TKIP mic failure
See merge request espressif/esp-idf!17819
2022-04-28 18:50:44 +08:00
Jiang Jiang Jian
1b81efc320
Merge branch 'bugfix/idle_task_skipped_light_sleep' into 'master'
...
pm_impl: fix neither enter light sleep nor enter "waiti" state in idle task
Closes IDFGH-6294
See merge request espressif/esp-idf!17820
2022-04-28 16:11:29 +08:00
Sudeep Mohanty
f709faea7c
ulp: Keep RTC_CNTL_COCPU_SHUT_RESET_EN set for ULP RISC-V
...
RTC_CNTL_COCPU_SHUT_RESET_EN register was being reset during ULP RISC-V
initialization which does not let the ULP RISC-V coprocessor to reset
after it goes to halt. For proper operation of the coprocessor, it must
be reset after each cycle and hence this commit keeps
RTC_CNTL_COCPU_SHUT_RESET_EN set.
2022-04-28 13:41:07 +05:30
Roland Dobai
fdf784b7d7
Merge branch 'feature/add_gdb_as_a_tool' into 'master'
...
tools: add GDB v11.1 as a tool
Closes IDF-3880, IDF-4079, OCD-411, IDFGH-4510, and GCC-90
See merge request espressif/esp-idf!17100
2022-04-28 14:35:13 +08:00
Michael (XIAO Xufeng)
6bc8dd0f92
Merge branch 'feature/support_esp32s3_bbpll_fix' into 'master'
...
rtc: update esp32s3 bbpll config
Closes IDF-4872
See merge request espressif/esp-idf!14471
2022-04-27 22:52:21 +08:00
Darian Leung
efdedaf726
freertos: Move IDF API additions to seperate files
...
This commit moves the IDF API additions from task.h/task.c to seperate header/source files.
- Declarations moved to "idf_additions.h"
- Definitions moved to "freertos_task_c_additions.h"
The API descriptions have also been updated.
2022-04-27 20:31:39 +08:00
Espressif BOT
4a56352f56
Update esp_crt_bundle certificates
2022-04-27 11:26:58 +00:00
Jiang Jiang Jian
5d59e8db5f
Merge branch 'bugfix/fix_build_warring' into 'master'
...
esp_phy: fix build warning
Closes WIFI-4396
See merge request espressif/esp-idf!17838
2022-04-27 18:19:13 +08:00
Ivan Grokhotkov
871375cae3
Merge branch 'bugfix/bootloader_support_public_req' into 'master'
...
esp_hw_support: remove public dependency on bootloader_support
See merge request espressif/esp-idf!17792
2022-04-27 17:04:07 +08:00
Ivan Grokhotkov
25a5344763
Merge branch 'feature/vfs_fat_info' into 'master'
...
fatfs: add esp_vfs_fat_info() + unit tests
Closes IDF-4853
See merge request espressif/esp-idf!17654
2022-04-27 17:01:33 +08:00
Wang Meng Yang
3198e17f4e
Merge branch 'bugfix/spp_crash_after_call_spp_deinit' into 'master'
...
Component_bt/Fix spp crash after call esp_spp_deinit
Closes BT-2342
See merge request espressif/esp-idf!17842
2022-04-27 13:02:24 +08:00
Xiong Wei Chao
af84842e8b
Component_bt/Fix spp crash after call esp_spp_deinit
2022-04-27 13:02:23 +08:00
Omar Chebib
5bd4decad1
I2C: Read transactions, without a STOP, won't panic anymore
...
* Closes https://github.com/espressif/esp-idf/issues/8548
2022-04-27 03:55:19 +00:00
Armando
b748a4fe5e
mmu: improve vaddr range check
2022-04-27 11:35:07 +08:00
Armando
e09787d851
mmu: fix macro MMU_ENTRY_NUM and add new macro MMU_MAX_PADDR_PAGE_NUM
2022-04-27 11:35:07 +08:00
Armando
2764cd5682
mmu: simplify mmu_hal_init
2022-04-27 11:35:07 +08:00
jiangguangming
63ac5e4a99
mmu: add ll func used to invalidate the mmu entry
2022-04-27 11:35:07 +08:00
Simon
e4d85807ea
Merge branch 'feature/spi_flash_esp8684_support' into 'master'
...
spi_flash: refactor spi_flash clock configuration logic and support esp32c2
Closes IDF-4474, IDF-4025, and IDF-4066
See merge request espressif/esp-idf!16602
2022-04-27 11:05:45 +08:00
Ivan Grokhotkov
3175e472ba
Merge branch 'bugfix/freertos_esp_timer_deps' into 'master'
...
esp_timer: remove from freertos public requirements
See merge request espressif/esp-idf!17818
2022-04-27 04:13:25 +08:00
Konstantin Kondrashov
2ce6c78af4
Merge branch 'feature/check_block_after_burn' into 'master'
...
efuse: Validates data after burning and re-burnes it if necessary
Closes ESPCS-817
See merge request espressif/esp-idf!17686
2022-04-27 01:10:42 +08:00
Konstantin Kondrashov
df30b362a8
efuse: Validates data after burning and re-burnes it if necessary
2022-04-27 01:10:41 +08:00
Kapil Gupta
f070e2db6d
wpa_supplicant: Fix issues reported by coverity
2022-04-26 21:40:27 +05:30
Alex Lisitsyn
09c1fbae4a
Merge branch 'bugfix/driver_uart_fix_tx_bytes_rts_assert_failure' into 'master'
...
driver: uart fix send bytes in RS485 mode rts assert failure
See merge request espressif/esp-idf!14583
2022-04-26 21:48:07 +08:00
Alex Lisitsyn
fe41cc13f8
driver: uart fix send bytes in RS485 mode rts assert failure
2022-04-26 21:48:07 +08:00
aditi_lonkar
9fb0708782
esp_wifi: Fix for default ap ssid not set.
2022-04-26 17:55:14 +05:30
Kapil Gupta
9a818cf31d
wpa_supplicant: Unicast key renew in TKIP mic failure
...
Currently we always request group key renew for during
TKIP mic failure. Add support for unicast/multicast
key renew as per packet.
2022-04-26 17:43:34 +05:30
Island
5a87a9c65e
Merge branch 'bugfix/oversized_SegN_as_valid' into 'master'
...
ble_mesh: stack: Bugfix for oversized SegN as valid
See merge request espressif/esp-idf!17576
2022-04-26 19:18:43 +08:00
Mahavir Jain
adb04c5ab1
Merge branch 'bugfix/wifi_provisioning_arduino' into 'master'
...
provisioning: replace <lwip/inet.h> by <lwip/ip4_addr.h> in wifi_provisioning/wifi_config.h
See merge request espressif/esp-idf!17884
2022-04-26 17:42:30 +08:00
Rodrigo Garcia
d7201b82f2
provisioning: replace <lwip/inet.h> by <lwip/ip4_addr.h> in wifi_provisioning/wifi_config.h
2022-04-26 17:42:29 +08:00
Jiang Jiang Jian
e966af7237
Merge branch 'docs/update_wifi_api_doc' into 'master'
...
DOC: update wifi api docs
Closes DOC-2542, DOC-2672, DOC-743, and WIFI-3748
See merge request espressif/esp-idf!17552
2022-04-26 17:12:50 +08:00
Cao Sen Miao
4418a855ba
spi_flash: refactor the spi_flash clock configuration, and add support for esp32c2
2022-04-26 15:22:37 +08:00
Jessy Chen
2e5c28eb46
esp_phy: fix tx power limit for esp32s2/s3/c3
2022-04-26 02:46:08 -04:00
Jessy Chen
991fc96fcb
esp_phy: fix build warning
2022-04-26 02:46:02 -04:00
Jing Li
e503ebf5f9
Merge branch 'bugfix/_rtc_slow_length_incorrectly_optimized' into 'master'
...
sleep_power_domain: fix _rtc_slow_length being incorrectly optimized by compiler
Closes IDFGH-4705
See merge request espressif/esp-idf!17887
2022-04-26 11:29:02 +08:00
Jiang Jiang Jian
158116b2e6
Merge branch 'bugfix/fix_disable_bt_log_ci_fail' into 'master'
...
component_bt: Fix CI failure when disable bluetooth debug log
See merge request espressif/esp-idf!17898
2022-04-26 11:23:09 +08:00
Jiang Jiang Jian
43f769dcb4
Merge branch 'contrib/github_pr_8779' into 'master'
...
esp_wifi: fix clearing default wifi netif procedure(GitHub PR)
Closes IDFGH-7179
See merge request espressif/esp-idf!17788
2022-04-26 11:14:39 +08:00
Jiang Jiang Jian
37a1bf3a6f
Merge branch 'feature/lwip_logs_through_ESP_LOG_interface' into 'master'
...
feature/add option to route LWIP logs through ESP_LOG interface
Closes IDFGH-7186
See merge request espressif/esp-idf!17893
2022-04-26 10:45:20 +08:00
Ivan Grokhotkov
b0544b9745
esp_timer: only add as a public dependency to FreeRTOS if necessary
...
esp_timer will be added as a dependency to freertos only if
CONFIG_FREERTOS_RUN_TIME_STATS_USING_ESP_TIMER is enabled.
Other components are updated to add esp_timer as public or private
dependency, as needed.
This removes esp_timer from the default list of public dependencies.
2022-04-25 18:39:59 +02:00
Ivan Grokhotkov
708e99497b
global: add dependency on esp_timer component and include esp_timer.h
...
Some components were including esp_timer.h without declaring a
dependency on esp_timer component. This used to work due to a
transitive public dependency on esp_timer from freertos component.
Add explicit dependencies where needed.
Also some source files were using esp_timer functions without
including the header file. This used to work because esp_timer.h was
included from freertos port header file. This commit adds esp_timer.h
includes where needed.
2022-04-25 18:39:23 +02:00
morris
080953ce02
Merge branch 'contrib/github_pr_8812' into 'master'
...
usb_serial_jtag: make CONFIG_DEFAULT initializer match order of structure definition (GitHub PR)
Closes IDFGH-7218
See merge request espressif/esp-idf!17886
2022-04-25 18:54:55 +08:00
xiongweichao
5a16fa95e9
Fix CI failure when disable bluetooth debug log
2022-04-25 18:35:22 +08:00
david zuhn
52e34fb7fd
usb_serial_jtag: make CONFIG_DEFAULT initializer match order of structure definition
2022-04-25 17:52:00 +08:00
sly
117c30e835
fix S3 bbpll calibrate fail bug in high temperature
2022-04-25 16:41:04 +08:00
Jeff H
5ebd86ab6a
add option to route LWIP logs through ESP_LOG interface
...
Signed-off-by: xueyunfei <xueyunfei@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/8785
Closes https://github.com/espressif/esp-idf/issues/8361
2022-04-25 16:35:04 +08:00
Roland Dobai
5f017e5390
Merge branch 'feature/esptool_package' into 'master'
...
esptool: Include esptool as a Python package instead of using it as a submodule
Closes IDF-4785
See merge request espressif/esp-idf!17639
2022-04-25 16:17:56 +08:00
morris
017f35a357
Merge branch 'contrib/github_pr_8825' into 'master'
...
fix small typos in the comments (documentation) (GitHub PR)
Closes IDFGH-7231
See merge request espressif/esp-idf!17890
2022-04-25 15:39:31 +08:00
Harshit Malpani
437d90c408
esp_http_client: Fix redirect by resetting auth_header before parsing
2022-04-25 05:16:49 +00:00
Rahul Tank
a82e6e63d9
Merge branch 'bugfix/fix_incorrect_timer_comment' into 'master'
...
NimBLE: Correct the log level of timer reset value print
See merge request espressif/esp-idf!17874
2022-04-25 12:43:48 +08:00
Alexey Lapshin
b5bafae596
tools: add GDB v11.1 as a tool
...
GDB now is standalone tool separated from toolchain due to frequent updates.
Added installation tests for the new tool.
Tests are changed because they were wrong, see explanation:
esp32 objdump:
40084290 <esp_crosscore_int_send_yield>:
......
/builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145
4008429c: 000090 retw
With previous GDB backtrace was:
#0 0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:144
This commit fixes the backtrace with the right line number:
#0 0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145
Other tests changes have the same cause of fixing.
Closes https://github.com/espressif/esp-idf/issues/6334
2022-04-25 11:21:48 +07:00
wangjialiang
a094532785
ble_mesh: stack: Bugfix for oversized SegN as valid
2022-04-25 11:47:10 +08:00
Jiang Jiang Jian
68d4c47b7e
Merge branch 'update/wifi_api_Docs' into 'master'
...
DOC:update wifi api docs
Closes WIFI-4380, WIFI-3856, IDFGH-6362, and IDFGH-6778
See merge request espressif/esp-idf!16194
2022-04-25 10:48:31 +08:00
Jack
4169ca1a2b
esp_wifi: update wifi lib
2022-04-25 00:00:51 +08:00
zhangyanjiao
e3b8f59867
update wifi api docs
2022-04-24 23:55:54 +08:00
Jack
59af19b502
esp_wifi: update wifi lib
2022-04-24 23:22:19 +08:00
jingli
f3ea7f8838
fix _rtc_slow_length being incorrectly optimized by compiler
2022-04-24 23:13:48 +08:00
Michael (XIAO Xufeng)
cbbb308173
Merge branch 'bugfix/esp_flash_forbid_invalid_init' into 'master'
...
spi_flash: forbid writing to main flash when using invalid init arguments
Closes IDFGH-6936
See merge request espressif/esp-idf!17761
2022-04-24 22:53:57 +08:00
Jacques Supcik
2a00945fba
fix small typos
2022-04-24 16:50:08 +02:00
Jessy Chen
8c3a8ea603
esp_wifi: update esp_wifi_internal_set_fix_rate usage
2022-04-24 21:20:54 +08:00
Jessy Chen
5cb82df4dc
esp_wifi: update noise floor unit
2022-04-24 21:20:54 +08:00
xueyunfei
26fa8260b1
Doc:update wifi api docs
...
* Add documents related to espnow config rate
* Optimization set dns server api description
2022-04-24 21:20:54 +08:00
Jack
63af85f7e7
esp_wifi: fix espnow recv unencrypted packets issue
...
Closes https://github.com/espressif/esp-idf/issues/8577
Closes https://github.com/espressif/esp-idf/issues/8574
2022-04-24 20:23:12 +08:00
muhaidong
8ef2ed8269
esp_wifi: fix the bug that check whether bssid is zero mac
2022-04-24 20:09:07 +08:00
Marius Vikhammer
45c1d1cba2
Merge branch 'feature/move_target_kconfig_2' into 'master'
...
system: move kconfig options out of target component
See merge request espressif/esp-idf!17321
2022-04-24 13:29:43 +08:00
laokaiyao
b99ced08a2
i2s: fix only right case
...
Closes: https://github.com/espressif/esp-idf/issues/8538
2022-04-23 07:38:45 +00:00
laokaiyao
5b3468ebb3
i2c: support i2c on esp32h2
2022-04-23 07:38:25 +00:00
radim.karnis
2bb7dc4471
esptool: Include as a package, delete submodule
2022-04-22 21:31:17 +02:00
Darian
7c5cf3988f
Merge branch 'bugfix/twai_ll_parse_frame_buffer_typo' into 'master'
...
TWAI: Fix twai_ll_parse_frame_buffer() typo
Closes IDFGH-7140
See merge request espressif/esp-idf!17875
2022-04-22 21:29:59 +08:00
Rahul Tank
e254d1f855
NimBLE: Correct the log level of timer reset value print
2022-04-22 16:21:28 +05:30
morris
5f8ead1bb6
Merge branch 'bugfix/fix_rtc_mem_load_err' into 'master'
...
rtc_regulator: fix rtc mem load err
Closes AUD-3740
See merge request espressif/esp-idf!17870
2022-04-22 16:38:18 +08:00
Darian Leung
09dc46552b
twai: Fix twai_ll_parse_frame_buffer() typo
...
Closes https://github.com/espressif/esp-idf/issues/8743
2022-04-22 15:25:39 +08:00
Mahavir Jain
85e73b9871
Merge branch 'bugfix/mbedtls_arguments' into 'master'
...
mbedtls: fix argument types and take care overflow warnings
Closes GCC-239
See merge request espressif/esp-idf!17847
2022-04-22 11:59:26 +08:00
Sudeep Mohanty
2b507c33aa
Merge branch 'feature/freertos-smp-task-deletion-coproc-cleanup' into 'master'
...
freertos-smp: Task Deletion Coproc context save area cleanup
Closes IDF-3332
See merge request espressif/esp-idf!17628
2022-04-22 11:51:31 +08:00
Jiang Jiang Jian
5203b876db
Merge branch 'bugfix/pmf_disable_api' into 'master'
...
Add API to disable PMF configuration
See merge request espressif/esp-idf!17685
2022-04-22 10:29:41 +08:00
Anton Maklakov
f4c190cadd
Merge branch 'bugfix/abs_arguments' into 'master'
...
fix warnings: abs() use again
Closes GCC-240
See merge request espressif/esp-idf!17846
2022-04-22 09:30:23 +08:00
Zim Kalinowski
6f11c5884a
Merge branch 'feature/refactor-freertos-tests' into 'master'
...
freertos: Reorganized FreeRTOS folder structure
Closes IDF-4753
See merge request espressif/esp-idf!17793
2022-04-22 03:03:59 +08:00
jingli
252a4eceb4
fix rtc mem load err(since the voltage of rtc regulator is too low)
2022-04-21 23:38:16 +08:00
morris
334bf89b0f
lcd: spi lcd support transmit lsb first
...
Closes https://github.com/espressif/esp-idf/issues/8790
2022-04-21 13:59:47 +00:00
morris
de433105a2
lcd: don't turn on disp in init
...
Closes https://github.com/espressif/esp-idf/issues/8516
2022-04-21 13:59:47 +00:00
morris
4280164be4
rmt: add more clock source caps
2022-04-21 13:59:47 +00:00
Mahavir Jain
d187fac8c4
Merge branch 'esp_tls/remove_deprecated_api' into 'master'
...
[esp_tls] Remove deprecated API
See merge request espressif/esp-idf!17575
2022-04-21 17:02:30 +08:00
Zim Kalinowski
dad8b50876
freertos: move test files to appropriate subfolders
2022-04-21 07:55:34 +00:00
Mahavir Jain
765008a787
Merge branch 'fix/reenable_mbedtls_rsa_unit_test' into 'master'
...
test_rsa.c: remove 'use_blinding' variable.
Closes IDF-4708
See merge request espressif/esp-idf!17603
2022-04-21 15:47:55 +08:00
Sudeep Mohanty
44ee07ef23
freertos-smp: Task Deletion Coproc context save area cleanup
...
This commit adds FPU and other Co-processor context save area cleanup in
the task TCB for the FreeRTOS SMP kernel.
2022-04-21 13:09:03 +05:30
Anton Maklakov
434bd5e52e
mbedtls: suppress -Wstringop-overflow
2022-04-21 13:33:32 +07:00
Anton Maklakov
4a7f36a52a
mbedtls: fix argument types to match mbedtls/shaXXX.h
2022-04-21 12:30:49 +07:00
Anton Maklakov
bbe2bb9994
components: correct abs() use for 64-bit argument
2022-04-21 12:22:15 +07:00
Anton Maklakov
7a066b7b56
components: correct abs() use for unsigned argument
2022-04-21 12:22:01 +07:00
Marius Vikhammer
d2872095f9
soc: moved kconfig options out of the target component.
...
Moved the following kconfig options out of the target component:
* CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
* ESP*_REV_MIN -> esp_hw_support
* ESP*_TIME_SYSCALL -> newlib
* ESP*_RTC_* -> esp_hw_support
Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
Jiang Jiang Jian
56914d3c81
Merge branch 'update/c3_s3_phy_lib_20220419' into 'master'
...
Update esp c3/s3 phy lib aa05aec
See merge request espressif/esp-idf!17814
2022-04-21 11:00:46 +08:00
gaoxiaojie
a64cd9c908
pm_impl: fix neither enter light sleep nor enter waiti state in idle task
2022-04-20 17:28:17 +08:00
Hrudaynath Dhabe
079b5b1857
Merge branch 'bugfix/do_not_allow_unauthenticated_encrypted_key_data' into 'master'
...
esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data
Closes IDFGH-6773
See merge request espressif/esp-idf!17105
2022-04-20 16:32:45 +08:00
Laukik Hase
864c59c091
esp_tls: Remove deprecated API
...
- Removed deprecated esp_tls_conn_new() viz. duplicated by
esp_tls_conn_new_sync()
- Removed deprecated esp_tls_conn_delete()
- Marked esp_tls_conn_http_new() as deprecated, added alternative
esp_tls_conn_http_new_sync() (similar to esp_tls_conn_http_new_async())
2022-04-20 12:18:25 +05:30
Armando (Dou Yiwen)
5bb59b00e7
Merge branch 'feature/support_bss_on_psram' into 'master'
...
psram: support .bss on psram on esp32s3
Closes IDF-4814, IDF-4396, IDFGH-7148, and IDFGH-7153
See merge request espressif/esp-idf!17557
2022-04-20 11:16:28 +08:00
Aditya Patwardhan
1b4cc4c9f2
test_rsa.c: remove 'use_blinding' variable.
...
The "mbedtls_rsa_private" has made f_rng function mandatory for the
operation.
Also updated the MAX_PERFORMANCE values with offset added with blinding
Added the SOC_CCOMP_TIMER_SUPPORTED Check
2022-04-20 01:07:01 +00:00
Euripedes Rocha
f2c77bb70f
tcp_transport: Fix documentation for connect functions
...
Documentation was incorrectly point that we return the socket number.
The function returns an integer related to the status of the connection.
Closes https://github.com/espressif/esp-idf/issues/8416
2022-04-19 14:18:05 +00:00
Ivan Grokhotkov
fe904085fb
Merge branch 'feature/modbus_remove_component' into 'master'
...
freemodbus: remove component files from esp-idf
See merge request espressif/esp-idf!17272
2022-04-19 21:04:30 +08:00
xiewenxiang
dabcfab7ef
Update esp c3/s3 phy lib (aa05aec)
2022-04-19 20:18:05 +08:00
Darian
fc9c6a6cfb
Merge branch 'feature/freertos_smp_port_local_storage' into 'master'
...
freertos: Disable portUSING_MPU_WRAPPERS
Closes IDF-4563
See merge request espressif/esp-idf!17409
2022-04-19 19:52:29 +08:00
Armando
b5de3ec953
esp_common: rename EXT_RAM_ATTR to EXT_RAM_BSS_ATTR to make it clearer
...
EXT_RAM_ATTR is deprecated. To put .bss on PSRAM, use this new macro EXT_RAM_BSS_ATTR
2022-04-19 19:48:00 +08:00
Armando
f8249550f8
psram: support .bss on psram on esp32s3
2022-04-19 19:48:00 +08:00
Ivan Grokhotkov
a4e8a623b3
Merge branch 'bugfix/linux_target_log_macos' into 'master'
...
linux target: add ESP_LOG_BUFFERS support, fix build on macOS
See merge request espressif/esp-idf!17726
2022-04-19 19:45:24 +08:00
Ivan Grokhotkov
93edb8fd52
Merge branch 'bugfix/errno_overlap' into 'master'
...
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value
See merge request espressif/esp-idf!17804
2022-04-19 18:39:20 +08:00
morris
373d9b3dbc
Merge branch 'feature/default_clk_for_gptimer' into 'master'
...
clk_tree: added default clock source for peripherals (GPTimer, RMT, LCD, TempSensor)
Closes IDF-4894
See merge request espressif/esp-idf!17759
2022-04-19 18:02:40 +08:00
aleks
9fdf39651b
freemodbus: remove component files from esp-idf (fix examples)
2022-04-19 07:23:17 +00:00
Nachiket Kukade
bd40793771
Merge branch 'bugfix/dpp_pkey_api_fix' into 'master'
...
Move adding prefix/postfix of DPP key to example
Closes IDFGH-7116
See merge request espressif/esp-idf!17383
2022-04-19 15:04:13 +08:00
Darian Leung
839476b461
freertos: Add SMP FreeRTOS coprocessor unit tests
2022-04-19 13:35:30 +08:00
Darian Leung
8c92d0b2af
freertos: Disable portUSING_MPU_WRAPPERS in FreeRTOS SMP Xtensa port
...
This commit disables portUSING_MPU_WRAPPERS for the FreeRTOS SMP xtensa port.
This was previously enabled due to the need to keep a CPSA (coprocessor save
area pointer) in the TCB. The CPSA pointer is now calculated at run time.
2022-04-19 13:35:30 +08:00
Rahul Tank
8b4e032255
Merge branch 'bugfix/sync_host_nocp_cmd' into 'master'
...
Nimble: Sync sending Host Number of Completed Packets command
See merge request espressif/esp-idf!17719
2022-04-18 21:54:10 +08:00
Rahul Tank
4af0cd89dd
Merge branch 'bugfix/correct_nimble_kconfig' into 'master'
...
Nimble: Corrected default value for ATT_PREFERRED_MTU and ACL_BUF_SIZE
See merge request espressif/esp-idf!17779
2022-04-18 21:42:51 +08:00
Kapil Gupta
86013e918a
Merge branch 'feature/mbedtls_default_bundle_wpa_ent' into 'master'
...
wpa_supplicant: Add CA certification bundle support
See merge request espressif/esp-idf!17055
2022-04-18 19:47:45 +08:00
Darian
2fda413674
Merge branch 'bugfix/freertos_smp_main_task_affinity' into 'master'
...
freertos: Fix main task affinity in SMP FreeRTOS
See merge request espressif/esp-idf!17787
2022-04-18 19:14:55 +08:00
Ivan Grokhotkov
71bab1078f
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value
2022-04-18 12:10:30 +02:00
Omar Chebib
bd50aa4dfc
Merge branch 'refactor/remove_hal_dependency_on_log' into 'master'
...
hal: Remove dependency on log component
Closes IDF-4859
See merge request espressif/esp-idf!17709
2022-04-18 17:48:03 +08:00
Darian Leung
79cecf05b3
freertos: Fix main task affinity in SMP FreeRTOS
2022-04-18 15:50:47 +08:00
Konstantin Kondrashov
04bcc17dcc
Merge branch 'bugfix/light_sleep_when_rtc_is_used_for_gettimeofday' into 'master'
...
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
See merge request espressif/esp-idf!17740
2022-04-18 13:23:54 +08:00
Omar Chebib
f772d78317
hal: Remove dependency on log component
...
hal component (G0) doesn't depend on log component (G1) anymore in G0-only applications.
2022-04-18 10:35:01 +08:00
Ivan Grokhotkov
85cb079838
esp_hw_support: remove public dependency on bootloader_support
...
In c4bcf111
, soc_memory_types.h header was moved from soc to
esp_hw_support. Since some of the functions are also used in
bootloader and because esp_hw_support is not part of the bootloader
build, part of the functions were moved into bootloader_support.
To make these functions available to the app, bootloader_support was
added as a public dependency of esp_hw_support.
Since esp_hw_support is in common requirements list, this has added
bootloader_support as a public requirement to every component in the
build. Adding new public requirements outside of common components
is undesirable, since components may accidentally include headers
from bootloader_support without explicitly declaring it as a
requirement.
This commit reverts this addition. Until a better solution is found,
some part of esp_memory_utils.h is duplicated into
bootloader_memory_utils.h. A CI check is added to make sure these
files stay in sync.
2022-04-16 10:50:12 +02:00
Adam Múdry
22b46580f8
fatfs: add esp_vfs_fat_info() + unit tests
2022-04-15 20:49:53 +02:00
Krzysztof Lewandowski
e72151055b
esp_wifi: fix clearing default wifi netif procedure
...
Prior to this change "esp_wifi_clear_default_wifi_driver_and_handlers"
will not remove netif pointer from table when both AP and STA interfaces were
created and destroying default wifi interfaces is done in unfortunate
order. As a result there is dangling pointer left and it may cause crash in
later code (i.e. when esp_wifi_stop() is called).
2022-04-15 05:22:24 -04:00
Martin Vychodil
b9e06d7222
Merge branch 'bugfix/sdmmc_cmd38_arg_validation' into 'master'
...
sdmmc: Bugfix sdmmc_erase_sectors cmd38 argument validation
Closes IDFGH-7094
See merge request espressif/esp-idf!17684
2022-04-15 04:33:37 +08:00
Michael (XIAO Xufeng)
7c668770ee
Merge branch 'feature/support_esp8684_esp32h2_ledc' into 'master'
...
ledc: Provide support for esp32c2 and esp32h2
Closes IDF-4347, IDF-3900, IDF-4157, and IDF-4648
See merge request espressif/esp-idf!17071
2022-04-15 00:42:36 +08:00
David Čermák
a7c1112ca4
Merge branch 'feature/ws_client_support_cont_frames' into 'master'
...
transport_ws: Parse and expose frame fin flag
Closes IDFGH-6767 and IDFGH-6737
See merge request espressif/esp-idf!17748
2022-04-14 23:18:12 +08:00
Hrudaynath Dhabe
57905c7ecf
esp_wifi: Ignore unauthenticated encrypted EAPOL-Key data and fix
...
handling of key RSC.
Closes https://github.com/espressif/esp-idf/issues/8401
2022-04-14 17:13:49 +05:30
Nachiket Kukade
8dea7cbed6
wpa_supplicant/dpp: Avoid deadlock while deleting DPP task
...
Closes https://github.com/espressif/esp-idf/issues/8724
2022-04-14 16:54:47 +05:30
Nachiket Kukade
282d3c6188
wpa_supplicant/dpp: Move adding prefix/postfix of DPP key to example
...
1. Move adding of prefix/postfix to the private key to example code.
This is to preserve forward compatibility when more curves are supported.
2. Documentation correction of bootstrapping key configuration.
2022-04-14 16:54:47 +05:30
Rahul Tank
18df58f1df
Nimble: Corrected default value for ATT_PREFERRED_MTU and ACL_BUF_SIZE
2022-04-14 16:13:21 +05:30
Roland Dobai
667edfa7a9
Merge branch 'bugfix/s3_otg_compressed_flash_with_stub' into 'master'
...
esptool_py: Support ESP32-S3 USB OTG compressed flashing with stub
Closes ESPTOOL-372
See merge request espressif/esp-idf!17559
2022-04-14 18:26:18 +08:00
Jiang Jiang Jian
2c434ff4a5
Merge branch 'bugfix/fix_phy_i2c_crash' into 'master'
...
esp_phy: Add IRAM_ATTR for phy i2c spinlock
Closes BT-2323
See merge request espressif/esp-idf!17756
2022-04-14 18:25:24 +08:00
Michael (XIAO Xufeng)
d64c6f581d
ledc: cleanup the clock selection code
2022-04-14 08:15:14 +00:00
songruojing
534346f4bb
ledc: Provide support for esp32c2 and esp32h2
...
LEDC examples, unit test, and programming guide are all updated.
2022-04-14 08:15:14 +00:00
KonstantinKondrashov
1e0eef52d3
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
...
The esp_timer was not advanced correctly.
2022-04-14 15:53:48 +08:00
morris
f32a89826c
clk_tree: added default clock source for peripheral
2022-04-14 15:44:56 +08:00
morris
cc71e645be
Merge branch 'feature/ksz8863rll_support' into 'master'
...
ESP IDF infrastructure preparation for ksz8863rll support
See merge request espressif/esp-idf!17203
2022-04-14 10:51:27 +08:00
Ondrej Kosta
90829e64d5
Merge branch 'feature/create_l2tap_example' into 'master'
...
Feature/create l2tap example
Closes IDF-4096
See merge request espressif/esp-idf!17641
2022-04-13 18:58:43 +08:00
Michael (XIAO Xufeng)
46b5363e39
spi_flash: forbid writing to main flash when using invalid init arguments
...
Also refactored the init code to make the logic of device (CS) acquiring
more centralized.
Resolves: https://github.com/espressif/esp-idf/issues/8556
2022-04-13 18:02:34 +08:00
Martin Vychodil
3b3bfc1971
Merge branch 'vfs_fat/improve_mount_function_names' into 'master'
...
vfs: renamed FATFS convenience mounting functions
Closes IDF-4370
See merge request espressif/esp-idf!17369
2022-04-13 17:52:10 +08:00
xiewenxiang
ba3770ba30
esp_phy: Add IRAM_ATTR for phy i2c spinlock
2022-04-13 12:16:58 +08:00
morris
cb5507f11c
Merge branch 'feature/clk_tree_defs' into 'master'
...
clk_tree: prework of introducing clock subsystem control
Closes IDF-4892
See merge request espressif/esp-idf!17631
2022-04-13 10:36:56 +08:00
Ondrej Kosta
e4217ff868
esp_eth/test_apps: fixed byte order of EthType during raw socket creation
2022-04-12 12:33:57 +00:00
Omar Chebib
047903c612
Merge branch 'typo/heap_test' into 'master'
...
Heap: fix typos in test and component
See merge request espressif/esp-idf!17731
2022-04-12 18:45:04 +08:00
MacDue
1ca3a4fbe3
transport_ws: Parse and expose frame fin flag
...
Note: esp_websocket_client still needs patching to expose this
2022-04-12 11:31:51 +01:00
Roland Dobai
3b161a40d6
esptool_py: Update to support ESP32-S3 USB OTG compressed flashing with stub
2022-04-12 08:53:12 +00:00
Wang Meng Yang
06b7c5c788
Merge branch 'bugfix/fix_spp_initiator_connect_failed' into 'master'
...
Component_bt/Fix SPP initiator can not free resource when connection is failed
Closes BT-2332
See merge request espressif/esp-idf!17698
2022-04-12 14:56:25 +08:00
Kapil Gupta
ea7691ba6c
Merge branch 'bugfix/wmn_scan_fixes' into 'master'
...
wpa_supplicant: Remove scan done event from btm task
See merge request espressif/esp-idf!17705
2022-04-12 14:53:54 +08:00
Jakob Hasse
902611831b
Merge branch 'doc/rng_small_improvements' into 'master'
...
Doc: Clarify RNG usage
See merge request espressif/esp-idf!17695
2022-04-12 14:21:47 +08:00
Mahavir Jain
8fac20d7dc
Merge branch 'feature/upgrade_argtable_3_2_1_files' into 'master'
...
console: upgrade argtable3 to v3.2.1 (multi-file approach)
See merge request espressif/esp-idf!17687
2022-04-12 12:42:29 +08:00
Simon
675e15a6b5
Merge branch 'esptool/temporary_support_mspi_clock' into 'master'
...
spi_flash: esptool temporarily supports C2/H2 clock configurations
See merge request espressif/esp-idf!17721
2022-04-12 10:28:44 +08:00
Ivan Grokhotkov
5f7afd3980
console: argtable3: sync arg_end argument name
...
...between declaration and definition, to silence clang-tidy warnings
2022-04-11 19:42:53 +02:00
Ivan Grokhotkov
ebe1acc6b8
console: argtable3: fix -Wwrite-strings warnings
...
Re-apply commit 744c2dcdd9
2022-04-11 19:42:53 +02:00
Ivan Grokhotkov
8240144580
console: argtable3: re-introduce arg_print_formatted function
2022-04-11 19:42:53 +02:00
Ivan Grokhotkov
21a94dfcb6
console: argtable3: use newlib getopt, disable logs
...
Opted for changing the source code to avoid adding one extra flag to
component public CPPFLAGS.
2022-04-11 19:42:52 +02:00
Ivan Grokhotkov
10f72e1086
console: argtable3: update CMakeLists.txt for v3.2.1
2022-04-11 19:42:52 +02:00
Ivan Grokhotkov
69d1424c15
console: argtable3: add SPDX copyright headers
2022-04-11 19:42:52 +02:00
Ivan Grokhotkov
c0d62c58d3
console: argtable3: upgrade to v3.2.1
...
Source code taken from release archives in
https://github.com/argtable/argtable3/releases/tag/v3.2.1.52f24e5
Applied dos2unix to all files.
Removed trailing whitespace with the pre-commit hook.
Resolves some of the static analysis issues reported in
https://github.com/espressif/esp-idf/issues/6440
(mallocs are replaced by xmalloc wrapper which panics on failed
allocations)
2022-04-11 19:42:52 +02:00
Vamshi Gajjela
0e366db603
sdmmc: Bugfix sdmmc_erase_sectors cmd38 argument validation
...
Unit test cases added to verify -ve test, for sdmmc_erase_sectors to
return ESP_ERR_NOT_SUPPORTED
Closes https://github.com/espressif/esp-idf/issues/8704
2022-04-11 15:36:45 +00:00
morris
0164ce894d
Merge branch 'bugfix/wrong_gpio_is_deep_sleep_wakeup_valid_gpio' into 'master'
...
gpio: fix wrong GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO macro
Closes IDFGH-7128
See merge request espressif/esp-idf!17737
2022-04-11 21:15:06 +08:00
Mahavir Jain
235531a770
Merge branch 'bugfix/lwip_dhcps_disabled_build' into 'master'
...
lfix build with CONFIG_LWIP_DHCPS disabled
See merge request espressif/esp-idf!17730
2022-04-11 21:08:17 +08:00
morris
bd3ded195a
Merge branch 'feature/proper_way_register_testapp_component' into 'master'
...
Several driver improvements according to coverify scan report
See merge request espressif/esp-idf!17708
2022-04-11 21:04:14 +08:00
Mahavir Jain
467e9c07d6
lwip: fix build with CONFIG_LWIP_DHCPS disabled
...
Also added example build configuration for this option.
2022-04-11 12:31:17 +00:00
Ivan Grokhotkov
3602d332c4
log: support ESP_LOG_BUFFER* functions for Linux target
2022-04-11 13:29:01 +02:00
Ivan Grokhotkov
7c65370d84
spiffs: add esp_spiffs_gc function to force garbage collection
...
Closes https://github.com/espressif/esp-idf/issues/8626
2022-04-11 11:19:10 +02:00
liqigan
81829c2670
add missing unlock in btc_spp_cb_handler of BTA_JV_RFCOMM_WRITE_EVT
2022-04-11 17:14:02 +08:00
Matus Fabo
24268d47a2
change: renamed FATFS convenience mounting functions
...
change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
2022-04-11 08:44:40 +00:00
songruo
0d52cb04dc
gpio: fix wrong GPIO_IS_DEEP_SLEEP_WAKEUP_VALID_GPIO macro
...
Closes https://github.com/espressif/esp-idf/issues/8733
2022-04-11 15:34:07 +08:00
songruo
cd83f4f307
rtc_clk: fix esp32 unreachable code in rtc_clk_xtal_freq_estimate
2022-04-11 12:13:00 +08:00
songruo
60bb5c913d
clk_tree: prework of introducing clk subsystem control
...
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
Omar Chebib
e7cb672624
Heap: fix typos in test and component
2022-04-11 11:36:52 +08:00
Jakob Hasse
3ceaba5b32
refactor (docs, rng): Clarify RNG usage
2022-04-11 10:55:28 +08:00
wangmengyang
3c63d0cc0e
components/bt: fix the documentations for Bluetooth HID device APIs
2022-04-11 02:50:50 +00:00
Cao Sen Miao
52e88a0073
spi_flash: esptool temporarily supports C2/H2 clock configurations
2022-04-11 10:46:02 +08:00
Jiang Jiang Jian
199d72c19c
Merge branch 'bugfix/fix_i2c_critical_and_iram_funcations' into 'master'
...
Update esp c3/s3 phy lib (dcbe608)
Closes BT-2323
See merge request espressif/esp-idf!17713
2022-04-11 10:28:31 +08:00
Armando (Dou Yiwen)
5e8db9669d
Merge branch 'refactor/move_soc_memory_types_helper_functions_to_esp_hw_support' into 'master'
...
hw_support: move soc_memory_types.h helper functions into esp_hw_support (G1)
Closes IDF-4858
See merge request espressif/esp-idf!17657
2022-04-10 19:10:33 +08:00
Adam Múdry
36db6a6681
spiffs: Add esp_spiffs_check() function
...
esp_spiffs_check() exposes SPIFFS_check() functionality to the user
2022-04-08 19:40:56 +00:00
Ondrej Kosta
4051b80b4d
esp_netif: remove dependency of L2 TAP Interface from netif_lwip
...
esp_eth: extended infrastructure to optionally provide more advanced access to MAC/PHY layers
2022-04-08 16:40:29 +02:00
Darian
59202fe43e
Merge branch 'bugfix/freertos_smp_cmakelist' into 'master'
...
freertos: Fix CMakeLists.txt to include esp_additions/private_include
See merge request espressif/esp-idf!17715
2022-04-08 21:35:44 +08:00
Rahul Tank
739cd66866
Nimble: Sync sending Host Number of Completed Packets command
2022-04-08 15:53:22 +05:30
Darian Leung
7ea0106b3f
freertos: Fix CMakeLists.txt to include esp_additions/private_include
2022-04-08 17:23:52 +08:00
xiewenxiang
a5597d67f3
Update esp c3/s3 phy lib (dcbe608)
2022-04-08 16:39:34 +08:00
morris
0a36cad9e0
driver: register test app component by WHOLE_ARCHIVE
2022-04-08 15:15:05 +08:00
morris
a7d380c80a
driver: a better way to avoid new/old driver coexistence
2022-04-08 15:15:05 +08:00
morris
5732e2a4be
driver: fix dead code in error handling path
...
... for gptimer and pulse_cnt driver, reported by Coverity Scan
2022-04-08 15:13:34 +08:00
Armando
a8a47a61f5
spi_flash: move buffer check from hal layer to driver layer
...
Prior to this change, `spi_flash_hal_supports_direct_write` and
`spi_flash_hal_supports_direct_read` will check the buffer pointer
place, which should be done in driver layer, instead of HAL layer.
2022-04-08 11:46:10 +08:00
Armando
c4bcf1117c
esp_hw_support: move soc_memory_types.h helper functions into esp_hw_support
2022-04-08 11:46:10 +08:00
morris
483149e41b
global: fix some potential out-of-bounds issue
...
...that found by Coverity Scan
2022-04-08 11:05:43 +08:00
morris
bb2a57dc71
intr_alloc: fix mix boolean and bit operation
2022-04-08 11:05:43 +08:00
morris
37d8abda0b
gdma: add spin lock for gdma channel
...
... because we allow several control functions to be runable under ISR
context
2022-04-08 10:05:01 +08:00
Martin Gano
d76de32f74
fatfsgen.py: enabled date and time for fatfs
2022-04-07 15:01:28 +02:00
Sudeep Mohanty
f2d355992b
Merge branch 'refactor/remove-portmacro-deprecated-apis' into 'master'
...
freertos: remove portmacro_deprtecated.h file
Closes IDF-4746
See merge request espressif/esp-idf!17661
2022-04-07 14:36:25 +08:00
Michael (XIAO Xufeng)
c01d29a184
Merge branch 'feat/opi_mxic_header_def' into 'master'
...
spi_flash: update def header of MXIC
See merge request espressif/esp-idf!17533
2022-04-07 11:59:00 +08:00
Ivan Grokhotkov
e4d0b7b007
Merge branch 'bugfix/spiffs_check_part_alignment' into 'master'
...
spiffs: add init checks for partition alignment and data types
Closes IDFGH-6974 and IDF-3349
See merge request espressif/esp-idf!17676
2022-04-07 01:27:57 +08:00