Alex Lisitsyn
ea6710ce98
soc/hal: add tinyusb support esp32s3
...
add usb hal/soc, usb_ll files and esp32s3 target for usb
move usb_hal.h into soc common folder
soc/hal: fix soc and periph for usb
tinyusb: fix tinyusb io header
hal: usb_ll fix pull up/down config for esp32s3
soc/hal: fix peripheral addresses
2021-05-06 16:20:54 +08:00
Angus Gratton
61c941781c
Merge branch 'bugfix/pthread_join_debug_log' into 'master'
...
pthread: Fix possible deadlock when using pthread_join() and Debug log level
Closes IDF-2861
See merge request espressif/esp-idf!13429
2021-05-06 07:10:32 +00:00
morris
6e981af406
gdma: separate tx/rx channel interrupt
2021-05-06 15:06:37 +08:00
Angus Gratton
4d4e094d81
esp_hw_support: Clarify the documentation about hardware RNG entropy
2021-05-06 16:59:02 +10:00
wangjialiang
a5e12d9b63
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
...
Closes https://github.com/espressif/esp-idf/issues/6863
2021-05-06 06:49:04 +00:00
aleks
59935e44c0
freemodbus: increase max priority of modbus tasks
...
allows to avoid issues with modbus processing when higher priority tasks are used in user application
2021-05-06 14:32:40 +08:00
Michael (XIAO Xufeng)
58490418ad
Merge branch 'feature/merge_c3_caps' into 'master'
...
soc: merge C3 caps into a single soc_caps.h
See merge request espressif/esp-idf!13337
2021-05-06 05:56:42 +00:00
yuanjm
754ec7b278
esp_http_client: Add API to set http client timeout value
...
Closes https://github.com/espressif/esp-idf/issues/6984
2021-05-06 13:55:12 +08:00
Angus Gratton
52b555e1e0
esp32s2 riscv ulp: Make re-linking depend on linker script file
2021-05-06 09:25:32 +10:00
Angus Gratton
3ee4370578
esp32s2 riscv ulp: Ensure reset vector is always at offset 0x0
...
Previous linker script relied on nothing else using the .text section
As reported at https://esp32.com/viewtopic.php?f=2&t=20734&p=75997
2021-05-06 09:25:32 +10:00
Ivan Grokhotkov
d7f219686f
Merge branch 'feature/spiffsgen_py_esp8266_compat' into 'master'
...
spiffsgen.py: esp8266 compatibility options, performance improvement, type annotations
Closes IDFGH-4925
See merge request espressif/esp-idf!12839
2021-05-05 15:04:19 +00:00
Martin Thierer
75e0c6aaf5
gpio_isr_register(): Correct order of arguments in docs
...
Make documentation order consistent with function signature.
Merges https://github.com/espressif/esp-idf/pull/3999
2021-05-05 15:56:26 +02:00
Layne Bernardo
d1c8c268d4
Add event_stack_size option to esp_hidh_config_t
...
Merges https://github.com/espressif/esp-idf/pull/6385
2021-05-05 15:45:54 +02:00
Christian Winkler
13abf1ed2e
Fix adc-channel typo
...
Merges https://github.com/espressif/esp-idf/pull/6577
2021-05-05 15:40:35 +02:00
Dániel Buga
c8b697a114
Fix ignored return value.
...
sdio_ringbuf_send ignores the return value of the callback.
Merges https://github.com/espressif/esp-idf/pull/6768
2021-05-05 15:34:24 +02:00
Ivan Grokhotkov
2887c88f56
spiram: add header guards to esp32s3/spiram.h and remove the exception
2021-05-05 15:27:19 +02:00
Takao Akaki
897496dd73
Can't use spiram.h functions when building with cpp.
...
Merges https://github.com/espressif/esp-idf/pull/6658
2021-05-05 15:23:35 +02:00
Ivan Grokhotkov
f92e1c45ae
esp_partition: add test, docs for ESP_PARTITION_TYPE_ANY
2021-05-05 15:11:29 +02:00
0xFEEDC0DE64
1f419bd983
Allow to find any partition type (app and data) with iterator
...
Merges https://github.com/espressif/esp-idf/pull/6586
2021-05-05 14:54:07 +02:00
KonstantinKondrashov
ca481e18e1
bootloader_support: Used esp_image_get_metadata() instead of esp_image_verify()
...
- bootloader_common_get_sha256_of_partition will not do any unnecessery verifies.
- Used esp_image_get_metadata() instead of esp_image_verify().
2021-05-05 11:53:57 +00:00
KonstantinKondrashov
d9be32629e
bootloader: Fixed a case when signed OTA updates fail when debugger is attached due to the wrong image_len.
...
And it fixed another case for bootloader_common_get_sha256_of_partition() when CHECK_SIGNATURE is on
- If RSA signature check is on in Kconfig then sha256 was 0xFFFFF...
because image_load gave image_len which pointed to the end of sign blocks.
And image_digest was filled from a wrong position.
Closes https://github.com/espressif/esp-idf/issues/6873
2021-05-05 11:53:57 +00:00
Angus Gratton
bf1a6eb770
pthread: Fix possible deadlock when using pthread_join() and Debug log level
...
Possible for a joined task to be deleted at the moment it is logging,
meaning it might hold the stdout lock. In that case the lock isn't
released and the next task to try and take it (i.e. call printf)
will block indefinitely.
2021-05-05 14:12:13 +10:00
kapil.gupta
ad7cb5f5c1
wpa_supplicant: Write Crypto API based on mbedtls
...
This commit add following crypto changes
1. Update current crypto code with upstream supplicant code
2. Add a proper porting layer to use mbedtls APIs for all the crypto
operations used by supplicant.
Internal crypto will be used when USE_MBEDLTS flag is disabled
in supplicant's menuconfig.
This commit also removes the clutter in crypto files due to partial
porting of some APIs to mbedtls, all the code from those files have
been removed and rewritten in a generic way, this is inspired from
current upstream code.
This also reduces the lib size significantly, supplicant's lib
size reduces around ~567kb after this change(NB: lib size doesn't
indicate reduction in final bin size).
2021-05-04 10:54:57 +00:00
Angus Gratton
e02439f2de
freertos: Add addition overflow check for stream buffer
...
Patch from upstream commit d05b9c123f2bf9090bce386a244fc934ae44db5b
2021-05-04 16:55:40 +10:00
Angus Gratton
b41d4b0a9c
freertos: Check for arithmetic overflows on queue creation
...
Addition overflow check is from FreeRTOS kernel commit 47338393f1f79558f6144213409f09f81d7c4837
2021-05-04 16:55:20 +10:00
KonstantinKondrashov
9490d78f49
efuse/esp32s3: Update efuse table
2021-05-04 14:40:15 +08:00
David Čermák
94f08291ee
Merge branch 'bugfix/esp_eth_mac_openeth_c' into 'master'
...
esp_eth_mac_openeth.c: Fix issue created by generic check macros update
Closes IDFGH-5158
See merge request espressif/esp-idf!13343
2021-05-04 04:56:46 +00:00
KonstantinKondrashov
f35356f69d
esp32/psram: ESP32-PICO-V3 does not have PSRAM and does not support external PSRAM
2021-05-04 10:49:25 +08:00
Ivan Grokhotkov
da59a29be6
Merge branch 'update_copyright_notice_app_trace' into 'master'
...
app_trace: update copyright notice
See merge request espressif/esp-idf!13415
2021-05-03 12:00:53 +00:00
Ivan Grokhotkov
0bd9f6fe12
tools: spiffsgen: fix length error, add test case
2021-05-03 11:37:42 +02:00
Ivan Grokhotkov
952c9a2d05
Merge branch 'feature/esptool_wrapper' into 'master'
...
tools: Support external Esptool wrappers
Closes IDFGH-5095
See merge request espressif/esp-idf!13389
2021-05-03 09:32:46 +00:00
Ivan Grokhotkov
c88287851d
Merge branch 'feature/raise_log_level' into 'master'
...
feature: Set maximum log level, add startup time example
Closes IDFGH-3599 and IDFGH-333
See merge request espressif/esp-idf!12714
2021-05-03 08:52:27 +00:00
Axel Lin
aa333d4ab9
tcp_transport: Fix NULL pointer dereference if esp_transport_init returns NULL
...
Add missing NULL test for esp_transport_init() call.
Otherwise, it will hit NULL pointer dereference when assign t->_get_socket.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2021-05-03 15:46:59 +08:00
Wang Meng Yang
f471fc2262
Merge branch 'feature/add_esp32c3_hci_uart_example' into 'master'
...
Bluetooth: add hci uart example to ESP32-C3
See merge request espressif/esp-idf!13302
2021-05-03 02:46:54 +00:00
Jan Brudný
2a3c570abd
app_trace: update copyright notice
2021-05-03 04:39:23 +02:00
Michael (XIAO Xufeng)
1f95403596
Merge branch 'feature/emmc_doc_ut_4bit_sdr' into 'master'
...
sdmmc_host: add unit tests and improve documents about using eMMC in 4-line SDR mode
See merge request espressif/esp-idf!13334
2021-05-02 13:58:13 +00:00
Ivan Grokhotkov
9af485307e
tools: spiffsgen.py: minor lint fixes
...
Not squashing these since they should have gone into the commit before
adding type hints.
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
a9b81341ca
tools: spiffsgen.py: make default arguments meaningful
...
Without this, defaults of inverse options (--no-magic-len) were based
on the 'dest' value. In this case, dest='use_magic_len’, and the
default value is True. Which is confusing, because both
—use-magic-len and --no-magic-len show the same default value.
This adds a custom help formatter class which doesn’t add default
to the option help text if the help string already includes it.
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
9f20eeb1c0
tools: spiffsgen.py: add type annotations
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
930ee51b8f
tools: spiffsgen.py: avoid reallocating byte array for each new block
...
On large filesystems (~15 MB), this reduces execution time from
11s to 0.3s.
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
ad1606ae1d
tools: spiffsgen.py: esp8266 compatibility options
...
1. Implement --aligned-obj-ix-tables which is used by default on the
ESP8266 in NodeMCU and Arduino.
2. Introduce --no-magic and --no-magic-len to allow disabling options
--use-magic-len and --use-magic. As these have been declared with
default=True and action='store_true', they couldn't be disabled
otherwise.
Closes https://github.com/espressif/esp-idf/issues/6717
2021-04-30 18:07:48 +02:00
wangmengyang
59c0825ed8
Added example(ESP32-C3), to use Bluetooth Controller through HCI UART transport
2021-04-30 15:25:10 +00:00
Jiang Jiang Jian
73adacb7d4
Merge branch 'bugfix/fix_nolightsleep_after_wifi_init' into 'master'
...
esp_wifi: fix nolightsleep after wifi init
See merge request espressif/esp-idf!13404
2021-04-30 04:52:39 +00:00
Jiang Jiang Jian
efb9f87951
Merge branch 'bugfix/fix_728_series_reboot_failure' into 'master'
...
[system]: Fix two (re)boot failure issues on ESP32S3Beta
Closes WIFI-3548, WIFI-3559, and IDF-3170
See merge request espressif/esp-idf!13268
2021-04-30 03:20:47 +00:00
Ivan Grokhotkov
4faba8aecf
Merge branch 'bugfix/monitor_args' into 'master'
...
tools: Fix Cmake arguments for IDF Monitor
Closes IDFGH-5169
See merge request espressif/esp-idf!13383
2021-04-29 15:30:32 +00:00
Jiang Jiang Jian
97136cc512
Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt' into 'master'
...
optimize deep sleep current in wifi softap mode
Closes WIFI-3594
See merge request espressif/esp-idf!13349
2021-04-29 14:49:45 +00:00
ninh
f1ee8aa14f
esp_wifi: fix nolightsleep after wifi init
2021-04-29 18:50:28 +08:00
ninh
91dbae3eb5
esp_pm: allow dfs to swith down alltime if no lightsleep
2021-04-29 18:41:00 +08:00
Ivan Grokhotkov
0a0234193f
Merge branch 'bugfix/place_xt_int_fns_into_iram' into 'master'
...
[system]: Place xtensa_intr_asm into IRAM
See merge request espressif/esp-idf!13330
2021-04-29 08:52:30 +00:00
Martin Babutzka
6faf4941cc
tools: Support external Esptool wrappers
...
Implements https://github.com/jimparis/esptool-ftdi/issues/3
Closes https://github.com/espressif/esp-idf/pull/6879
2021-04-29 08:27:57 +02:00
Michael (XIAO Xufeng)
76fbb689fd
Merge branch 'bugfix/remove_uart2_c3' into 'master'
...
uart: remove misleading ld files and soc defs for UART2
See merge request espressif/esp-idf!13340
2021-04-29 05:18:25 +00:00
Jiang Jiang Jian
6dc36d09df
Merge branch 'bugfix/interrupt_watchdog_on_reset' into 'master'
...
Bugfix/interrupt watchdog on reset
See merge request espressif/esp-idf!13384
2021-04-29 04:35:08 +00:00
Michael (XIAO Xufeng)
859f7e3664
Merge branch 'feature/support_eon_flash_qaud_mode_esp_flash' into 'master'
...
esp_flash: support override default chip driver list
Closes IDF-2907
See merge request espressif/esp-idf!12565
2021-04-29 04:03:56 +00:00
wuzhenghui
fa8389da00
remove othercore cache disable
2021-04-29 03:10:47 +00:00
wuzhenghui
57d43d1bc5
fix 728 series reboot failure
2021-04-29 03:10:47 +00:00
Li Shuai
344ec80fad
optimize deep sleep current in wifi softap mode
2021-04-28 14:03:02 +00:00
wangmengyang
666a73d79c
components/bt: bug-fixes in BLE controller and BLE baseband
...
1. Removed the interrupt lock operation during controller enable/disable/reset, to avoid trigger interrupt watchdog time-out due to use of mutex/semaphore in coex_st_set
2. update libbtbb.a to fix the Rx performance issue for CODED PHY, especially in coexistence scenario
2021-04-28 12:05:49 +00:00
wangmengyang
d2324c162a
components/bt: Minor fix for the range of GATTC number of reconnections.
2021-04-28 12:05:49 +00:00
Nachiket Kukade
15499e3cc1
esp_wifi: Update wifi lib
...
Forward Mgmt frames with skipping CCMP headers to fix parsing
issues in Application for ESP32C3
2021-04-28 16:31:05 +05:30
Roland Dobai
3a948c1455
tools: Fix Cmake arguments for IDF Monitor
...
SERIAL_TOOL_ARGS is post-processed with the spaces2list cmake function.
Therefore, it should be a list of arguments because spaces are replaced
with semicolons.
Regression of b77addea2f
and
c425ac7bed
.
Closes https://github.com/espressif/esp-idf/issues/6946
2021-04-28 12:07:40 +02:00
Jeroen Domburg
644f430a31
Merge branch 'feature/esp32c3_usbjtagserial_console' into 'master'
...
USB serial/jtag controller: Add vfs (logging/printf), panic handler, gdb support.
See merge request espressif/esp-idf!12925
2021-04-28 08:38:31 +00:00
Jeroen Domburg
2c75f63f89
* ets_delay_us(1) has too much overhead; change logic
...
* Fix MR comments
2021-04-28 16:38:24 +08:00
Michael (XIAO Xufeng)
41937a9f97
Merge branch 'feature/support_spi_on_727' into 'master'
...
spi: support spi on 727
Closes IDF-3178
See merge request espressif/esp-idf!13346
2021-04-28 08:16:15 +00:00
Marius Vikhammer
504a1e6102
soc: merge C3 caps into a single soc_caps.h
2021-04-28 14:42:35 +08:00
shenjun
8b3e090533
esp_wifi_mesh: update wifi mesh libs
...
1. Fix mesh deinit blocking issue
2. Fix root has no eb for deauth frames during the networking
3. Add esp_mesh_send_block_time to set blocking time of esp_mesh_send
2021-04-28 02:46:34 +08:00
Jiang Jiang Jian
184b977707
Merge branch 'bugfix/fix_set_channel_error_after_wifi_stop' into 'master'
...
esp_wifi: Fix setting channel error after WiFi stop
Closes WIFI-3634
See merge request espressif/esp-idf!13253
2021-04-27 15:42:30 +00:00
Michael (XIAO Xufeng)
3ed5d97771
Merge branch 'bugfix/fix_touch_sensor_measure_start_wait_time' into 'master'
...
Bugfix(Touch): fix the touch sensor wait cycle after wakeup from sleep
See merge request espressif/esp-idf!13116
2021-04-27 12:50:06 +00:00
xiehang
adb15e4a5d
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-04-27 20:06:42 +08:00
Michael (XIAO Xufeng)
a0d13a31ec
uart: fix misleading files for UART2
...
Includes: header files, ld files and clk.c
ESP32-C3 only have UART0 and UART1.
2021-04-27 17:40:19 +08:00
Ivan Grokhotkov
f86a6db1f2
Merge branch 'feature/espcoredump_py_riscv_support' into 'master'
...
feature: espcoredump py riscv support
Closes IDF-2638 and IDF-2715
See merge request espressif/esp-idf!12259
2021-04-27 09:26:52 +00:00
Ivan Grokhotkov
9d34a1cd42
Merge branch 'bugfix/optimise_esp_timer_get_time' into 'master'
...
systimer: optimise esp_timer_get_time
See merge request espressif/esp-idf!13335
2021-04-27 08:52:09 +00:00
Shu Chen
85565b8274
Merge branch 'feature/openthread_support_microsecond_timer' into 'master'
...
openthread: support microsecond timer
See merge request espressif/esp-idf!13353
2021-04-27 08:08:19 +00:00
Ivan Grokhotkov
86b19d60d3
Merge branch 'newlib/no_atomic_support' into 'master'
...
stdatomic: Implemented legacy __sync APIs and __atomic_exchange_n
Closes IDFGH-4649
See merge request espressif/esp-idf!13294
2021-04-27 07:59:01 +00:00
zhangwenxu
ea836abe50
openthread: support microsecond timer
2021-04-27 11:52:36 +08:00
Armando
831b6127d7
spi: update interrupt set in spi_ll.h
2021-04-27 11:11:00 +08:00
Armando
b53a68bf70
spi: update spi_struct and spi_reg to 727
2021-04-27 11:11:00 +08:00
Michael (XIAO Xufeng)
fb1fd26caf
Merge branch 'refactor/gdma_check_macro' into 'master'
...
gdma: replaced DMA_CHECK by ESP_GOTO_ON_FALSE
Closes IDF-3131
See merge request espressif/esp-idf!13208
2021-04-27 03:07:01 +00:00
Fu Hanxi
b972631658
feat(coredump): add esp32s2 and esp32c3 support
2021-04-26 20:44:23 +08:00
Fu Hanxi
d94423c1cf
fix(coredump): pr_status pid padding should be uint16
2021-04-26 20:44:23 +08:00
Jiang Jiang Jian
eccdf88712
Merge branch 'bugfix/gtk_reinstallation_fix_1' into 'master'
...
wpa_supplicant: Clean gtk after disconnect
See merge request espressif/esp-idf!13285
2021-04-26 11:35:25 +00:00
Jon Shallow
154ad2e0e1
esp_eth_mac_openeth.c: Fix issue created by generic check macros update
...
Merges https://github.com/espressif/esp-idf/pull/6936
2021-04-26 08:40:07 +00:00
Michael (XIAO Xufeng)
26585b4b4b
esp_flash: support override default chip driver list
2021-04-26 16:05:42 +08:00
Ivan Grokhotkov
e77a91df7f
Merge branch 'doc/ulp_st_bits' into 'master'
...
ulp: update ST instruction description (Github PR)
Closes IDFGH-3224
See merge request espressif/esp-idf!13159
2021-04-26 07:15:15 +00:00
Michael (XIAO Xufeng)
7defd291a4
Merge branch 'feature/refactoring_flash_encryption_to_new_api' into 'master'
...
spi_flash: refactoring flash encryption implementations into new api
Closes IDFGH-4493, IDFGH-4423, and IDF-657
See merge request espressif/esp-idf!12569
2021-04-26 06:34:48 +00:00
Michael (XIAO Xufeng)
546be98e0f
Merge branch 'ci/add_flash_performance_info' into 'master'
...
ci: Add more information for flash performance test
Closes IDF-2739
See merge request espressif/esp-idf!12912
2021-04-26 06:22:12 +00:00
Jiang Jiang Jian
1312815be2
Merge branch 'bugfix/fix_c3_ble_disconnect_due_to_con_param_update' into 'master'
...
fix esp32c3 and esp32s3 ble disconnect due to connection paramters update
See merge request espressif/esp-idf!13324
2021-04-26 04:43:55 +00:00
Jakob Hasse
be55a5eb2b
[system]: put xtensa_intr_asm into IRAM
2021-04-26 12:11:20 +08:00
Michael (XIAO Xufeng)
835a652a63
Merge branch 'feature/usb_hcd_uses_irp_directly' into 'master'
...
USB HCD uses IRPs directly
Closes IDF-2937
See merge request espressif/esp-idf!12646
2021-04-26 03:57:23 +00:00
morris
988c88a6b1
systimer: optimise esp_timer_get_time
2021-04-26 11:54:02 +08:00
xiehang
ce5a25abac
esp_wifi: Fix setting channel error after WiFi stop
2021-04-26 11:32:59 +08:00
Michael (XIAO Xufeng)
cfa4beb661
test_sd: merge emmc SDR/DDR test cases of 4-bit mode
2021-04-26 09:55:39 +08:00
Darian Leung
738af3fd38
USB HCD uses IRPs directly for transfer
...
This commit updates the HCD so that transfer requests are no longer used.
The USB IRP object is updated so that the it can be directly passed to the HCD
to start a transfer. HCD API, tests, and documentation updated accordingly.
2021-04-25 21:52:07 +08:00
Jiang Jiang Jian
3f7b637a15
Merge branch 'bugfix/update_esp32c3_phy_init_data' into 'master'
...
esp_wifi: update esp32c3 phy init data
See merge request espressif/esp-idf!13282
2021-04-25 13:23:13 +00:00
zwj
3c06fea8a1
fix esp32c3 and esp32s3 ble disconnect due to connection paramters update
2021-04-25 20:18:21 +08:00
Michael (XIAO Xufeng)
02970813b8
sdmmc_host: add unit tests and improve documents about using eMMC in 4-line SDR mode
2021-04-25 18:34:37 +08:00
Cao Sen Miao
2059990c94
ci: Add more information for flash performance test
2021-04-25 17:59:10 +08:00
Cao Sen Miao
0d81edb174
spi_flash: refactoring flash encryption into new api
2021-04-25 17:09:25 +08:00
Shu Chen
00a66083c7
Merge branch 'roll-openthread-210416' into 'master'
...
openthread: update openthread submodule
See merge request espressif/esp-idf!13166
2021-04-25 02:18:03 +00:00
Angus Gratton
f2d193a7c3
Merge branch 'bugfix/esp32c3_eco3_efuse_programming' into 'master'
...
esp32c3 espefuse: Fix efuse programming timing on ESP32-C3 ECO3
See merge request espressif/esp-idf!13295
2021-04-23 22:30:41 +00:00
David Čermák
4dc024422c
Merge branch 'feature/lwip-route-hook' into 'master'
...
lw-ip: add config options and hooks for Thread IPv6 border routing
See merge request espressif/esp-idf!13099
2021-04-23 18:41:11 +00:00
Angus Gratton
69309c88a0
Merge branch 'bugfix/fix_c3_typos' into 'master'
...
esp32c3: fix typos of c3 path
See merge request espressif/esp-idf!13318
2021-04-23 13:05:09 +00:00
Michael (XIAO Xufeng)
5997fcd45d
Merge branch 'feature/update_adc_programming_guide_on_c3' into 'master'
...
adc: update esp32c3 programming guide
Closes IDF-2333
See merge request espressif/esp-idf!12563
2021-04-23 12:52:07 +00:00
Michael (XIAO Xufeng)
bea022ce1c
Merge branch 'refactor/usb_common_and_hal_types' into 'master'
...
Separate USB HAL and common USB types
Closes IDF-2931
See merge request espressif/esp-idf!12642
2021-04-23 12:50:35 +00:00
Ivan Grokhotkov
83e68ee19e
Merge branch 'bugfix/replace_setjmp_rom' into 'master'
...
[system]: Made longjmp save for context switch
Closes IDFGH-3232
See merge request espressif/esp-idf!13119
2021-04-23 12:39:29 +00:00
Angus Gratton
65fc657339
Merge branch 'bugfix/otatool_wrong_switch_ota_partition_slots' into 'master'
...
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd
Closes IDFGH-4983
See merge request espressif/esp-idf!12900
2021-04-23 12:37:13 +00:00
Angus Gratton
2f70a76572
Merge branch 'bugfix/mac_addr_target_support' into 'master'
...
system: Restructure MAC address support documentation
See merge request espressif/esp-idf!13298
2021-04-23 10:56:42 +00:00
Shu Chen
ff3320ca8a
esp32c3: fix typos of c3 path
2021-04-23 18:11:39 +08:00
Ivan Grokhotkov
ea7d020f20
Merge branch 'feature/ubsan' into 'master'
...
system: add option to enable undefined behavior sanitizer (UBSAN)
Closes IDF-166 and IDF-1824
See merge request espressif/esp-idf!11318
2021-04-23 09:27:42 +00:00
Ivan Grokhotkov
9522034144
Merge branch 'doc/linux_host_testing' into 'master'
...
Doc: Linux host test documentation
See merge request espressif/esp-idf!11857
2021-04-23 09:08:42 +00:00
Angus Gratton
88829d68fc
log: Document that normally logging APIs don't work in critical sections
...
Closes https://github.com/espressif/esp-idf/issues/6600
2021-04-23 18:27:20 +10:00
Angus Gratton
9dc0bd16a3
docs: Update the main log document with recent API changes
2021-04-23 18:27:20 +10:00
Angus Gratton
29348270e7
log: Cause ESP_EARLY_LOGx in the app to use the default runtime log level
...
Tag filtering still doesn't work for this log type, but it will use the
default '*' log level instead of only the runtime level.
* Closes https://github.com/espressif/esp-idf/issues/2285
* Related to https://github.com/espressif/esp-idf/issues/5542
2021-04-23 18:25:41 +10:00
Angus Gratton
6bd9580137
log: Allow setting maximum log level higher than default
...
Main change is possibility the log cache locking functions will
be called before the scheduler has started.
This change doesn't change the behaviour of ESP_EARLY_LOGx, this is
done in the following commit.
Closes https://github.com/espressif/esp-idf/issues/5542
2021-04-23 18:25:41 +10:00
Kapil Gupta
20bb0c3b02
wpa_supplicant: Group key reinstallation fixes
...
This commit reverts previous commit for GTK reinstallation fix
and corrects original fix.
2021-04-23 13:44:02 +05:30
Angus Gratton
6e80811ca2
log: Remove redundant definition of LOG_LOCAL_LEVEL
...
After adding a maximum setting, the default value of LOG_LOCAL_LEVEL
will be CONFIG_LOG_MAXIMUM_LEVEL not CONFIG_LOG_DEFAULT_LEVEL
2021-04-23 18:13:04 +10:00
Jakob Hasse
fc22e3c645
[system]: Made longjmp save for context switch
...
* Patched longjmp to be context-switch safe
longjmp modifies the windowbase and windowstart
registers, which isn't safe if a context switch
occurs during the modification. After a context
switch, windowstart and windowbase will be
different, leading to a wrongly set windowstart
bit due to longjmp writing it based on the
windowbase before the context switch. This
corrupts the registers at the next window
overflow reaching that wrongly set bit.
The solution is to disable interrupts during
this code. It is only 6 instructions long,
the impact shouldn't be significant.
The fix is implemented as a wrapper which
replaces the original first instructions of
longjmp which are buggy. Then, it jumps back
to execute the rest of the original longjmp
function.
Added a comparably reliable test to the
test apps.
2021-04-23 15:55:31 +08:00
Angus Gratton
0be81903cc
Merge branch 'bugfix/hal_duplicated_interrupt_functions' into 'master'
...
[hal]: merged duplicated HAL layer functions
Closes IDF-2308
See merge request espressif/esp-idf!12444
2021-04-23 07:47:51 +00:00
Angus Gratton
96c2acd9a8
Merge branch 'refactor/strip_systimer_hal_layer' into 'master'
...
refactor HAL driver of systimer to a common systimer_hal
Closes IDF-2996
See merge request espressif/esp-idf!13027
2021-04-23 07:45:31 +00:00
Wang Meng Yang
85841922a1
Merge branch 'refactor/bt_lib_submodules' into 'master'
...
Refactor/bt lib submodules
See merge request espressif/esp-idf!13247
2021-04-23 07:19:18 +00:00
laokaiyao
e0004dc443
gdma: replaced DMA_CHECK with ESP_GOTO_ON_FALSE and ESP_GOTO_ON_ERROR
2021-04-23 14:49:30 +08:00
Sachin Parekh
b1eacc24f2
stdatomic: Implemented legacy __sync APIs and __atomic_exchange_n
...
These APIs are used when the architecture doesn't have atomic
instruction support
Closes https://github.com/espressif/esp-idf/issues/6463
2021-04-23 11:18:58 +05:30
David Čermák
0d6482b8ee
Merge branch 'feature/esp_eth_ksz8851snl' into 'master'
...
Add a KSZ8851SNL SPI Ethernet driver
Closes IDFGH-4736 and IDFGH-4837
See merge request espressif/esp-idf!12574
2021-04-23 05:14:16 +00:00
Angus Gratton
64a96ca96d
Merge branch 'bugfix/RTC_CLK_CAL_CYCLES' into 'master'
...
esp32xx: Fix the Number of cycles for RTC_SLOW_CLK calibration
See merge request espressif/esp-idf!13202
2021-04-23 04:55:28 +00:00
KonstantinKondrashov
d1befe83ef
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd
...
Closes: https://github.com/espressif/esp-idf/issues/6773
2021-04-23 04:55:06 +00:00
Angus Gratton
7bb5c8cc82
esp32c3 espefuse: Fix efuse programming timing on ESP32-C3 ECO3
...
Without this timing change, efuse programming occasionally appears to fail
(although the efuse is programmed correctly).
2021-04-23 13:42:23 +10:00
Michael (XIAO Xufeng)
fdb8736a95
Merge branch 'feature/spi_slave_hd_segment_example' into 'master'
...
spi_slave_halfduplex: add an example for segment mode
Closes IDF-1699
See merge request espressif/esp-idf!10043
2021-04-23 03:23:25 +00:00
fuzhibo
928c5b6ce3
Driver(Touch sensor): fix the touch sensor wait cycle after wakeup from sleep
2021-04-23 02:59:58 +00:00
morris
d928cdd0b1
i2s: fix driver uninstall issue
2021-04-23 10:34:13 +08:00
Michael (XIAO Xufeng)
dfdc337e27
Merge branch 'bugfix/twai_caps_naming_and_tidy_up' into 'master'
...
Fix TWAI caps
Closes IDF-2456
See merge request espressif/esp-idf!13172
2021-04-23 02:21:47 +00:00
Jakob Hasse
68393c41c4
doc: linux host test documentation
2021-04-23 09:27:35 +08:00
Ivan Grokhotkov
e449728b7d
hal: fix planted break instruction for Xtensa targets
...
On Xtensa, "break 0, 0" encodes a software breakpoint which is placed
into the program by the debug monitor. Planted breakpoints (added in
the code to trap into debugger) should be encoded as "break 1, 15".
See table "Breakpoint Instruction Operand Conventions" in the ISA
Reference manual.
2021-04-22 23:33:47 +02:00
Ivan Grokhotkov
da90775d98
hal: mpu: fix signed overflow error
2021-04-22 23:33:47 +02:00
Ivan Grokhotkov
4e73cff729
esp_netif: enable UBSAN in component test app
2021-04-22 23:33:47 +02:00
Ivan Grokhotkov
9069f70db3
system: add option to enable undefined behavior sanitizer (UBSAN)
...
Closes https://github.com/espressif/esp-idf/issues/1574
2021-04-22 23:33:45 +02:00
Ivan Grokhotkov
cfdfeed973
freertos: linker.lf rules fixes
...
1. Add conditions based on Kconfig options for functions which are
compiled based on those options.
2. Static allocation is always enabled, move corresponding functions
into the common list.
2021-04-22 17:14:46 +02:00
David Cermak
1e674f1d20
esp_eth: Update KSZ8851SNL driver to use global error checkers
...
Also updated KSZ8851SNL per internal code review:
* Removed Link status change interrupt as it's handled with polling
* Added auto negotiation timeout
* Updated typedefs, moved types to appropriate source, updated
components/esp_eth/src/ksz8851.h to use only inherent device types
* Applied IDF code formatting
* Updated header file order to include first the most generic to more
specific
2021-04-22 13:55:51 +00:00
Vladimir Chistyakov
c4f131e6ee
esp_eth: Add a KSZ8851SNL SPI Ethernet driver
...
Implement the PHY and MAC layers in the driver similar to
the W5500 driver.
Update Kconfig, CMakeLists.txt, and component.mk to incorporate
the changes.
Resolves : #6542
Merges https://github.com/espressif/esp-idf/pull/6636
Closes https://github.com/espressif/esp-idf/issues/6542
2021-04-22 13:55:51 +00:00
morris
ec898b771e
systimer: strip hal driver
2021-04-22 21:08:39 +08:00
morris
7c1e1c9e2d
systimer: update soc data
2021-04-22 21:07:35 +08:00
morris
7eb9ecb4f6
esp_ds: move timeout mechanism to driver layer
2021-04-22 21:07:35 +08:00
Mahavir Jain
812d61295d
Merge branch 'bugfix/log_arg_in_bootloader_support' into 'master'
...
bootloader_support: Fix min size of OTA partition in error log
See merge request espressif/esp-idf!13288
2021-04-22 12:31:56 +00:00
Darian Leung
2906a25988
Separate USB HAL and common USB types
...
This commit separates out the common USB types used throughout most of the stack into its
own header file inside the USB component. The types used in the USB HAL are now exclusive
to the HAL.
2021-04-22 19:24:48 +08:00
chenjianxing
372d8c6003
esp_wifi: update esp32c3 phy init data
2021-04-22 19:17:20 +08:00
yuanjm
93604b1a11
mbedtls: Fix mbedtls_ssl_send_alert_message crash due to ssl->out_iv is NULL
2021-04-22 09:33:59 +00:00
Shubham Patil
c2b0db75e8
bootloader_support: Fix min size of OTA partition in error log
2021-04-22 14:00:42 +05:30
Jiacheng Guo
fd3553b66d
lwip: add config options for Thread IPv6 border routing
2021-04-22 06:13:47 +00:00
Angus Gratton
7cb83c8787
system doc: Re-structure description of MAC addresses, especially on newer chip targets
...
Includes a note about calculating the Ethernet MAC on platforms with no built-in
Ethernet, and removes documentation for esp_efuse_mac_get_custom() on targets
other than ESP32
2021-04-22 16:08:55 +10:00
David Čermák
7f34657013
Merge branch 'feature/ethernet_link_check_esp_timer' into 'master'
...
esp_eth: using esp_timer to check link status
Closes IDFGH-4953
See merge request espressif/esp-idf!13155
2021-04-22 06:08:00 +00:00
Angus Gratton
eb38eb670c
system: Return ESP_ERR_NOT_SUPPORTED for esp_read_mac(ESP_MAC_BT, ...) on ESP32-S2
...
Previously this function returned ESP_OK but no MAC was set.
2021-04-22 12:22:46 +10:00
Angus Gratton
c8cb803378
system: Simplify esp_derive_local_mac() function
...
Previously this function included a loop but would never run more
than one iteration of it.
2021-04-22 12:22:46 +10:00
Mahavir Jain
a82466674a
Merge branch 'bugfix/esp_http_client_read' into 'master'
...
Fix esp_http_client_read for file size aligned to 289 bytes
Closes IDFGH-4981
See merge request espressif/esp-idf!13193
2021-04-22 01:48:00 +00:00
wangmengyang
d703424ef7
component/bt: add another bt-lib submodule and refactor the directories
2021-04-22 07:41:46 +08:00
Angus Gratton
f91d6c7a69
Merge branch 'bugfix/tls_threadptr_calculation' into 'master'
...
freertos: fix TLS run-time address calculation
See merge request espressif/esp-idf!13271
2021-04-21 23:13:13 +00:00
Shubham Kulkarni
b148433fbd
esp_http_client_read: Add check for esp_http_client_is_complete_data_received before returning ESP_FAIL
...
Closes: https://github.com/espressif/esp-idf/issues/6772
2021-04-21 17:28:54 +05:30
wangmengyang
b81c687327
remove original esp32-bt-lib submodule
2021-04-21 19:51:32 +08:00
Ivan Grokhotkov
0535195983
freertos: fix TLS run-time address calculation
...
Since dd849ffc
, _rodata_start label has been moved to a different
linker output section from where the TLS templates (.tdata, .tbss)
are located. Since link-time addresses of thread-local variables are
calculated relative to the section start address, this resulted in
incorrect calculation of THREADPTR/$tp registers.
Fix by introducing new linker label, _flash_rodata_start, which points
to the .flash.rodata output section where TLS variables are located,
and use it when calculating THREADPTR/$tp.
Also remove the hardcoded rodata section alignment for Xtensa targets.
Alignment of rodata can be affected by the user application, which is
the issue dd849ffc
was fixing. To accommodate any possible alignment,
save it in a linker label (_flash_rodata_align) and then use when
calculating THREADPTR. Note that this is not required on RISC-V, since
this target doesn't use TPOFF.
2021-04-21 13:45:21 +02:00
Ivan Grokhotkov
d4e8987a39
Merge branch 'feature/prevent_unwind_code_linking' into 'master'
...
prevent unwind code linking
Closes IDF-2577, IDFGH-3394, IDFGH-3417, and IDFGH-3153
See merge request espressif/esp-idf!12328
2021-04-21 10:04:15 +00:00
Wang Meng Yang
81723243cf
Merge branch 'bugfix/ble_timeout_disconnected_no_report' into 'master'
...
Fix the controller do not report the disconnect event to host
See merge request espressif/esp-idf!13261
2021-04-21 09:43:33 +00:00
“YangZhao”
1def09cc99
bugfix: Fix the issue that the controller do not report the timeout
...
disconnect event. This issue is caused by modem sleep.The sleep interrupt
will come the second time before the CLKN interrupt. If we disable the sleep
interrupt when it comes in the first time, the CLKN will never come.
2021-04-21 14:49:44 +08:00
morris
0733adab5e
esp_eth: using esp_timer to check link status
2021-04-21 13:08:07 +08:00
morris
537617aec7
esp_eth: support user customized PHY io function
...
Closes https://www.github.com/espressif/esp-idf/issues/6745
2021-04-21 13:08:07 +08:00
morris
c833ec5533
global: remove esp_ssc.h
2021-04-21 13:08:07 +08:00
Mahavir Jain
104830107a
Merge branch 'fix/esp_https_client_compile_warning' into 'master'
...
esp_https_ota: Fix build warning when CONFIG_OTA_ALLOW_HTTP is set
Closes IDFGH-5098
See merge request espressif/esp-idf!13192
2021-04-21 04:57:49 +00:00
Mahavir Jain
c22805e94b
Merge branch 'bugfix/bootloader_min_revision_c3' into 'master'
...
Fix bootloader minimum revision check and print for ESP32-C3
Closes IDFGH-5106
See merge request espressif/esp-idf!13248
2021-04-21 04:41:47 +00:00
Armando
3177130256
adc: add adc programming guide on c3
2021-04-21 10:40:55 +08:00
Angus Gratton
15575346f5
Merge branch 'bugfix/freertos_current_tcb_unpinned' into 'master'
...
freertos: Fix race condition returning incorrect TCB on unpinned tasks
Closes WIFI-3125
See merge request espressif/esp-idf!13189
2021-04-21 01:03:32 +00:00
Ivan Grokhotkov
d34421dd7b
Merge branch 'feature/build_nvs_host_test_ci' into 'master'
...
Add nvs page host test to CI
Closes IDF-2425
See merge request espressif/esp-idf!12417
2021-04-20 23:32:01 +00:00
Ivan Grokhotkov
c248dcc724
Merge branch 'bugfix/flash_rodata_any_alignement' into 'master'
...
build: (Custom) App version info is now on a dedicated section
Closes IDFGH-4927
See merge request espressif/esp-idf!12786
2021-04-20 23:30:03 +00:00
Jiang Jiang Jian
9b73403efd
Merge branch 'bugfix/ftm_fixes_logging_change' into 'master'
...
wifi/ftm: Move FTM report logging into application and general Bugfixes
Closes WIFI-3294
See merge request espressif/esp-idf!13009
2021-04-20 15:26:49 +00:00
Wang Meng Yang
c94916de8f
Merge branch 'bugfix/optimize_c3_multi_con_and_add_connection_retry' into 'master'
...
optimize c3 multi con and add connection retry
See merge request espressif/esp-idf!12983
2021-04-20 14:48:11 +00:00
Mahavir Jain
4f71805255
Merge branch 'bugfix/update_tinycbor_for_static_analysis_fix' into 'master'
...
Update tinycbor for static analysis fix
Closes IDF-2792
See merge request espressif/esp-idf!13190
2021-04-20 14:40:05 +00:00
Aditya Patwardhan
31445c1566
esp_https_ota: Warn users when CONFIG_OTA_ALLOW_HTTP is set
2021-04-20 20:06:41 +05:30
Island
3e05abe7bb
Merge branch 'bugfix/endianness_in_output_or_input_oob' into 'master'
...
ble_mesh: stack: Fix endianness error in output or input oob data of number
See merge request espressif/esp-idf!13160
2021-04-20 13:09:01 +00:00
Jiacheng Guo
64c498a584
openthread: update openthread submodule
...
Roll OpenThread submodule and rename OpenThread config macros and api
calls accordingly.
2021-04-20 20:26:19 +08:00
Armando
44fafd4991
spi_slave_hd: add polling api to read/write buf to essl_spi
2021-04-20 20:08:30 +08:00
Armando
85e29dace7
spi_slave_hd: add callback after data is loaded to the DMA for segment mode
2021-04-20 20:08:29 +08:00
Wang Meng Yang
b05ac11456
Merge branch 'nimble/add_c3_config_max_conn' into 'master'
...
NimBLE: Add max connection config option for C3
See merge request espressif/esp-idf!12226
2021-04-20 09:49:11 +00:00
Axel Lin
39792bd7cc
esp_https_ota: Fix build warning when CONFIG_OTA_ALLOW_HTTP is set
...
Fix below build warning when CONFIG_OTA_ALLOW_HTTP is set:
esp_https_ota.c:165:13: warning: 'is_server_verification_enabled' defined but not used [-Wunused-function]
While at it, also simplify the is_server_verification_enabled logic.
Fixes: 48987ad9df
("esp_https_ota: Enable option of using global_ca_store and x509_crt_bundle")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Closes https://github.com/espressif/esp-idf/pull/6882
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2021-04-20 14:48:44 +05:30
Mahavir Jain
a4f38db53d
bootloader_support: fix min. revision error print for < C3-ECO3 revisions
2021-04-20 14:22:14 +05:30
Mahavir Jain
f9699e2412
bootloader: fix print related to min. chip revision
...
Closes https://github.com/espressif/esp-idf/issues/6890
Closes IDFGH-5106
2021-04-20 14:19:17 +05:30
Jakob Hasse
2fb5b42eb1
[nvs] add nvs page host test to CI
...
Closes IDF-2425
2021-04-20 14:40:16 +08:00
KonstantinKondrashov
8e1256ca88
esp32xx: Fix the Number of cycles for RTC_SLOW_CLK calibration
2021-04-20 06:29:42 +00:00
Jakob Hasse
2552c7ba0f
[C++]: wrapper functions around unwind code
...
* Replaced all C++ exception related
functions with wrappers if -fno-exception
is used. This prevents linking of the
corresponding code in libgcc. The code
size will decrease by around 7-9 KB when
building with -fno-exception.
* added no except test app
Closes https://github.com/espressif/esp-idf/pull/5380
Closes https://github.com/espressif/esp-idf/issues/5363
Closes https://github.com/espressif/esp-idf/issues/5224
Closes IDFGH-3153
Closes IDF-2577
2021-04-20 14:27:58 +08:00
wangjialiang
dd0fbb2f5e
ble_mesh: stack: Fix endianness error in output or input oob data of number
...
Closes https://github.com/espressif/esp-idf/issues/6862
2021-04-20 06:25:52 +00:00
Angus Gratton
79ae7a7bd9
freertos: test: Add stress test for thread local storage
...
(Fails without the fix applied in parent commit.)
2021-04-20 14:46:49 +10:00
Angus Gratton
c7328f1cc0
freertos: Fix race condition returning incorrect TCB on unpinned tasks
...
Noted as a problem with thread local storage returning a different task's
pointers, but some other were APIs also accessing current task unsafely.
Regression in FreeRTOS 10 update a3c90bf59a
2021-04-20 14:46:49 +10:00
Mahavir Jain
6a06be002e
tinycbor: update to latest upstream commit-id
...
Relevant: https://github.com/espressif/esp-idf/issues/6440
Closes IDF-2792
2021-04-20 03:59:44 +00:00
Angus Gratton
2554d8956a
Merge branch 'feature/parametrize_core_dump_check' into 'master'
...
coredump: core dump data check can now be parametrized
Closes IDFGH-4821
See merge request espressif/esp-idf!12605
2021-04-20 03:58:58 +00:00
Angus Gratton
dfbcacd246
Merge branch 'update_copyright_notice_log' into 'master'
...
log: Update copyright notice
See merge request espressif/esp-idf!13108
2021-04-20 03:54:49 +00:00
Nachiket Kukade
c93907fb27
wifi/ftm: Move FTM report logging into application and some bugfixes
...
Move FTM report processing and logging to application
Update wifi lib with below bugfixes
1. Initiator parameters sanity checks
2. Responder config option, fix beacon caps
3. To save space, register FTM modules only when FTM is enabled
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: Zhang Jun Hao <zhangjunhao@espressif.com>
2021-04-20 03:44:51 +00:00
Prasad Alatkar
7d4cfb6d53
NimBLE: Add max connection config option for ESP32C3
2021-04-20 02:41:58 +00:00
zwj
58cd231895
optimize C3 and s3 multi-connection
2021-04-20 02:41:14 +00:00
zwj
077722696a
add option to enable multi-connection
2021-04-20 02:41:14 +00:00
zwj
6fff69390e
update con state when getting connection cancle complete
2021-04-20 02:41:14 +00:00
zwj
85b73337a3
fix ble 5.0 SMP failed
2021-04-20 02:41:14 +00:00
zwj
e652e264c7
add BLE connection establishment retry
2021-04-20 02:41:14 +00:00
Jiang Jiang Jian
ae853eb177
Merge branch 'bugfix/gtk_reinstallation_fix' into 'master'
...
wpa_supplicant: Prevent reinstallation of an already in-use group key
See merge request espressif/esp-idf!13036
2021-04-19 09:51:21 +00:00
Michael (XIAO Xufeng)
06ec13e422
Merge branch 'bugfix/fix_co-cpu_riscv_ulp_ld_for_esp32s2' into 'master'
...
bugfix: add .rodata section for riscv ulp for esp32s2
See merge request espressif/esp-idf!13109
2021-04-19 07:49:58 +00:00
Michael (XIAO Xufeng)
2f298aa02a
Merge branch 'bugfix/timer_spinlock_iram' into 'master'
...
timer: add IRAM_ATTR to spinlock give/take API
Closes IDFGH-5038
See merge request espressif/esp-idf!13107
2021-04-19 07:41:59 +00:00
Angus Gratton
209a6cc855
Merge branch 'bugfix/check_partitions_fit' into 'master'
...
cmake partition_table: Check binaries fit in partition spaces at build time
Closes IDF-1539 and IDFGH-2503
See merge request espressif/esp-idf!9330
2021-04-19 07:33:36 +00:00
Jiang Jiang Jian
920b3a0929
Merge branch 'feature/configure_max_server_profiles_count' into 'master'
...
esp32: Added an option in menuconfig to configure maximum gatt services
Closes BT-1508
See merge request espressif/esp-idf!12769
2021-04-19 06:31:09 +00:00
Omar Chebib
837629814f
coredump: core dump data check can now be parametrized
...
Core dump integrity check can now be parametrized through menuconfig.
It can be performed on boot or ignored. When core dump is activated
in the menuconfig, the user can still check the core dump at any time
with the function `esp_core_dump_image_check()`.
Fix a bug where `esp_core_dump_image_get()` was not accessible
when core dump was disabled.
Closes https://github.com/espressif/esp-idf/issues/6620
2021-04-19 13:05:32 +08:00
Omar Chebib
dd849ffc26
build: (Custom) App version info is now on a dedicated section, independent of the rodata alignment
...
It is now possible to have any alignment restriction on rodata in the user
applicaiton. It will not affect the first section which must be aligned
on a 16-byte bound.
Closes https://github.com/espressif/esp-idf/issues/6719
2021-04-19 12:53:08 +08:00
Kapil Gupta
035909872b
wpa_supplicant: Prevent reinstallation of an already in-use group key
2021-04-19 04:17:20 +00:00
Jan Brudný
1e896e5def
log: update copyright year
2021-04-18 23:53:48 +02:00
Jiang Jiang Jian
44e68b2636
Merge branch 'bugfix/update_esp32s2_phylib_v1800' into 'master'
...
esp_wifi: Update libphy.a to V1800 20210413_e7ef680 for esp32s2
Closes WIFI-3526
See merge request espressif/esp-idf!13146
2021-04-16 14:32:33 +00:00
Darian Leung
54eb152a96
TWAI: Simply caps and remove unused caps
2021-04-16 18:36:18 +08:00
Ivan Grokhotkov
fa72ef6bd8
Merge branch 'feature/add-eventfd' into 'master'
...
vfs: add eventfd support
See merge request espressif/esp-idf!12573
2021-04-16 10:33:06 +00:00
Mahavir Jain
d5e7bf0ee5
Merge branch 'feature/mbedtls_md5' into 'master'
...
mbedtls: Add CONFIG_MBEDTLS_ROM_MD to enable ROM MD acceleration
Closes IDF-255
See merge request espressif/esp-idf!13030
2021-04-16 10:24:21 +00:00
Darian Leung
44bc5411b7
TWAI: Fix incorrect CAP name
...
Fixes a bug where SOC_TWAI_BRP_DIV_SUPPORTED was mistyped preventing
slower bit rates from being enabled on ESP32 revision 2 and 3 chips
2021-04-16 18:18:37 +08:00
Michael (XIAO Xufeng)
58758486b2
Merge branch 'ci/enable_flash_suspend_test' into 'master'
...
spi_flash: enable unit-test for flash suspend
Closes IDF-3081
See merge request espressif/esp-idf!13115
2021-04-16 10:16:25 +00:00
Anton Maklakov
e55f2936fd
Merge branch 'bugfix/build_failure_in_espcoredump' into 'master'
...
espcoredump: Fix string truncation build failure
See merge request espressif/esp-idf!13135
2021-04-16 07:01:44 +00:00
Angus Gratton
920edd4e73
partition_table: Add a "single factory app (large)" option for 1.5MB app size
...
Needed to build some examples in their default configurations (especially
ESP32-C3). Wasn't noticed until the CI checks for partition size were added.
2021-04-16 16:40:47 +10:00
Angus Gratton
b45b817e6f
partition_table: Fix pylint issues in gen_esp32part.py
2021-04-16 16:40:47 +10:00
Angus Gratton
6f6b4c3983
cmake partition_table: Check binaries fit in partition spaces at build time
...
- Bootloader is checked not to overlap partition table
- Apps are checked not to overlap any app partition regions
Supported for CMake build system only.
Closes https://github.com/espressif/esp-idf/pull/612
Closes https://github.com/espressif/esp-idf/issues/5043
Probable fix for https://github.com/espressif/esp-idf/issues/5456
2021-04-16 16:40:47 +10:00
xiehang
9f27aa7db8
esp_wifi: Update libphy.a to V1800 20210413_e7ef680 for esp32s2
2021-04-16 11:21:07 +08:00
Jiang Jiang Jian
db67047eb9
Merge branch 'feature/support_esp32s3_beta3_wifi' into 'master'
...
esp_wifi: support esp32s3 beta3 wifi
Closes WIFI-3550
See merge request espressif/esp-idf!12863
2021-04-16 03:09:19 +00:00
Ivan Grokhotkov
e6fd582fdf
Merge branch 'bugfix/panic_handler_not_in_iram' into 'master'
...
panic: handlers can now be placed in flash
Closes IDF-2851
See merge request espressif/esp-idf!12874
2021-04-16 02:47:05 +00:00
Angus Gratton
bc3d45026c
Merge branch 'bugfix/deep_sleep_skip_verify_rtc_mem_heap' into 'master'
...
Fix bootloader "skip validate on exiting deep sleep" option if "use RTC memory as heap" is enabled
See merge request espressif/esp-idf!12032
2021-04-15 23:56:39 +00:00
Roland Dobai
c425ac7bed
tools: Don't use revision argument for IDF Monitor if it is not defined
2021-04-15 19:56:39 +02:00
ChenJianxing
dd14e97375
esp_wifi: support esp32s3 beta3 wifi
2021-04-16 00:38:20 +08:00
boarchuz
7e7c044afa
update ulp st doc
...
Merges https://github.com/espressif/esp-idf/pull/5222
2021-04-15 16:16:11 +02:00
wangmengyang
ae8f66889b
fix bit definition for SYSTEM_WIFI_CLK_WIFI_EN, sync with ESP32-C3
2021-04-15 22:03:36 +08:00
zwj
764a778be1
phy reinit error due to i2c high
2021-04-15 22:03:25 +08:00
zwj
facadc86d8
support 727 esp32s3 BLE
2021-04-15 22:02:58 +08:00
Jiacheng Guo
bbb0e7a573
vfs: fix build & ci errors
2021-04-15 15:19:00 +08:00
Jiacheng Guo
0d986de363
vfs: add default initializer for vfs_eventfd
2021-04-15 15:19:00 +08:00
Jiacheng Guo
40035edcac
vfs: add doc links
2021-04-15 15:19:00 +08:00
Jiacheng Guo
7c64d1530a
vfs: modify copyright header
2021-04-15 15:18:59 +08:00
Jiacheng Guo
37a992bbde
vfs: add example for eventfd
2021-04-15 15:18:59 +08:00
Jiacheng Guo
7b911e4641
vfs: add support for mutiple selects in eventfd
2021-04-15 15:18:59 +08:00
Jiacheng Guo
30e9345bc7
vfs: add unit tests for eventfd
2021-04-15 15:18:59 +08:00
Jiacheng Guo
f6fd2eb164
vfs: add eventfd support
...
eventfd imitates the behavior of POSIX api `man(2) eventfd`. This api
can be used to pass events to a select based message loop.
2021-04-15 15:18:59 +08:00
Angus Gratton
bfa9ec70f2
esp32s3: Add support for reusing RTC memory as heap
2021-04-15 16:24:44 +10:00
Angus Gratton
32c924b5cd
esp32s3: Reserve RTC memory in bootloader in the app linker script
2021-04-15 16:20:58 +10:00
Angus Gratton
111098568a
esp32c3: Reserve RTC memory from bootloader in the app linker script
2021-04-15 16:20:58 +10:00
Angus Gratton
83bf2e1ac1
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-15 16:20:58 +10:00
Cao Sen Miao
ed16e9b5d6
spi_flash: enable unit-test for flash suspend
2021-04-15 12:05:40 +08:00
Omar Chebib
bb9aa806f7
panic: handlers can now be placed in flash
...
By unchecking "Place panic handler code in IRAM" in the menuconfig,
the panic handlers will be placed in flash. Of course, flash cache must
be activated when entering panic handlers.
2021-04-15 11:58:46 +08:00
Krzysztof Budzynski
d14661eaa3
Merge branch 'docs/programming_guide_c3_update_twai' into 'master'
...
Update TWAI driver docs and registers for esp32c3
Closes IDF-2349
See merge request espressif/esp-idf!12935
2021-04-15 02:35:28 +00:00
Marius Vikhammer
826b976ba5
timer: add IRAM_ATTR to spinlock give/take API
...
Closes https://github.com/espressif/esp-idf/issues/6824
2021-04-15 09:50:06 +08:00
Jiang Jiang Jian
a6f33a9d36
Merge branch 'bugfix/e8192_and_assert_param_master' into 'master'
...
Modify E8192 ELx200 ELx40 log level to LOGD
See merge request espressif/esp-idf!13008
2021-04-14 15:54:48 +00:00
Jiang Jiang Jian
98eeb8f61d
Merge branch 'bugfix/fix_wifi_issue_for_pm_disconnected' into 'master'
...
esp_wifi: fix some issue about wifi pm
Closes WIFI-3583, WIFI-3584, WIFI-3585, and WIFI-3586
See merge request espressif/esp-idf!13137
2021-04-14 14:38:20 +00:00
Ivan Grokhotkov
e220e9b571
Merge branch 'feature/refactor-idf-monitor' into 'master'
...
Decompose idf_monitor.py
Closes IDF-2432
See merge request espressif/esp-idf!11815
2021-04-14 14:32:17 +00:00
Shubham Patil
78e387c2bc
espcoredump: Fix string truncation build failure
2021-04-14 14:42:09 +05:30
Angus Gratton
b26dda9247
Merge branch 'bugfix/freertos_task_delete' into 'master'
...
freertos: Fix race condition using vTaskDelete() cross-core causing resource leak
Closes BT-1156
See merge request espressif/esp-idf!11736
2021-04-14 09:10:32 +00:00
Darian Leung
7087f80b1e
Update TWAI driver docs and registers for esp32c3
...
This commit updates the documentation and register struct
of the TWAI driver for the ESP32-C3. Note that the register
fields for ESP32-S3 have also been updated.
2021-04-14 15:00:07 +08:00
ninh
7629a0b22f
esp_wifi: fix some issue about wifi pm
2021-04-14 14:42:22 +08:00
liuhan
e87c64dc44
mbedtls: Add CONFIG_MBEDTLS_ROM_MD5 to use ROM MD5 in mbedTLS
2021-04-14 06:42:13 +00:00
Jiang Jiang Jian
1f54d17503
Merge branch 'bugfix/esp32c3_deep_sleep_gpio_wakeup_issue' into 'master'
...
deep sleep: fix sleep gpio wakeup fail issue
Closes WIFI-3474
See merge request espressif/esp-idf!13074
2021-04-14 06:36:40 +00:00