Axel Lin
93c79c4516
freertos_hooks: Fix unbalance lock in deregistration for cpu functions
...
Current code exits the deregistration for cpu functions with spinlock held when
cpuid >= portNUM_PROCESSORS. Fix it.
Fixes: 9d63e1da4a
("New Task Watchdog API (Revert of Revert)")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2020-12-16 09:10:38 +08:00
Krzysztof Budzynski
dc73031f7f
Merge branch 'doc/esp_partition_documentation' into 'master'
...
SPI Flash: fix doc error in esp_partition.h
See merge request espressif/esp-idf!10506
2020-12-11 16:36:44 +08:00
Angus Gratton
8929a9cdb1
Merge branch 'feature/aes_hal' into 'master'
...
AES: refactor and add HAL layer
See merge request espressif/esp-idf!10979
2020-12-11 15:39:49 +08:00
Angus Gratton
f50dd23872
Merge branch 'feature/merge_esp32c3_bootloader_support' into 'master'
...
esp32c3: add initial bootloader and target component support
Closes IDF-2435 and IDF-2436
See merge request espressif/esp-idf!11433
2020-12-11 15:36:28 +08:00
Angus Gratton
3e6313ffc1
Merge branch 'bugfix/enable_verify_app_test_s2' into 'master'
...
bootloader_support: re-enable S2 unit test
See merge request espressif/esp-idf!11521
2020-12-11 14:36:55 +08:00
morris
c39476d699
esp_rom: added esp_rom_install_uart_printf
2020-12-11 11:45:10 +08:00
morris
3f287800eb
bootloader_support: added esp32-c3 support
2020-12-11 11:45:10 +08:00
morris
8330b2541a
esp32c3: added target component
2020-12-11 11:44:01 +08:00
morris
65aebef596
esp32c3: added 2nd bootloader project linker file
2020-12-11 11:44:01 +08:00
Angus Gratton
7472d76db0
Merge branch 'bugfix/after_ligth_sleep_esp_timer_forms_one_event' into 'master'
...
esp_timer: Add an option skip_unhandled_events
See merge request espressif/esp-idf!10969
2020-12-11 06:04:58 +08:00
Marius Vikhammer
457ce080ae
AES: refactor and add HAL layer
...
Refactor the AES driver and add HAL, LL and caps.
Add better support for running AES-GCM fully in hardware.
2020-12-10 09:04:47 +00:00
Jakob Hasse
60dfd87e65
SPI Flash: fix doc error in esp_partition.h
2020-12-10 17:03:56 +08:00
Marius Vikhammer
0c3714de1c
bootloader_support: re-enable S2 unit test
...
Re-enable "Verify unit test app image"
2020-12-10 08:04:09 +00:00
Michael (XIAO Xufeng)
49022d4d92
Merge branch 'fix/adc_hal_reading_efuse_in_critical' into 'master'
...
adc: fixed efuse called in critical section issue
See merge request espressif/esp-idf!11519
2020-12-10 14:09:09 +08:00
Angus Gratton
e4407468bc
Merge branch 'feature/flash_binary_partition_with_name' into 'master'
...
buildsystem: flash binary to a named partition
Closes IDF-2387
See merge request espressif/esp-idf!11342
2020-12-10 06:24:15 +08:00
Mahavir Jain
1584ccf834
Merge branch 'feature/http_error_code' into 'master'
...
Feature/support 401, 403 response error code for HTTP server
Closes IDFGH-3511
See merge request espressif/esp-idf!11473
2020-12-09 23:45:38 +08:00
KonstantinKondrashov
aa96c9a4d8
esp_timer: Add an option to skip unhandled events for periodic timers
...
- Added an option to skip unhandled events for periodic timers. Useful for light sleep.
- Added doc about this case
- Added Test a latency between a call of callback and real event (14-16us). and UT to check skip_unhandled_events.
- Fixed for esp_timer_dump() if name of timer is NULL
- Refactored timer_process_alarm()
- Added the delete function after using in UTs
2020-12-09 17:19:19 +08:00
David Čermák
bf294fd1ae
Merge branch 'bugfix/crt_bundle_bad_md' into 'master'
...
esp_crt_bundle: allow weak hash algorithm for trusted certificate
Closes IDFGH-4266
See merge request espressif/esp-idf!11376
2020-12-09 16:16:35 +08:00
Liu Han
669d9820fc
esp_http_server: Add some response error code, such as 401, 403 etc.
...
Closes https://github.com/espressif/esp-idf/issues/5466
2020-12-09 06:22:01 +00:00
Island
4605a8ac80
Merge branch 'optimize/ble_mesh_miscellaneous' into 'master'
...
Optimize/ble mesh miscellaneous
See merge request espressif/esp-idf!11500
2020-12-08 19:35:46 +08:00
Michael (XIAO Xufeng)
04d6b115ae
adc: fixed efuse called in critical section issue
2020-12-08 17:41:49 +08:00
Angus Gratton
c0e0be6ac3
Merge branch 'bugfix/bootloader_dont_trigger_address_decoding' into 'master'
...
bootloader: avoid printing load addresses with '0x'
See merge request espressif/esp-idf!11445
2020-12-08 15:19:58 +08:00
lly
fb531815b0
ble_mesh: stack: Move bt_mesh_rand to mesh_common.c
2020-12-08 15:13:04 +08:00
lly
19c3f38b36
ble_mesh: stack: Remove useless BT_DBG_ENABLED in a few files
2020-12-08 15:13:04 +08:00
lly
b77563abb0
ble_mesh: Replace zephyr integer types with C99 types [Zephyr]
2020-12-08 15:13:04 +08:00
lly
162e11cff3
ble_mesh: stack: Update ARRAY_SIZE definition
2020-12-08 15:13:04 +08:00
Omar Chebib
02ddecb69f
buildsystem: flash binary to a named partition
...
Changed optional value parameter 'encrypted' to a named parameter
called 'ALWAYS_PLAINTEXT'. This flag can be passed to:
- esptool_py_flash_target
- esptool_py_flash_target_image
Fix wrong identation.
2020-12-08 12:16:02 +08:00
Michael (XIAO Xufeng)
f174cc35a8
Merge branch 'test/disable_sdio_single_core_tests' into 'master'
...
ci: disable some sdio_slave tests on single core config
Closes IDFCI-233 and IDFCI-240
See merge request espressif/esp-idf!11492
2020-12-08 11:48:13 +08:00
Marius Vikhammer
7e0f362149
esp_crt_bundle: add additional unit tests
...
Add unit test for:
* Trusted certificate with weak hash algorithm signature
* Certificate with wrong signature
Merges https://github.com/espressif/esp-idf/pull/6117
2020-12-08 10:11:31 +08:00
Michael (XIAO Xufeng)
85ac572e4a
Merge branch 'bugfix/phy_set_xpd_sar' into 'master'
...
wifi: add set_xpd_sar override
Closes IDFGH-235, IDFGH-1442, IDFGH-1917, IDFGH-2473, and IDFGH-2168
See merge request espressif/esp-idf!7185
2020-12-07 16:09:02 +08:00
Ivan Grokhotkov
4bfa2c937f
Merge branch 'bugfix/nvs_close_nukes_all_handles' into 'master'
...
NVS: fixed deinit other partition's handles
Closes FCS-533
See merge request espressif/esp-idf!10940
2020-12-07 15:57:14 +08:00
Island
4f082154e0
Merge branch 'feat/ble_mesh_multiple_nvs_namespace' into 'master'
...
ble_mesh: stack: Provisioner supports multiple nvs namespaces
Closes BLEMESH-260
See merge request espressif/esp-idf!11355
2020-12-07 14:43:04 +08:00
Angus Gratton
3d1d22f1f4
Merge branch 'esp32/include_extram_bss_in_linker_fragment' into 'master'
...
esp32: Provision to redirect .bss to external ram through linker fragments
See merge request espressif/esp-idf!9894
2020-12-07 14:01:21 +08:00
Cao Sen Miao
d6f0b4af6f
adc_i2s: solve the i2s_adc issue when using wifi
2020-12-07 10:45:04 +08:00
Ivan Grokhotkov
d890a516a1
driver: add notes about GPIO36/39 issue (ECO 3.11) workaround
...
Closes IDFGH-1917
Closes https://github.com/espressif/esp-idf/issues/4117
2020-12-07 10:45:04 +08:00
Ivan Grokhotkov
80e7252c13
wifi: add set_xpd_sar override
...
Wi-Fi enables and disables ADC when exiting and entering sleep mode.
Coordinate ADC power state with other modules, using adc_power_acquire
and adc_power_release.
2020-12-07 10:45:04 +08:00
Ivan Grokhotkov
a4f81d0bd3
adc: add adc_power_acquire/release, deprecate adc_power_on/off
2020-12-07 10:45:04 +08:00
Michael (XIAO Xufeng)
a579011584
ci: disable some sdio_slave tests on single core config
2020-12-07 10:15:35 +08:00
lly
a90e3cdf95
ble_mesh: stack: Provisioner supports multiple nvs namespaces
...
Now Provisioner can use different NVS namespaces to store
different instances of mesh information, for example, for
different user accounts.
2020-12-04 20:31:25 +08:00
Sachin Parekh
be5563207d
esp32: Provision to redirect .bss to external ram through linker fragments
...
Include external ram section in the linker template to process it
through linker script generation mechanism. This enables redirection of .bss section to external memory using linker fragments
libnet80211, libpp, libbt, liblwip: Redirect .bss through fragments
2020-12-04 06:32:38 +00:00
Cao Sen Miao
eeddd44d0a
esp_flash: update document to reflect the restrictions of mmap/cache
2020-12-04 11:10:43 +08:00
Konstantin Kondrashov
4a487af43a
efuse: Add new APIs for keys, purposes, wr/rd protection
...
- the batch mode can be called recursively
2020-12-04 10:42:57 +08:00
Michael (XIAO Xufeng)
a92d90435f
Merge branch 'feature/esp32s2_adc_calib' into 'master'
...
adc: add driver for esp32s2 adc calibration scheme
Closes IDFGH-3500, IDF-1458, and IDF-2013
See merge request espressif/esp-idf!9557
2020-12-03 20:09:07 +08:00
Wu Bo Wen
5cc329b9d0
driver/adc: support for esp32s2 adc calibration scheme V2
...
notice that the o_code is now pulled from efuse instead of automatically calibrated. This may influence other parts of the system.
Closes https://github.com/espressif/esp-idf/issues/5455
2020-12-03 20:08:59 +08:00
Shubham Kulkarni
bc78b8f2da
esp_https_ota: Add definition for esp_https_ota_abort
...
Update esp_https_ota API to use esp_https_ota_abort in case of error
2020-12-03 14:49:55 +05:30
lucastcox
d5d722c66f
app_update: Add definition for esp_ota_abort
...
Closes: https://github.com/espressif/esp-idf/issues/5329
Merges: https://github.com/espressif/esp-idf/pull/5331
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2020-12-03 14:49:52 +05:30
Jeff Epler
a79cb9f8cd
esp_crt_bundle: Allow verify_callback to correct BADCERT_BAD_MD
2020-12-03 14:53:53 +08:00
Island
e2e05fd91c
Merge branch 'feature/btdm_support_some_ble_new_features' into 'master'
...
Feature/btdm support some ble new features
See merge request espressif/esp-idf!11432
2020-12-03 11:50:55 +08:00
Ivan Grokhotkov
89d39308a0
bootloader: avoid printing load addresses with '0x'
...
Since idf_monitor decodes anything that looks like a code address and
starts with 0x, bootloader logs often get annotated with function
names such as WindowOverflow and other random and scary looking things
unrelated to the issue the user is facing. Print the addresses without
0x to avoid confusion by decoded function names. Print hexadecimal
size with 'h' suffix to distinguish it from the decimal value that
follows.
2020-12-02 16:33:43 +01:00
Mahavir Jain
a5fd7878db
Merge branch 'fix/update_tls_sockfd_after_freeing_internally' into 'master'
...
esp-tls : (Fix) update tls->sockfd value after socket is freed internally
Closes IDFGH-4321
See merge request espressif/esp-idf!11417
2020-12-02 21:23:39 +08:00