Commit Graph

21094 Commits

Author SHA1 Message Date
Ivan Grokhotkov
f1abc863a2 Merge branch 'bugfix/console_fixes_4.4' into 'release/v4.4'
console: various fixes and example improvements (backport v4.4)

See merge request espressif/esp-idf!18161
2022-06-03 03:54:30 +08:00
Jiang Jiang Jian
487df7cb61 Merge branch 'bugfix/add_bda_to_read_rmt_name_param_v4.4' into 'release/v4.4'
Bugfix/add bda to read rmt name param v4.4

See merge request espressif/esp-idf!18280
2022-06-02 11:46:07 +08:00
Jiang Jiang Jian
f51d746a9a Merge branch 'feature/docker_build_gh_actions_v4.4' into 'release/v4.4'
ci: move Docker image builds to Github, plus other improvements (v4.4)

See merge request espressif/esp-idf!18287
2022-06-02 11:45:29 +08:00
Ivan Grokhotkov
cd21a31416
vfs: usb_serial_jtag: consider O_NONBLOCK flag when reading via driver
Closes https://github.com/espressif/esp-idf/issues/8839
2022-06-01 16:32:28 +02:00
Ivan Grokhotkov
129cdcc08c
console: linenoiseProbe: check if response is valid
Previously linenoiseProbe would accept any 4 byte response, even one
that isn't expected. This adds a check that the first byte of the
response is ESC.
Suggested in https://github.com/espressif/esp-idf/issues/8839.
2022-06-01 16:32:28 +02:00
Ivan Grokhotkov
78480e215a
examples: console: add a readme with an overview of examples 2022-06-01 16:32:28 +02:00
Ivan Grokhotkov
6f57018c9d
examples: support USB_CDC and USB_SERIAL_JTAG in basic console example
Related to https://github.com/espressif/esp-idf/issues/8738
Related to https://github.com/espressif/esp-idf/issues/8879

Doesn’t implement USB_CDC (over USB_OTG peripheral) for ESP32-S3 yet;
this only works on ESP32-S2 for now. On ESP32-S3 it is now possible to
use USB_SERIAL_JTAG console.
2022-06-01 16:32:28 +02:00
Ivan Grokhotkov
80f7b45672
examples: console: move duplicated cmd_wifi files into a new component 2022-06-01 16:32:28 +02:00
Ivan Grokhotkov
cb4a197a98
examples: move console_usb example to console directory 2022-06-01 16:30:14 +02:00
Ivan Grokhotkov
fa4256c885
ci: build and push Docker images in Github actions, add arm64 platform
Replaces the previously used Docker Hub autobuild infrastructure.
This allows for more flexible configuration of the build process,
at the expense of some extra maintenance of CI workflow files
required.
2022-06-01 16:23:50 +02:00
Ivan Grokhotkov
dc4fcdd2e1
docs: document build arguments of the Docker image 2022-06-01 16:23:50 +02:00
Ivan Grokhotkov
8eec6cb868
tools/docker: add IDF_CLONE_SHALLOW and IDF_INSTALL_TARGETS arguments
These two arguments can be used to reduce the size of the Docker
image:

- Setting IDF_CLONE_SHALLOW enables shallow cloning.
- Setting IDF_INSTALL_TARGETS to the comma separated list of targets
  results in toolchains being installed only for these targets.
2022-06-01 16:23:50 +02:00
morris
c0dcebc41c Merge branch 'feat/esp32s3_support_gpio_deepsleep_wakeup_v4.4' into 'release/v4.4'
example/deep_sleep: add example of EXT0 and using internal pullups (v4.4)

See merge request espressif/esp-idf!18119
2022-06-01 19:56:17 +08:00
Roland Dobai
f1fbbf3171 Merge branch 'bugfix/fixed-unsatisfiable-condition_v4.4' into 'release/v4.4'
Fixed comparison with ESP_MONITOR_DECODE (v4.4)

See merge request espressif/esp-idf!18334
2022-06-01 16:12:40 +08:00
Martin Gaňo
221bf746d0 Fixed comparsion of integer and string that evaluated always to False
Closes https://github.com/espressif/esp-idf/issues/9052
Closes IDFGH-7482
2022-05-31 14:07:18 +02:00
Jiang Jiang Jian
ae0e3e2e2a Merge branch 'feature/add_spiffs_check_v4.4_2' into 'release/v4.4'
spiffs: Add esp_spiffs_check() function (v4.4)

