lly
e8c5f5dc03
ble_mesh: Add some common macros for sensor model
2020-04-26 06:08:44 +00:00
lly
361dd8b29c
ble_mesh: Allow empty sensor series column value
2020-04-26 06:08:44 +00:00
lly
561191d50f
ble_mesh: Check if same sensor (settings) property id exists
2020-04-26 06:08:44 +00:00
lly
3862f0e784
ble_mesh: Allow empty sensor settings exist
2020-04-26 06:08:44 +00:00
Angus Gratton
bb0a95b17c
spi_flash s2: Fix encrypted writes when legacy implementation disabled
...
ROM function didn't use correct Addr bitlen if legacy was disabled on ESP32-S2
2020-04-24 12:43:47 -03:00
Angus Gratton
dbdce93d23
spi_flash: Use per-chip flash_ops files for legacy API
...
Looks like when ESP32-S2 Beta support was merged, the separate files
were dropped by accident.
2020-04-24 12:43:47 -03:00
Felipe Neves
95bc186846
flash_encryption: Fix next spi boot crypt counter value after a plaintext flash
2020-04-24 12:43:47 -03:00
Felipe Neves
f7ccc081a5
flash_encryption: replace spi crypt count efuse burning function by a esp_efuse_API
...
flash_encryption: modify additional efuses burning method to fix them are not being written
flass_encryption: burn efuse to disable boot from RAM space
flash_encryption: added better checking for key generation state plus set read and write protect for them
soc esp32s2: Add register-level bit definitions for read & wrote protect bits
esp32s2: Fixes for flash encryption
- Write efuses in a batch
- Fix some detection of whether existing efuse blocks are read/write protected
2020-04-24 12:43:47 -03:00
Felipe Neves
6f27992430
flash_encryption: return more clear error codes when bootloader encryption fails
2020-04-24 12:43:47 -03:00
Felipe Neves
b3d8847406
flash_encryption: added wdt feed during encryption process to avoid undesired reset.
2020-04-24 12:43:47 -03:00
Felipe Neves
7635dce502
bootloader/flash_encrypt: added esp32s2 flash encryption code on build system and enabled example
...
flash_enctryption: enabled flash encryption example on esp32s2
bootloader: raise WDT overflow value providing sufficient interval to encrypt app partition
flash_ encrypt: Fixed the TODOs on flash encryption key generation for esp32s2
flash_encryption: added secure boot features to flash enctryption for esp32s2
bootloader: leave only esp32s2 compatible potentially insecure options on menuconfig.
flash_encryption: removed secure boot version 1 from esp32s2 encryption code
flash_encryption: added CONFIG_SECURE_FLASH_REQUIRE_ALREADY_ENABLED option for esp32s2
flash_encryption: fixed the count of left plaintext flash
flash_encryption: disable dcache and icache download when using encryption in release mode
flash_encryption: add cache potentally insecure options for s2 chips
flash_encryption: fixed bug which bricked some chips in relase mode
2020-04-24 12:43:47 -03:00
Ivan Grokhotkov
cd1aba595e
Merge branch 'bugfix/mpu_panic' into 'master'
...
Fix issue with mpu illegal access test
See merge request espressif/esp-idf!8418
2020-04-24 20:54:08 +08:00
Michael (XIAO Xufeng)
77d5e4b4e2
Merge branch 'bugfix/timer_group_intr_enable' into 'master'
...
Bugfix/timer group intr enable
Closes IDFGH-3082
See merge request espressif/esp-idf!8340
2020-04-24 18:28:36 +08:00
Renz Bagaporo
5abb4f6455
esp_system, esp_common: fixes to some panic handler refactor issues
2020-04-24 16:34:15 +08:00
Renz Bagaporo
4571fb219f
soc: change region in mpu test
...
Previously, the test uses region 3 for the illegal access test
(0x60000000 - 0x7fffffff). This caused issues with there being
peripherals located in that memory range. Change to use region 4
(0x8000000 - 0x9fffffff) instead).
2020-04-24 16:34:15 +08:00
Jiang Jiang Jian
79288f25e4
Merge branch 'bugfix/fix_esp32s2_package_recv_issue' into 'master'
...
esp_wifi: Update esp32s2 phy lib v303
Closes WIFI-2141 and WIFI-2142
See merge request espressif/esp-idf!8321
2020-04-24 11:19:48 +08:00
Ivan Grokhotkov
275ed32a11
Merge branch 'feature/esp32s2_iram_dram_protection' into 'master'
...
esp32s2: IRAM/DRAM memory protection
See merge request espressif/esp-idf!8156
2020-04-23 21:52:54 +08:00
morris
91e62f4e37
timer_group: update hal api && fix intr_enable
...
timer group interrupt enable is controled by level_int_ena instead of int_ena
Closes https://github.com/espressif/esp-idf/issues/5103
2020-04-23 19:29:15 +08:00
morris
e0b9f7be6d
periph_clk_gating: add reference counter
2020-04-23 19:29:15 +08:00
morris
99f0dc78c8
soc: remove mcpwm description file from esp32s2
2020-04-23 19:26:55 +08:00
Ivan Grokhotkov
28efe511f4
Merge branch 'bugfix/semihosting_write' into 'master'
...
Semihosting fixes for write and the semihost example
See merge request espressif/esp-idf!8290
2020-04-23 06:26:41 +08:00
Mahavir Jain
44939a6b1e
Merge branch 'feature/iram_data_bss' into 'master'
...
esp32: IRAM_DATA_ATTR and IRAM_BSS_ATTR introduced
See merge request espressif/esp-idf!8377
2020-04-22 21:44:44 +08:00
Wang Jia Lin
e3f85faee5
Merge branch 'bugfix/fix_spi_flash_clock_config_error' into 'master'
...
flash: fix spi flash clock config error
Closes IDFGH-3077
See merge request espressif/esp-idf!8384
2020-04-22 12:44:17 +08:00
Martin Vychodil
7491ea677a
esp32s2: IRAM/DRAM memory protection
...
* new mem_prot API
* mem_prot on & locked by default (see Kconfig)
* feature activated in start_cpu0_default()
JIRA IDF-1355
2020-04-21 15:10:58 +02:00
Michael (XIAO Xufeng)
e2fc591a20
Merge branch 'bugfix/esp_flash_revert_qe_clear' into 'master'
...
esp_flash: fix the regression of non-quad mode by default chip driver, bugs in add_device and deprecate cs_id
See merge request espressif/esp-idf!8260
2020-04-21 17:52:42 +08:00
Ivan Grokhotkov
1a7dbe22da
Merge branch 'bugfix/wrong_cpp_guard' into 'master'
...
Bugfix/wrong cpp guard
Closes IDFGH-3129 and IDF-1219
See merge request espressif/esp-idf!8403
2020-04-20 18:47:28 +08:00
Jiang Jiang Jian
80e5eb896c
Merge branch 'optimization/DNS_get_function' into 'master'
...
lw-ip:optimization DNS get function
Closes WIFI-1566
See merge request espressif/esp-idf!8244
2020-04-20 16:52:22 +08:00
morris
5d0860f2e8
fix broken CONFIG_LEGACY_INCLUDE_COMMON_HEADERS
2020-04-20 14:01:09 +08:00
dowster
7b02fdf45a
Fix typo with sigmadelta.h #ifdef
2020-04-17 22:52:00 -05:00
Sachin Parekh
1e6c25992e
esp32: IRAM_DATA_ATTR and IRAM_BSS_ATTR introduced
...
Using these attributes, .data and .bss can be placed in IRAM
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2020-04-17 19:35:23 +05:30
Michael (XIAO Xufeng)
9d9d22c920
esp_flash: deprecate the cs_id member, which is no longer used.
...
We used to manually specify the CS id. However after the SPI bus lock is
introduced, the lock is responsible to assign the CS lines and provide
the CS id. The esp_flash driver now depends on the ID assigned by the
SPI bus lock, the configuration field is deprecated.
2020-04-17 18:15:33 +08:00
Michael (XIAO Xufeng)
5404e3d434
esp_flash: fix cache exception when CS pin is through IOMUX
2020-04-17 18:15:33 +08:00
Michael (XIAO Xufeng)
11501dbaa9
esp_flash: fix the cleanup when add device fails
2020-04-17 18:15:32 +08:00
Michael (XIAO Xufeng)
dc26065a72
esp_flash: fix the regression of non-quad mode by default chip driver
...
The issue is introduced in 571864e8ae
. The
esp_flash API tries to clear the QE bit when the flash is not working in
quad modes.
However this introduces a regression, compared to earlier versions and
the legacy API. When the chip is not detected, the generic chip driver
is used, which cannot 100% handle the QE bit properly for all flash
vendors. There may be some flash chips (e.g. MXIC) that can be used in
dual modes by legacy API, but output wrong data when the esp_flash API
clears the QE bit in a wrong way.
This commit reverts the QE force clearing behavior, so that it's safer
for the generic chip driver to work under dual modes.
2020-04-17 18:15:31 +08:00
Ivan Grokhotkov
b732abec7f
Merge branch 'bugfix/freemodbus_add_cpp_extern' into 'master'
...
freemodbus: add extern c block into common header for cpp
Closes IDFGH-3046
See merge request espressif/esp-idf!8281
2020-04-17 17:56:51 +08:00
Alex Lisitsyn
b1fe4c4cc6
freemodbus: add extern c block into common header for cpp
2020-04-17 17:56:50 +08:00
Ivan Grokhotkov
9003c01b4b
Merge branch 'init_priority_fix' into 'master'
...
CXX: make __attribute__((init_priority(n))) work
See merge request espressif/esp-idf!8276
2020-04-17 17:56:10 +08:00
chenjianqiang
ec9cc27e08
flash: fix spi flash clock config error
...
Closes https://github.com/espressif/esp-idf/issues/5099
2020-04-17 16:26:26 +08:00
Mahavir Jain
4e71cb3e68
Merge branch 'bugfix/transport_ssl_reset_state_on_closure' into 'master'
...
transport_ssl: reset state on connection closure
See merge request espressif/esp-idf!8355
2020-04-16 12:38:58 +08:00
David Čermák
d043674b2b
Merge branch 'feature/lwip_napt_forward' into 'master'
...
lw-IP: NAT support
Closes WIFI-931
See merge request espressif/esp-idf!7681
2020-04-16 03:03:00 +08:00
Andrei Gramakov
283026a761
vfs: semihost driver bugfix
2020-04-15 15:46:47 +02:00
Ivan Grokhotkov
882fd1b880
Merge branch 'bugfix/make_quoting_esptool_port' into 'master'
...
make: Fix quoting when flashing port is set via sdkconfig file
Closes IDFGH-3103 and IDFGH-3083
See merge request espressif/esp-idf!8352
2020-04-15 20:37:20 +08:00
xiehang
5d20610874
esp_wifi: Update esp32s2 phy lib v303
2020-04-15 20:18:42 +08:00
Mahavir Jain
49ce8d3fe5
transport_ssl: reset state on connection closure
...
For url redirection cases (HTTP status 301/302), internal
transport ssl connection state must be reinitialized for
successful (new) connection on updated url.
Closes https://github.com/espressif/esp-idf/issues/4598
2020-04-15 15:22:32 +05:30
Angus Gratton
433c1c9ee1
Merge branch 'bugfix/ds_mpi_lock' into 'master'
...
crypto: DS uses RSA peripheral, added shared lock
See merge request espressif/esp-idf!8274
2020-04-15 15:15:25 +08:00
David Čermák
7993d5c1f7
Merge branch 'bugfix/mqtt_aborts' into 'master'
...
esp_mqtt_abort_connection: Fixed an issue which could result in a race condition
Closes IDF-1521
See merge request espressif/esp-idf!8205
2020-04-15 14:37:01 +08:00
David Čermák
5e51b5dd09
Merge branch 'bugfix/ws_client_fragmented_send' into 'master'
...
ws_client: fix fragmented send setting proper opcodes
Closes IDFGH-2938
See merge request espressif/esp-idf!8112
2020-04-15 14:06:42 +08:00
Jiang Jiang Jian
80cee782a6
Merge branch 'bugfix/make_compile_phy_multiple_bin_error' into 'master'
...
bugfix: fix make compile phy multiple bin error
See merge request espressif/esp-idf!8299
2020-04-15 14:03:27 +08:00
David Čermák
e7b80f2b71
Merge branch 'feature/pppos_client_test' into 'master'
...
PPPoS client test
Closes IDF-310, WIFI-1652, IDFGH-2844, and IDFGH-2732
See merge request espressif/esp-idf!7794
2020-04-15 13:57:36 +08:00
Angus Gratton
90b3676280
make: Fix quoting when flashing port is set via sdkconfig file
...
Regression in 862fa815ff
Closes https://github.com/espressif/esp-idf/issues/5124
Closes https://github.com/espressif/esp-idf/issues/5104
2020-04-15 15:43:36 +10:00