Commit Graph

11946 Commits

Author SHA1 Message Date
Ivan Grokhotkov
f67f7d6774 Merge branch 'bugfix/adc_channel_comment_typo' into 'master'
adc: fix typos in comments (Github PR)

Closes IDFGH-4774

See merge request espressif/esp-idf!13437
2021-05-06 11:49:58 +00:00
Ivan Grokhotkov
acd06daf39 Merge branch 'bugfix/spiram_h_header_guards' into 'master'
add missing header guards to {esp32,esp32s3}/spiram.h (Github PR)

Closes IDFGH-4861

See merge request espressif/esp-idf!13435
2021-05-06 11:49:39 +00:00
Ivan Grokhotkov
3717a318f6 Merge branch 'bugfix/gpio_isr_doc' into 'master'
gpio_isr_register(): Correct order of arguments in docs (Github PR)

Closes IDFGH-1780

See merge request espressif/esp-idf!13439
2021-05-06 11:49:34 +00:00
Michael (XIAO Xufeng)
3f2f80effc Merge branch 'feature/support_esp32s3_tinyusb_driver' into 'master'
soc/hal/tinyusb: add tinyusb support esp32s3

Closes IDF-2692

See merge request espressif/esp-idf!12668
2021-05-06 08:21:01 +00:00
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
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
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
Christian Winkler
13abf1ed2e Fix adc-channel typo
Merges https://github.com/espressif/esp-idf/pull/6577
2021-05-05 15:40:35 +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
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
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
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
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
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