See merge request espressif/esp-idf!18189
2022-05-31 10:28:03 +08:00
David Čermák
afde319749 Merge branch 'bugfix/fix_lwip_kconfig_v4.4' into 'release/v4.4'
fix(Kconfig): Fix lw-ip Kconfig display garbled characters (backport v4.4)

See merge request espressif/esp-idf!18320
2022-05-30 17:53:55 +08:00
yuanjm
ad176653a0 fix(Kconfig): Fix lw-ip Kconfig display garbled characters 2022-05-30 16:21:09 +08:00
Jiang Jiang Jian
fc30369909 Merge branch 'bugfix/update_efuse_name_v4.4' into 'release/v4.4'
efuse: update efuse name (backport v4.4)

See merge request espressif/esp-idf!18195
2022-05-30 11:15:16 +08:00
Wu Zheng Hui
2e4784611d efuse: update efuse name (backport v4.4) 2022-05-30 11:15:16 +08:00
morris
0340c2f2bc Merge branch 'bugfix/keep_rtc8m_in_lightsleep_v4.4' into 'release/v4.4'
pm: fixed RTC8M domain power down issue when used as RTC source (v4.4)

See merge request espressif/esp-idf!18075
2022-05-30 09:54:39 +08:00
keymoon
22cf1d0d58 assign value to uninitialized bt_addr field 2022-05-29 18:08:56 -07:00
keymoon
35fd2cee7c add address field to read_rmt_name_param 2022-05-29 18:08:41 -07:00
Roland Dobai
72dcce1ec2 Merge branch 'bugfix/return_idf_component_manager_build_property_v4.4' into 'release/v4.4'
build & config: Add IDF_COMPONENT_MANAGER build property (v4.4)

See merge request espressif/esp-idf!18286
2022-05-28 13:59:17 +08:00
Adam Múdry
12dfcdd1d9 spiffs: Add esp_spiffs_check() function
esp_spiffs_check() exposes SPIFFS_check() functionality to the user
2022-05-27 21:14:33 +00:00
Roland Dobai
fbb0e684e9 Merge branch 'bugfix/mkdfu_flash_parameters_v4.4' into 'release/v4.4'
mkdfu.py: Support setting flash parameters (backport v4.4)

See merge request espressif/esp-idf!18291
2022-05-28 03:26:29 +08:00
radim.karnis
f40b88e866 mkdfu.py: Support setting flash parameters 2022-05-27 16:24:13 +02:00
Roland Dobai
d15b02fdb2 Merge branch 'bugfix/disable_extensions_idfpy_tests_v4.4' into 'release/v4.4'
Tools: Make idf.py tests independent on extra extensions (v4.4)

See merge request espressif/esp-idf!18277
2022-05-27 18:57:43 +08:00
Sergei Silnov
c3969b789e build & config: Add IDF_COMPONENT_MANAGER build property 2022-05-27 12:57:00 +02:00
Sergei Silnov
395087ff44 Tools: Make idf.py tests independent on extra extensions 2022-05-27 11:14:08 +02:00
Jiang Jiang Jian
6260f53c14 Merge branch 'feature/modbus_master_fix_check_uart_set_pin_v44' into 'release/v4.4'
example/modbus_master: fix the assert for uart_set_pin (backport v4.4)

See merge request espressif/esp-idf!17624
2022-05-27 11:51:48 +08:00
Roland Dobai
692c1a6bea Merge branch 'feature/idf_py_clang_tidy_check_v4.4' into 'release/v4.4'
feat(idf.py): add `idf.py clang-check` and `idf.py clang-html-report` (v4.4)

See merge request espressif/esp-idf!18229
2022-05-26 16:40:10 +08:00
morris
992b4ffb1e Merge branch 'bugfix/systimer_counter_value_bit_field_v4.4' into 'release/v4.4'
HAL: Fix systimer counter value bit field (v4.4)

See merge request espressif/esp-idf!18254
2022-05-26 10:16:39 +08:00
Darian Leung
906bb0e4a3 hal: Fix systimer counter value bit field
This commit fixes the systimer_counter_value_t by adding a resreved field so that the
type fills 64-bits.

