Angus Gratton
71de11e89d
Merge branch 'feature/esp32c3_memprot_test3_v4.3' into 'release/v4.3'
...
ESP32C3/ESP32S2: memprot API upgrade and test application (v4.3)
See merge request espressif/esp-idf!12942
2021-04-12 03:29:29 +00:00
Krzysztof Budzynski
bda9e1fda7
Merge branch 'bugfix/doxygen_input_file_bug_v4.3' into 'release/v4.3'
...
docs: fix doxygen compile warnings for doxygen 1.9.1 (v4.3)
See merge request espressif/esp-idf!13075
2021-04-12 00:46:11 +00:00
Marius Vikhammer
97df333a3b
docs: fix doxygen compile warnings for doxygen 1.9.1
...
Newer versions of doxygen will give warnings for comments in
INPUT lists
Delete all comment lines to fix these warnings, our folder structure
stil gives an OK overview of what we are including
2021-04-12 08:46:06 +08:00
Martin Vychodil
6dfff2fdbd
esp32c3: memprot API upgrade and test application
...
Closes IDF-2641
2021-04-12 10:21:58 +10:00
Angus Gratton
2ed3e8b344
Merge branch 'bugfix/prefetch_invalid_v4.3' into 'release/v4.3'
...
soc: add dummy bytes to ensure instr prefetch always valid (v4.3)
See merge request espressif/esp-idf!12993
2021-04-09 14:49:07 +00:00
Prasad Alatkar
58a7d9f239
NimBLE: Add error prints for ACL buffer exhaustion in NPL
2021-04-09 14:18:20 +00:00
Angus Gratton
e4dd9053c2
Merge branch 'feature/secure_bootv2_c3_v4.3' into 'release/v4.3'
...
secure_boot_v2: Support SB_V2 for ESP32-C3 ECO3 (v4.3)
See merge request espressif/esp-idf!13062
2021-04-09 13:06:46 +00:00
Angus Gratton
ff5e0d0d38
Merge branch 'bugfix/calc_8m_freq_test_v4.3' into 'release/v4.3'
...
rtc: increase CI acceptance range for calc 8M test (v4.3)
See merge request espressif/esp-idf!13085
2021-04-09 13:06:36 +00:00
Angus Gratton
03b0540bc6
esp32s3: Reserve RTC memory in bootloader in the app linker script
2021-04-09 19:15:43 +10:00
Angus Gratton
17e30c9e89
esp32c3: Reserve RTC memory from bootloader in the app linker script
2021-04-09 19:15:43 +10:00
Angus Gratton
00cfcde385
bootloader: Fix "skip validate on exit deep sleep" when "Use RTC fast memory as heap" is enabled
...
RTC region used to store boot partition needs to remain reserved in the app.
2021-04-09 19:15:43 +10:00
Angus Gratton
0839fd08dd
Merge branch 'bugfix/dport_init_min_stack_size_v4.3' into 'release/v4.3'
...
freertos: Increase minimum task stack size when stack smashing checker is enabled (backport v4.3)
See merge request espressif/esp-idf!12797
2021-04-09 09:14:25 +00:00
Marius Vikhammer
220f3d2198
rtc: increase CI acceptance range for calc 8M test
2021-04-09 15:06:11 +08:00
Renz Bagaporo
ea4a8d5e4f
esp_hw_support: fix esp_restart crash
...
Closes https://github.com/espressif/esp-idf/issues/6836
2021-04-09 09:30:03 +08:00
Michael (XIAO Xufeng)
e36e433519
Merge branch 'bugfix/fix_uart_handler_call_inline_func_v43' into 'release/v4.3'
...
Bugfix/fix uart handler call inline func (backport v4.3)
See merge request espressif/esp-idf!13003
2021-04-08 09:38:51 +00:00
Michael (XIAO Xufeng)
76ff1724b3
Merge branch 'feature/remove_hspi_macor_on_chips_later_than_s2_v4.3' into 'release/v4.3'
...
spi: remove hspi macor on chips later than s2 (v4.3)
See merge request espressif/esp-idf!12956
2021-04-08 09:37:07 +00:00
Angus Gratton
9f1ae278e0
Merge branch 'feature/vdd_sdio_pd_configurable_v4.3' into 'release/v4.3'
...
system: add VDD_SDIO power domain configuration for light sleep (backport v4.3)
See merge request espressif/esp-idf!13028
2021-04-08 09:27:57 +00:00
KonstantinKondrashov
54908d3a42
esp32c3: Default supported ESP32-C3 Revision ECO3
2021-04-08 15:09:14 +08:00
KonstantinKondrashov
a5e27d73a5
secure_boot_v2: Adds support SB_V2 for ESP32-C3 ECO3
2021-04-08 14:35:35 +08:00
Renz Bagaporo
dbf2a64adb
esp_hw_support: add test for rtc clk compensation
2021-04-07 06:40:28 +08:00
Renz Bagaporo
11970e65a1
newlib: persist rtc clk corrections
2021-04-07 06:40:28 +08:00
Armando
670b057b04
spi: remove HSPI macro on esp32c3 and esp32s3
2021-04-06 15:30:28 +08:00
Omar Chebib
ae3b4819da
esp_system: add VDD_SDIO power domain configuration to documentation
...
Add a warning in `sleep_modes` doc page to explain how to keep
VDD_SDIO power domain ON.
2021-04-06 14:04:22 +08:00
Omar Chebib
b0684e8b3c
esp_system: add VDD_SDIO power domain configuration for light sleep
...
VDD_SDIO power domain can now be configured for light sleep
by the application. It is now possible to keep the power domain
ON during light sleep, keeping the GPIOs connected to it powered.
The power domain will, by default be:
- Kept ON if CONFIG_ESP_SYSTEM_PD_FLASH is not set
- Turned OFF if not set
The application can still force it to be ON by calling
`esp_sleep_pd_config(ESP_PD_DOMAIN_VDDSDIO, ESP_PD_OPTION_ON);`
2021-04-06 14:01:38 +08:00
Angus Gratton
322cba0bf0
freertos: Add a small additional stack when optimization set to None
...
Fix for occasional crash on startup when DPORT task overwrites its stack during
context switch, otherwise.
2021-04-06 02:43:24 +00:00
Angus Gratton
f5c6595cb4
freertos: Increase minimum task stack size when stack smashing checker is enabled
...
Fixes issue with DPORT init task, this task uses minimum stack size and may not be
enough if stack smashing detection is set to Overall mode.
Also reworks the way we calculate minimum stack to allow for adding multiple
contributing factors.
Closes https://github.com/espressif/esp-idf/issues/6403
2021-04-06 02:43:24 +00:00
Angus Gratton
e9e2b68587
freertos: Use the standard assert() function for configASSERT
...
Unless the option for "assert and keep running" is enabled.
This means that silent asserts now work for FreeRTOS, and disabling asserts
now also disables them in FreeRTOS without needing a separate config change.
Related to https://github.com/espressif/esp-idf/issues/6306
2021-04-02 11:07:23 +11:00
Angus Gratton
73d40cb813
lwip: Support silent assertion configuration
...
If silent assert configuration is enabled, LWIP asserts are now 'silent' also.
Also updates KConfig to note that LWIP asserts are also disabled when asserts
are disabled globally (this was already the behaviour, but the config item
suggested otherwise.)
Progress towards https://github.com/espressif/esp-idf/issues/5873
2021-04-02 11:03:44 +11:00
Angus Gratton
bf6ddf2557
bootloader: Allow 'silent assert' config to work in bootloader
...
Requires adding the 'newlib' component to the bootloader project, for
platform_include header.
2021-04-02 11:03:21 +11:00
aleks
d761226f36
driver: fix uart handler in iram calls inline uart_ll_is_tx_idle
2021-04-01 09:56:56 +02:00
Marius Vikhammer
5036ec363b
soc: add dummy bytes to ensure instr prefetch always valid
...
The CPU might prefetch instructions, which means it in some cases
will try to fetch instruction located after the last instruction in
flash.text.
Add dummy bytes to ensure fetching these wont result in an error,
e.g. MMU exceptions
2021-04-01 10:23:44 +08:00
Jiang Jiang Jian
c724236623
Merge branch 'bugfix/close_tsen_when_close_phy_v4.3' into 'release/v4.3'
...
esp_wifi: close tsen when close phy (backport to v4.3)
See merge request espressif/esp-idf!12986
2021-04-01 02:17:57 +00:00
Jiang Jiang Jian
f7034e7767
Merge branch 'bugfix/dirent-riscv-header-4.3' into 'release/v4.3'
...
vfs: use sys/dirent.h from newlib (backport v4.3)
See merge request espressif/esp-idf!12752
2021-04-01 02:16:59 +00:00
Jiang Jiang Jian
7e75d7f748
Merge branch 'bugfix/aes_dma_completion_v4.3' into 'release/v4.3'
...
mbedtls: Fix AES dma completion race condition (v4.3)
See merge request espressif/esp-idf!12903
2021-04-01 02:15:30 +00:00
Angus Gratton
e5437afa7f
Merge branch 'bugfix/ds_invalidate_assert_v4.3' into 'release/v4.3'
...
esp32s2 ds: Fix invalidating Digital Signature key from HMAC peripheral if assertions are disabled (v4.3)
See merge request espressif/esp-idf!12905
2021-03-31 22:56:13 +00:00
Jiang Jiang Jian
319eecc793
Merge branch 'doc/c3_system_api_v4.3' into 'release/v4.3'
...
docs: updated system api-reference chapters for C3 (v.4.3)
See merge request espressif/esp-idf!12892
2021-03-31 17:57:41 +00:00
Jiang Jiang Jian
d17923151b
Merge branch 'bugfix/fix_esp32c3_hardware_bug_before_ECO3_v4.3' into 'release/v4.3'
...
backport v4.3: fix c3 hardware bug before ECO3 and optimizate bbpll config:
See merge request espressif/esp-idf!12988
2021-03-31 17:44:01 +00:00
Jiang Jiang Jian
0a0b3bb23f
Merge branch 'bugfix/assert_when_tcp_send_data_for_v4.3' into 'release/v4.3'
...
lw-ip:bugfix for assert when tcp send data(backport4.3)
See merge request espressif/esp-idf!12980
2021-03-31 17:40:43 +00:00
ninh
2a5cf2c3e0
esp_wifi: close tsens when close phy (backport v4.3)
2021-03-31 21:04:29 +08:00
chaijie
0c7f286a87
fix c3 hardware bug before ECO3 and optimizate bbpll config:
...
1. deepsleep poweron reset bug in high temperature before ECO3;
2. brownout reset bug before ECO2;
3. bbpll voltage low bug before ECO3;
4. need xpd iph for xtal before ECO3;
2021-03-31 20:17:54 +08:00
xueyunfei
3e26049a05
bugfix for assert when tcp send data
2021-03-31 16:45:45 +08:00
xiehang
dece3abd9c
esp_wifi: Fix some wifi bugs
...
1.Add beacon timeout event.
2.Update TBTT when rx probe respones after beacon timeout.
3.Fix ESPTouch v2 issues.
2021-03-31 14:21:49 +08:00
Jiang Jiang Jian
1af5bc2f7d
Merge branch 'bugfix/esp32c3_light_sleep_gpio_reset_issue_v4.3' into 'release/v4.3'
...
backport v4.3: add software workaround for esp32c3 gpio reset issue
See merge request espressif/esp-idf!12751
2021-03-31 03:12:09 +00:00
Michael (XIAO Xufeng)
1790aa6bc6
Merge branch 'bugfix/spi_slv_dual_boad_test_slv_fail_issue_4.3' into 'release/v4.3'
...
spi: spi slv dual boad test slv fail issue (4.3)
See merge request espressif/esp-idf!12958
2021-03-30 17:16:33 +00:00
Michael (XIAO Xufeng)
b75a5fd03a
Merge branch 'bugfix/adc_power_issue_4.3' into 'release/v4.3'
...
adc: fix adc power issue (v4.3)
See merge request espressif/esp-idf!12921
2021-03-30 17:15:09 +00:00
Jiang Jiang Jian
cbf2858450
Merge branch 'bugfix/support_esp32c3eco3_v4.3' into 'release/v4.3'
...
Bugfix/support esp32c3eco3 v4.3
See merge request espressif/esp-idf!12931
2021-03-30 15:15:06 +00:00
Michael (XIAO Xufeng)
868c96c59f
Merge branch 'bugfix/flash_suspend_restriction_v4.3' into 'release/v4.3'
...
spi_flash: make suspend off by default and add more information for using suspend(backport v4.3)
See merge request espressif/esp-idf!12932
2021-03-30 11:00:53 +00:00
Armando
62787fc277
spi: update slv dual board test for ci due to no pullup resistor on io10 on c3
2021-03-30 17:11:23 +08:00
alex.li
9e97133481
Support new section addr and wifi lib for ESP32C3-ECO3.
2021-03-30 16:05:13 +08:00
Marius Vikhammer
c9087c205b
docs: updated system api-reference chapters for C3
2021-03-30 14:28:02 +08:00
Jiang Jiang Jian
2a715c811b
Merge branch 'bugfix/extern_c_decl_4.3' into 'release/v4.3'
...
[cxx]: fixed extern "C" declarations (backport v4.3)
See merge request espressif/esp-idf!12741
2021-03-30 03:09:46 +00:00
Li Shuai
be56456add
light sleep: add software workaround for esp32c3 gpio reset issue
2021-03-29 15:06:23 +08:00
Jiang Jiang Jian
413bbe4de4
Merge branch 'bugfix/btdm_incorrectly_spelled_v4.3' into 'release/v4.3'
...
component/bt: fix Spelling mistakes(release v4.3)
See merge request espressif/esp-idf!12815
2021-03-29 05:07:57 +00:00
Cao Sen Miao
4906779d50
spi_flash: make suspend off by default and add more information for using suspend
2021-03-29 12:02:43 +08:00
Marius Vikhammer
7d5d57ec03
esptool: update to support flashing esp32c3 eco 3
2021-03-26 18:42:41 +08:00
Angus Gratton
67a1858bb1
esp32c3: Add support for building image with a minimum target revision
2021-03-26 18:29:53 +08:00
ronghulin
fb9de62f74
bugfix: keep wakeup state during csa
2021-03-26 18:29:10 +08:00
Armando
f48346f22f
adc: apply adc power API to adc driver
2021-03-26 17:41:20 +08:00
Jiang Jiang Jian
2d26c24e3a
Merge branch 'bugfix/clear_interrupt_in_touch_sensor_initialization_backport_v4.3' into 'release/v4.3'
...
fix: clear interrupt in touch sensor initialization (backport v4.3)
See merge request espressif/esp-idf!12758
2021-03-26 05:55:18 +00:00
Jiang Jiang Jian
2792c333bc
Merge branch 'bugfix/freemodbus_fix_mbm_event_processing_v43' into 'release/v4.3'
...
freemodbuss: fix event processing after merge (backport v4.3)
See merge request espressif/esp-idf!12821
2021-03-26 05:52:59 +00:00
Jiang Jiang Jian
7c5e920c37
Merge branch 'feature/temp_v4.3' into 'release/v4.3'
...
temp_sensor: add calibration for esp32c3(backport v4.3)
See merge request espressif/esp-idf!12703
2021-03-26 05:51:47 +00:00
Jiang Jiang Jian
d4ac30a978
Merge branch 'fix/dont_disable_uart_dl_mode_by_default_v4.3' into 'release/v4.3'
...
bootloader/ ESP32_ECO3: Do not disable UART download mode by default (v4.3)
See merge request espressif/esp-idf!12907
2021-03-26 05:50:48 +00:00
Jiang Jiang Jian
2596c7e2cc
Merge branch 'nimble/mbedtls_aes_free_dma_v4.3' into 'release/v4.3'
...
NimBLE: Free AES context after use by calling `mbedtls_free_aes` (Needed for C3) (v4.3)
See merge request espressif/esp-idf!12917
2021-03-26 05:47:50 +00:00
Armando
8fe99aff96
adc: add implementation of missed public API
...
Added ``adc1_pad_get_io_num``, ``adc2_pad_get_io_num`` and
``adc_vref_to_gpio``.
2021-03-26 13:26:19 +08:00
Armando
a6ed4611a2
adc: update lock scope on esp32c3
2021-03-26 13:26:19 +08:00
Armando
1509264f2e
adc: add pm_lock to adc driver on esp32c3
2021-03-26 13:26:19 +08:00
Armando
271b84f5b6
adc: update adc header files on c3
2021-03-26 13:26:19 +08:00
Armando
f1be501271
adc: refactor adc single read api on esp32c3
2021-03-26 13:26:19 +08:00
Armando
ea20966c29
adc: seperate hal layer and driver layer
2021-03-26 13:26:18 +08:00
Armando
f25c996b06
adc: remove unused functions on esp32c3
2021-03-26 13:26:18 +08:00
Jiang Jiang Jian
745bb2123f
Merge branch 'bugfix/btdm_add_controller_support_RPA_4.3' into 'release/v4.3'
...
Add option to enable/disable esp32 controller RPA (backport v4.3)
See merge request espressif/esp-idf!12886
2021-03-26 04:21:04 +00:00
Jiang Jiang Jian
143bb1edf4
Merge branch 'bugfix/btdm_fix_multi-con_pair_failed_v4.3' into 'release/v4.3'
...
fix multi-connection pair failed (backport v4.3)
See merge request espressif/esp-idf!12885
2021-03-26 04:19:28 +00:00
Jiang Jiang Jian
f1737a630d
Merge branch 'bugfix/btdm_synchronize_multiple_branch_of_bt_lib_v4.3' into 'release/v4.3'
...
Bugfix/btdm synchronize multiple branch of bt lib v4.3
See merge request espressif/esp-idf!12872
2021-03-26 04:15:52 +00:00
Prasad Alatkar
a9d1d44d4d
NimBLE: Free AES context after use by calling mbedtls_free_aes
...
- Update NimBLE submodule to resolve issue observed while using mbedTLS as
crypto stack during security exchanges.
Closes BT-1435, BT-1434
2021-03-25 18:43:49 +05:30
baohongde
72b27f1782
components/bt: Synchronize multiple branch of bt lib
2021-03-25 15:58:42 +08:00
baohongde
8e482c9423
components/bt: Fix assert without sw coexist enabled
2021-03-25 15:58:42 +08:00
baohongde
1fb45977fa
component/coex: Decouple Wi-Fi and bluetooth with coexist to reduce binary file size
2021-03-25 15:58:42 +08:00
“YangZhao”
257728feab
Fix the bug of modem sleep which may lead to the crash issue "assert(-218959118,0)"
2021-03-25 15:58:22 +08:00
KonstantinKondrashov
26d362040e
secure_boot/SIGNED_ON_UPDATE_NO_SECURE_BOOT: Only the first position of signature blocks is used to verify any update
2021-03-25 15:40:24 +08:00
Aditya Patwardhan
f6a794cf51
bootloader/ ESP32_ECO3: Do not disable UART download mode by default
2021-03-25 10:32:37 +05:30
Angus Gratton
974db3016b
esp32s2 ds: Fix invalidating Digital Signature key from HMAC peripheral if assertions are disabled
2021-03-25 15:34:26 +11:00
Angus Gratton
9c4c377f2d
mbedtls tests: Add optional debug log output to AES stream tests
2021-03-25 15:28:45 +11:00
Angus Gratton
e6b8bc6ecb
mbedtls aes dma: Fix bug where DMA would complete when the first output descriptor was done, not the last
2021-03-25 15:28:45 +11:00
Mahavir Jain
718f296587
Merge branch 'bugfix/revert_esp_log_issue_4.3' into 'release/v4.3'
...
efuse: revert ESP_LOG to ESP_EARLY_LOG in src/esp_efuse_utility.c (4.3)
See merge request espressif/esp-idf!12794
2021-03-25 03:56:02 +00:00
David Čermák
6c74618bff
Merge branch 'bugfix/fix_wrong_bit_order_of_ksz8041_v4.3' into 'release/v4.3'
...
eth_phy: fix wrong register bit order in ksz8041
See merge request espressif/esp-idf!12735
2021-03-24 18:08:37 +00:00
zwj
f2ca74b139
add option to enable/disable esp32 controller RPA
2021-03-24 16:45:58 +08:00
zwj
ac8ea9e9e5
fix multi-connection pair failed
2021-03-24 16:44:45 +08:00
wangmengyang
cc8ef3660a
components/bt: shorten some log messages for bluedroid
2021-03-24 03:38:56 +00:00
wangmengyang
67402f035f
component/bt: [ESP32S3] fix missing IRAM_ATTR for function in libbtdm_app.a
2021-03-24 03:38:56 +00:00
wangmengyang
7dd5568cb7
fixed incorrect Tx power mappings for ESP32C3 chip
2021-03-24 03:38:56 +00:00
Jiang Jiang Jian
f00d7ee9d0
Merge branch 'bugfix/fix_wdt_timeout_when_enable_rf_v4.3' into 'release/v4.3'
...
esp_wifi: fix wdt timeout when enable rf (backport v4.3)
See merge request espressif/esp-idf!12833
2021-03-23 16:32:29 +00:00
XieWenxiang
dba5597edf
component/bt: Modify some ambiguous descriptions(release v4.3)
2021-03-23 23:02:18 +08:00
ninh
4f8d784753
esp_wifi: fix wdt timeout when enable rf
2021-03-23 10:26:56 +08:00
Jakob Hasse
a697377871
[doc]: elaborated nvs encryption comments in nvs
2021-03-22 13:02:35 +00:00
negativekelvin
6ceee165b5
Fix nvs_flash_generate_keys
...
Merges https://github.com/espressif/esp-idf/pull/6478
2021-03-22 13:02:35 +00:00
Mahavir Jain
8ec0ffe751
Merge branch 'bugfix/fix_rtc_memory_region_name_v4.3' into 'release/v4.3'
...
esp32c3: correct name for RTC memory region in heap (v4.3)
See merge request espressif/esp-idf!12820
2021-03-22 12:54:07 +00:00
Jiang Jiang Jian
5d0ce8b52f
Merge branch 'bugfix/crash_on_enabling_verbose_logs_v4.3' into 'release/v4.3'
...
esp_wifi: Fixes issue of crashing when verbose logs are enabled. (v4.3)
See merge request espressif/esp-idf!12495
2021-03-22 12:52:37 +00:00
Jiang Jiang Jian
2313683b58
Merge branch 'bugfix/fix_l2cap_repeat_cid_v4.3' into 'release/v4.3'
...
Bugfix/Fix L2CAP Repeat Cid[backport v4.3]
See merge request espressif/esp-idf!12613
2021-03-22 12:49:03 +00:00
Jiang Jiang Jian
c41822dc7c
Merge branch 'mesh/support_for_chain_topology_backport_v4.3' into 'release/v4.3'
...
mesh: support for chain topology (backport v4.3)
See merge request espressif/esp-idf!12805
2021-03-22 12:48:41 +00:00
Jiang Jiang Jian
21909d7823
Merge branch 'mesh/ps_duty_signaling_backport_v4.3' into 'release/v4.3'
...
mesh/ps: network duty signaling (backport v4.3)
See merge request espressif/esp-idf!12804
2021-03-22 12:47:53 +00:00
Jiang Jiang Jian
651a939643
Merge branch 'bugfix/spi_flash_compatible_with_rom_c3_and_s3_v4.3' into 'release/v4.3'
...
spi_flash: make spiflash compatible with ESP32C3 and ESP32S3 ROM (backport v4.3)
See merge request espressif/esp-idf!12784
2021-03-22 12:47:05 +00:00
Jiang Jiang Jian
3bf9d389ef
Merge branch 'bufix/ag_deep_copy_crash_v_4_3' into 'release/v4.3'
...
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
See merge request espressif/esp-idf!12791
2021-03-22 12:46:18 +00:00
aleks
6238c49479
freemodbuss: fix event processing after merge
2021-03-19 13:59:54 +01:00
shenjun
fe1126cccb
mesh/ps: network duty signaling
2021-03-19 20:58:00 +08:00
Mahavir Jain
4725249385
esp32c3: correct name for RTC memory region in heap
2021-03-19 17:59:12 +05:30
jiangguangming
a643ea9432
spi_flash: make spiflash compatible with ESP32C3 and ESP32S3 ROM
2021-03-19 16:37:34 +08:00
Armando
d6f76f8a5f
efuse: revert ESP_LOG to ESP_EARLY_LOG in src/esp_efuse_utility.c
...
Closes https://github.com/espressif/esp-idf/issues/6660
2021-03-19 13:25:32 +08:00
shenjun
1d778c941c
mesh: support for chain topology
2021-03-19 11:25:57 +08:00
xiongweichao
87b613fd2f
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
2021-03-18 20:29:05 +08:00
Angus Gratton
502a819757
secure boot v2: Fix issue checking multiple signature blocks on OTA update
2021-03-17 17:08:59 +08:00
Angus Gratton
a479ee30c9
secure boot: Add boot check for SBV2 "check app signature on update"
...
As this mode uses the public keys attached to the existing app's signatures to
verify the next app, checking that a signature block is found on boot prevents
the possibility of deploying a non-updatable device from the factory.
2021-03-17 17:08:59 +08:00
KonstantinKondrashov
46e85ed021
secure_boot: Secure Boot V2 verify app signature on update (without Secure boot)
...
- ESP32 ECO3, ESP32-S2/C3/S3
2021-03-17 17:08:59 +08:00
KonstantinKondrashov
0862fe815b
secure_boot: Adds empty esp_secure_boot_init_checks
...
There is no checks
2021-03-17 17:09:00 +08:00
fuzhibo
918875424e
fix: clear interrupt in touch sensor initialization
2021-03-16 11:37:41 +08:00
Jiacheng Guo
5490c0a243
vfs: use sys/dirent.h from newlib
...
The dirent.h shipped with the risc-v compiler lacks `extern "C"`
declartion and causes linkage declartion conflict when included in C++
files. Use the dirent.h from newlib only to avoid this issue.
(cherry picked from commit b14830c5c0
)
2021-03-16 10:33:31 +08:00
William Ferguson
a71d9cc466
[cxx]: fixed extern "C" declarations
...
* Moving #includes above
#ifdef __cplusplus extern "C" { #endif
So that we can compile with CPP.
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6634
Closes https://github.com/espressif/esp-idf/issues/6633
2021-03-15 17:48:23 +08:00
morris
c75a8b11bb
eth_phy: fix wrong register bit order in ksz8041
2021-03-15 13:12:17 +08:00
liqigan
9c884b3ba9
fix l2cap repeat cid
2021-03-12 15:53:48 +08:00
Angus Gratton
9a2d251912
Merge branch 'feature/coredump_refactor_riscv_support_v4.3' into 'release/v4.3'
...
espcoredump: code refactoring and add support for RISC-V implementation (backport v4.3)
See merge request espressif/esp-idf!12680
2021-03-12 07:47:02 +00:00
Jiang Jiang Jian
3b9af23290
Merge branch 'component_bt/optimize_spp_stop_server_v4.3' into 'release/v4.3'
...
component_bt/Optimize SPP Stop Server API[backport v4.3]
See merge request espressif/esp-idf!12615
2021-03-12 07:45:05 +00:00
Jiang Jiang Jian
ff12b50e45
Merge branch 'feature/wifi_support_sta_sleep_at_disconnected_v4.3' into 'release/v4.3'
...
esp_wifi: wifi support sta sleep at disconnected (backport v4.3)
See merge request espressif/esp-idf!12720
2021-03-12 07:43:46 +00:00
Jiang Jiang Jian
f6336516d1
Merge branch 'bugfix/fix_ble_connect_evt_report_remote_addr_err_v4.3' into 'release/v4.3'
...
fix ble connection event report remote address error (backport v4.3)
See merge request espressif/esp-idf!12717
2021-03-12 05:59:25 +00:00
Angus Gratton
4d80dd1238
Merge branch 'bugfix/c++_usage_esp_core_dump_h_v4.3' into 'release/v4.3'
...
Fixed c++ include usage for esp_core_dump.h (backport v4.3)
See merge request espressif/esp-idf!12677
2021-03-12 04:01:42 +00:00
zwj
8a2155f95e
fix ble connection event report remote address error
2021-03-12 11:44:13 +08:00
ninh
367190deaf
esp_wifi: support sta to sleep at disconnected status
2021-03-12 00:22:38 +08:00
Jiang Jiang Jian
dbb632fe34
Merge branch 'bugfix/fix_smartconfig_issue_v4.3' into 'release/v4.3'
...
esp_wifi: Fix the second distribution network failure of smartconfig (backport v4.3)
See merge request espressif/esp-idf!12685
2021-03-11 14:28:52 +00:00
Michael (XIAO Xufeng)
1329747dc1
Merge branch 'bugfix/flash_s3_v4.3' into 'release/v4.3'
...
spi_flash: remove useless dummy and make rom compatible on esp32s3(backport v4.3)
See merge request espressif/esp-idf!12704
2021-03-11 13:38:52 +00:00
Angus Gratton
82ffb33085
Merge branch 'feature/crypto_reserve_gdma_ch_v4.3' into 'release/v4.3'
...
aes/sha: use a shared lazy allocated GDMA channel for AES and SHA (v4.3)
See merge request espressif/esp-idf!12676
2021-03-11 10:50:09 +00:00
Krzysztof Budzynski
d42958439d
Merge branch 'doc/c3_api_ref_update_v4.3' into 'release/v4.3'
...
docs: update api-reference chapters for C3 (v4.3)
See merge request espressif/esp-idf!12583
2021-03-11 09:36:44 +00:00
Li Shuai
37946ab300
deep sleep: power down wifi and bt during deep sleep
2021-03-11 07:32:30 +00:00
Li Shuai
2b7a3f6d85
light sleep: some default parameters optimization
2021-03-11 07:32:30 +00:00
xiehang
60642e580c
esp_wifi: Fix the second distribution network failure of ESPTouch v2
2021-03-11 07:32:30 +00:00
Jiang Jiang Jian
4235e80008
Merge branch 'bugfix/backport_bugfixs_to_release_v4.3' into 'release/v4.3'
...
Bugfix/backport bugfixs to release v4.3
See merge request espressif/esp-idf!12682
2021-03-11 07:15:00 +00:00
Angus Gratton
a8e0989648
Merge branch 'feature/re-enable_suspend_test_esp32c3_v4.3' into 'release/v4.3'
...
freertos: Workaround delay between interrupt request and trigger on RISC-V (backport v4.3)
See merge request espressif/esp-idf!12679
2021-03-11 07:12:56 +00:00
Cao Sen Miao
268787c5fb
spi_flash: remove useless dummy and make rom compatible on esp32s3
2021-03-11 14:31:27 +08:00
Cao Sen Miao
d92ac450a2
temp_sensor: add calibration for esp32c3
2021-03-11 14:25:18 +08:00
Angus Gratton
233f3f80e5
Merge branch 'feature/skip_validate_v4.3' into 'release/v4.3'
...
bootloader: Add config options to skip validation of app for minimum boot time (v4.3)
See merge request espressif/esp-idf!12683
2021-03-11 05:47:43 +00:00
Chinmay Chhajed
d01efe4b8c
Fix for C2H flow control param check when only BLE mode is configured.
2021-03-11 12:04:01 +08:00
Michael (XIAO Xufeng)
e48935d187
Merge branch 'bugfix/uart_baud_c3_s3_v4.3' into 'release/v4.3'
...
uart: fixed incorrect baudrate on C3 and S3 when target is too slow (v4.3)
See merge request espressif/esp-idf!12681
2021-03-10 17:10:13 +00:00
Jiang Jiang Jian
12bbd1f051
Merge branch 'bugfix/fix_some_wifi_bugs_0309_v4.3' into 'release/v4.3'
...
esp_wifi: Fix some Wi-Fi bugs 0309 (backport v4.3)
See merge request espressif/esp-idf!12670
2021-03-10 11:07:20 +00:00
Angus Gratton
0305d13467
bootloader: Add config options to skip validation of app for minimum boot time
2021-03-10 19:08:47 +11:00
baohongde
e6ace495b4
Fix issues during light sleep and DFS
2021-03-10 14:14:49 +08:00
baohongde
b449909b35
Fix controller task watchdog in Wi-Fi test
2021-03-10 14:14:29 +08:00
gengyuchao
0253d825e9
Fix IRAM_ATTR missing
2021-03-10 14:14:04 +08:00
aleks
32b0836485
driver: esp32s3 fix UART driver
...
Fix set UART2 instance to correct base address (esp32s3 has non standard base periph address)
2021-03-10 13:41:10 +08:00
Michael (XIAO Xufeng)
7dca6b7428
uart: fixed incorrect baudrate on C3 and S3 when target is too slow
...
The integer part of the divider is only 12-bit now. We used prescaler to get low frequency instead.
2021-03-10 13:41:10 +08:00
Michael (XIAO Xufeng)
b180c2a146
Merge branch 'bugfix/touch_element_callback_para_v4.3' into 'release/v4.3'
...
touch_element: fix event callback parameter type, change it into pointer (backport v4.3)
See merge request espressif/esp-idf!12629
2021-03-10 05:26:50 +00:00
Omar Chebib
113bf479a4
espcoredump: code refactoring and add support for RISC-V implemetation
...
This commit includes the refactoring of the core dump feature. Thanks to
this refactoring, it is easier to integrate the support of RISC-V
architecture for this feature.
Fixes ESP-1758
2021-03-10 12:19:00 +08:00
Omar Chebib
774f010196
freertos: Fix delay between interrupt request and trigger on RISC-V
...
NOP instructions have been added in order to prevent the code
from executing code it shouldn't execute. This is due to a delay
between the moment an interrupt is requested and the moment it
is fired. It only happens on RISC-V SoC.
2021-03-10 12:14:21 +08:00
0xFEEDC0DE64
d36c72fba0
Fixed c++ include usage for esp_core_dump.h
2021-03-10 12:04:42 +08:00
Marius Vikhammer
1c8fd4041e
aes/sha: use a shared lazy allocated GDMA channel for AES and SHA
...
Removed the old dynamically allocated GDMA channel approach.
It proved too unreliable as we couldn't not ensure consumers of the mbedtls
would properly free the channels after use.
Replaced by a single shared GDMA channel for AES and SHA, which won't be
released unless user specifically calls API for releasing it.
2021-03-10 09:40:35 +08:00
Jiang Jiang Jian
d4263c2558
Merge branch 'bugfix/btdm_crash_when_esp_restart_v4.3' into 'release/v4.3'
...
components/bt: Fix crash in Bluetooth when esp_restart
See merge request espressif/esp-idf!12641
2021-03-09 17:30:45 +00:00
xiehang
ea49545269
esp_wifi: Fix some Wi-Fi bugs 0309
...
1. Fix the issue that the parameters obtained from RAM cannot be saved to NVS
2. Modify not to store the default value in NVS
3. Fixed issue with hidden AP scans after connecting AP.
4. Fix watchdog issue when receiving action frame.
5. Fixed issue of reason code change from 15 to 204 when provide wrong password
6. Fix set config return value error
7. Fix ampdu age timer memory leak
2021-03-09 20:30:13 +08:00
Michael (XIAO Xufeng)
9ca05c17ae
Merge branch 'bugfix/ota_simple_backport_v4.3' into 'release/v4.3'
...
ota: fix ota with flash encryption(backport v4.3)
See merge request espressif/esp-idf!12639
2021-03-09 09:42:57 +00:00
baohongde
1e77586120
components/bt: Fix crash in Bluetooth when esp_restart
2021-03-05 20:19:18 +08:00
Cao Sen Miao
1ea548ecb3
ota: fix ota with flash encryption
2021-03-05 18:39:32 +08:00
Aditya Patwardhan
962ea61d53
protocomm: Fixed NULL check of allocated memory
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-03-05 10:04:45 +05:30
Aditya Patwardhan
d61ee580d5
esp_tls: Fix misplaced paranthesis in esp_tls_mbedtls.c
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-03-05 10:04:45 +05:30
Aditya Patwardhan
947e445e02
Fix esp_tls: Prevent freeing of global ca store after each connection
...
when dynamic ssl buffers are enabled
2021-03-05 09:53:19 +05:30
Kang Zuo Ling
1821fd766b
touch_element: fix event callback parameter type, change it into pointer
2021-03-05 11:45:47 +08:00
liqigan
58c9a2eaba
add API esp_spp_stop_srv_scn
to stop a specific server
2021-03-04 15:16:44 +08:00
Marius Vikhammer
fb82bdb9da
docs: update api-reference chapters for C3
...
Checked and updated the following chapters:
* api-reference/network
* api-reference/protocols
* api-reference/provisioning
* api-reference/storage
* api-reference/peripherals/ds
* api-reference/peripherals/hmac
* api-reference/peripherals/secure_element
2021-03-02 15:00:56 +08:00
Shubham Kulkarni
20b25a9667
esp_wifi_deinit: Return ESP_ERR_WIFI_NOT_STOPPED if wifi is not stopped
...
Add test case to test this workflow
2021-03-01 05:33:26 +00:00
Angus Gratton
1d9d444c07
Merge branch 'bugfix/deepsleep_disable_brownout_s2_v4.3' into 'release/v4.3'
...
deep_sleep: on S2 disable the brown out detector before deep sleeping (v4.3)
See merge request espressif/esp-idf!12499
2021-03-01 03:50:20 +00:00
Michael (XIAO Xufeng)
8ceb462993
Merge branch 'feature/enable_gpio19_esp32c3_v4.3' into 'release/v4.3'
...
gpio: enable GPIO19 on ESP32C3 boards (backport v4.3)
See merge request espressif/esp-idf!12542
2021-02-27 05:25:42 +00:00
Michael (XIAO Xufeng)
6accffecea
Merge branch 'bugfix/fix_spi_slv_hd_dma_reset_issue_4.3' into 'release/v4.3'
...
spi_slave_hd: fix spi slv hd dma reset issue (4.3)
See merge request espressif/esp-idf!12513
2021-02-27 04:12:42 +00:00
Michael (XIAO Xufeng)
de79e482c9
Merge branch 'feaature/deep_sleep_wakeup_backport' into 'release/v4.3'
...
esp_system: support gpio wakeup from deep sleep on esp32c3(backport v4.3)
See merge request espressif/esp-idf!12537
2021-02-26 14:49:19 +00:00
aditi_lonkar
6638b81f8e
esp_wifi: Fixes issue of crashing when verbose logs are enabled.
2021-02-26 19:00:55 +05:30
Jiang Jiang Jian
d92b647199
Merge branch 'bugfix/fix_some_wifi_bugs_0226_v4.3' into 'release/v4.3'
...
esp_wifi: fix some wifi bugs (backport v4.3)
See merge request espressif/esp-idf!12538
2021-02-26 12:52:39 +00:00
zwj
aa652adc12
fix crash caused by spp pairing cancel
2021-02-26 19:17:51 +08:00
Omar Chebib
5795075460
gpio: enable GPIO19 on ESP32C3 boards
2021-02-26 17:54:36 +08:00
Cao Sen Miao
198d350fe5
esp_system: support gpio wakeup from deep sleep on esp32c3
2021-02-26 17:08:22 +08:00
Michael (XIAO Xufeng)
24f3341a2d
Merge branch 'docs/spi_flash_auto_suspend_v4.3' into 'release/v4.3'
...
spi_flash: update docs after adding CONFIG_SPI_FLASH_AUTO_SUSPEND (v4.3)
See merge request espressif/esp-idf!12512
2021-02-26 08:53:48 +00:00
zhangyanjiao
5a429f644f
esp_wifi: update wifi lib
2021-02-26 16:36:16 +08:00
Xia Xiaotian
9aae8e0ce3
esp_wifi: synchronize Wi-Fi adapter between different chips
...
Support preferring to allocate Wi-Fi memory from PSRAM on ESP32-S3
Support Wi-Fi TX cache buffer on ESP32-S3
2021-02-26 16:34:23 +08:00
Xia Xiaotian
e5e47ebae6
esp_wifi: store PHY digital registers before disabling PHY and load
...
them after enabling PHY
2021-02-26 16:34:10 +08:00
ChenJianxing
436c3c289e
esp_wifi: optimization wifi rate
...
1.support disable 11b rate
2.support config espnow rate
3.fix sta negotiate phymode issue
4.update ftm rate
2021-02-26 16:32:09 +08:00
dongyou
2aa6aa8b88
change rom function for esp32c3 to fix eb lldesc size issue
2021-02-26 16:31:12 +08:00
Armando
3e9cd49d32
spi_slv_hd: add hal_trans_finish comments for clarifying risk
2021-02-26 10:39:12 +08:00
Armando
2c1845995b
spi_slave_hd: refactor the hal append api to remove the spinlock
2021-02-26 10:39:10 +08:00
Armando
41bee7831f
adc: apply gdma api to adc on esp32c3
2021-02-25 18:53:32 +08:00
Michael (XIAO Xufeng)
bd1b4dbda1
Merge branch 'feature/apply_gdma_new_channel_api_to_spi_4.3' into 'release/v4.3'
...
spi: apply gdma new channel api to spi (v4.3)
See merge request espressif/esp-idf!12501
2021-02-25 10:36:09 +00:00
Michael (XIAO Xufeng)
1de12526eb
spi_flash: update docs after adding CONFIG_SPI_FLASH_AUTO_SUSPEND
2021-02-25 18:08:23 +08:00
Michael (XIAO Xufeng)
f0f2799946
Merge branch 'bugfix/gdma_pair_uninstall_concurrency_issue_v4.3' into 'release/v4.3'
...
gdma: fix wrong level of {group,pair} reference count (v4.3)
See merge request espressif/esp-idf!12488
2021-02-25 09:11:58 +00:00
Armando
8a2f91b48a
spi: add enum for spi dma channels
2021-02-25 11:03:18 +08:00
Armando
ed6fb33726
spi: remove hard-coded DMA chan in soc_caps.h
2021-02-25 11:03:07 +08:00
Armando
66d10f0eec
spi: refactor spi_common dma allocator
2021-02-25 11:01:33 +08:00
Armando
97f248d22c
spi: update unit tests to spi gdma allocator
2021-02-25 11:01:27 +08:00
Armando
ffc4ff5a8c
spi: apply gdma allocator to SPI
2021-02-25 11:01:16 +08:00
Armando
326d76ebdf
spi: add dma channel auto-alloc feature on esp32
2021-02-25 11:01:06 +08:00
Marius Vikhammer
c6ed522d60
deep_sleep: on S2 disable the brown out detector before deep sleeping
...
On S2 the brown out detector would occasionally trigger erroneously during deep sleep.
Disable it before sleeping to circumvent this issue.
Closes https://github.com/espressif/esp-idf/issues/6179
2021-02-25 10:53:06 +08:00
Angus Gratton
8e187e7157
Merge branch 'bugfix/c3_unit_test_cleanup_v4.3' into 'release/v4.3'
...
System: C3 shared stack watchpoint & unit test cleanups (v4.3)
See merge request espressif/esp-idf!12418
2021-02-24 22:51:11 +00:00
morris
19f18aaa11
gdma: fix wrong level of {group,pair} ref count
2021-02-24 17:46:23 +08:00
morris
626a861115
async_mcp: clean eof flag when prepare rx descriptors
2021-02-24 17:46:23 +08:00
Marius Vikhammer
3d9523724d
freertos: add API for getting tick rate on C3
2021-02-23 12:14:11 +08:00
Marius Vikhammer
360e7c4d51
system: enable shared stack watchpoint
...
Enable shared stack watchpoint for overflow detection
Enable unit tests:
* "test printf using shared buffer stack" for C3
* "Test vTaskDelayUntil" for S2
* "UART can do poll()" for C3
2021-02-19 16:59:29 +08:00
Marius Vikhammer
9083ef97e5
spi_flash: disable mmap into instr space unit test for C3
...
On C3 the cache is programmatically split between Icache and dcache and with the default setup we dont leave a lot pages
available for additional mmaps into instruction space. Disabling this test for now since any hypothetical use case for this
is no longer supported "out of the box"
2021-02-19 16:58:47 +08:00
aleks
321ee21c4c
freemodbus: fix mb controller parity propagation issues
...
Closes https://github.com/espressif/esp-idf/issues/6377
2021-02-16 10:47:43 +01:00
Angus Gratton
4ce47b0394
Merge branch 'feature/master_build_c3_example' into 'master'
...
CI: enable example builds for C3
Closes IDF-2364
See merge request espressif/esp-idf!11968
2021-02-10 11:54:26 +08:00
Michael (XIAO Xufeng)
2c0962f727
Merge branch 'feature/spi_flash_auto_suspend_default_on_c3' into 'master'
...
spi_flash: make the auto_suspend default y on C3
See merge request espressif/esp-idf!12233
2021-02-09 19:50:48 +08:00