Without the reserved field, when compiling with -O0 optimization, the unoccupied high
bits would not be initalized by the compiler, leading to systimer_hal_get_counter_value()
returning a garbage value.
2022-05-26 01:47:33 +08:00
Jiang Jiang Jian
7e20435a54 Merge branch 'bugfix/fix_cannot_lslp_again_after_ulp_wakeup_backport_v4.4' into 'release/v4.4'
sleep: fix cannot lightsleep again after a wakeup from ULP(backport v4.4)

See merge request espressif/esp-idf!18180
2022-05-25 16:52:36 +08:00
Mahavir Jain
ff4875bc9b Merge branch 'bugfix/setup_defines_for_correct_mutex_usage' into 'release/v4.4'
coap_config_posix.h: Set up defines for correct mutex usage

See merge request espressif/esp-idf!18232
2022-05-25 13:55:44 +08:00
morris
3e7f721d33 Merge branch 'bugfix/i2s_write_timeout_when_setting_clock_v4.4' into 'release/v4.4'
i2s: fixed write timeout while setting the clock (v4.4)

See merge request espressif/esp-idf!18220
2022-05-25 13:34:28 +08:00
morris
1a6c817c27 Merge branch 'bugfix/s3_spi_pre_v4.4' into 'release/v4.4'
hal: Fix max value for clkdiv_pre in ESP32-S3 SPI master clock config (v4.4)

See merge request espressif/esp-idf!18237
2022-05-25 11:29:34 +08:00
Ivan Grokhotkov
0ebd381c16 Merge branch 'contrib/github_pr_9001_v4.4' into 'release/v4.4'
usbh_print_intf_desc prints wrong value for tbInterfaceClass (IDFGH-9000)

See merge request espressif/esp-idf!18236
2022-05-25 01:56:33 +08:00
Nicholas Palmer
cca9f93067 usbh_print_intf_desc prints wrong value for tbInterfaceClass (IDFGH-9000) 2022-05-24 14:28:54 +02:00
Gustavo Henrique Nihei
7a9daa3cd3 hal: Fix max value for clkdiv_pre in ESP32-S3 SPI master clock config
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-05-24 08:51:16 -03:00
Jon Shallow
993267d745 coap_config_posix.h: Set up defines for correct mutex usage
if COAP_CONSTRAINED_STACK is defined (is for esp-idf), the mutexes set up
to protect the critical sections were not working as expected and were just
dummy entries.

Use the pthread_ version of the mutex instead by defining HAVE_PTHREAD_H
and HAVE_PTHREAD_MUTEX_LOCK.
2022-05-24 14:43:02 +05:30
Fu Hanxi
f16e21aa9d docs(idf.py): add IDF Clang Tidy chapter 2022-05-24 16:08:40 +08:00
Fu Hanxi
5c19581bfe feat(idf.py): add idf.py clang-check and idf.py clang-html-report 2022-05-24 16:08:40 +08:00
laokaiyao
9b0f7b657b i2s: fixed write timeout while setting the clock (v4.4) 2022-05-24 10:14:44 +08:00
Ivan Grokhotkov
064148212b Merge branch 'bugfix/read_eof_no_vfs_4.4' into 'release/v4.4'
newlib: fix return value of no-VFS _read_r if nothing received (v4.4)

See merge request espressif/esp-idf!18160
2022-05-23 17:53:47 +08:00
Mahavir Jain
9d2238d6e4 Merge branch 'bugfix/mbedtls_dynamic_buffer_crash_on_ssl_server_v4.4' into 'release/v4.4'
fix(mbedtls): fix ssl server memory leak when enable mbedtls dynamic buffer function(backport v4.4)

See merge request espressif/esp-idf!18166
2022-05-23 11:20:30 +08:00
David Čermák
fc8ef9d1c2 Merge branch 'bugfix/mdsn_fuzzer_extend_v4.4' into 'release/v4.4'
mdns: ~~Extend fuzzing and~~ Fix various petty issues (v4.4)

See merge request espressif/esp-idf!18056
2022-05-20 16:58:13 +08:00
David Čermák
db98a4b2ef Merge branch 'bugfix/vfs_sock_select_race_v4.4' into 'release/v4.4'
vfs: Fix potential select() race if both sock and other-fd trigger (v4.4)

See merge request espressif/esp-idf!18175
2022-05-20 12:55:09 +08:00
jingli
bef5b2ac6e remove wrong function rtc_cntl_ll_ulp_wakeup_enable for esp32s2 and esp32s3 2022-05-19 23:27:32 +08:00