Wykres commitów

3675 Commity (29b2beffc072d3854b4a6456534f586a32a6ba08)

Autor SHA1 Wiadomość Data
Marius Vikhammer c8617fe965 docs: fix all doxygen warnings
Doxygen warnings would previously not result in a failed pipeline.
Fixed this as well as all current warnings.
2022-05-12 14:50:03 +08:00
Mahavir Jain af1f342ee8 Merge branch 'fix/make_esp_tls_t_private' into 'master'
Make esp_tls_t as private structure

Closes IDF-2812

See merge request espressif/esp-idf!17812
2022-05-12 14:47:42 +08:00
morris 47e4fe83ba ci: enable build pytest ut and examples on esp32c2 2022-05-12 05:18:57 +00:00
morris 6d288575dc test: fix broken host test of idf_as_lib 2022-05-12 05:18:57 +00:00
morris 24f5fecef0 hal: use ROM implementation for systimer and wdt on esp32c2 2022-05-12 05:18:57 +00:00
morris 334126315f esp32c2: level up from preview targets 2022-05-12 05:18:57 +00:00
Mahavir Jain 42aac8d1d7 Merge branch 'contrib/github_pr_8816' into 'master'
Don't ignore return value of `httpd_stop` (GitHub PR)

Closes IDFGH-7222

See merge request espressif/esp-idf!18040
2022-05-12 12:00:03 +08:00
Kapil Gupta 97d7bde1ea Merge branch 'feature/wps_code_updation' into 'master'
wpa_supplicant: wps code cleanup

See merge request espressif/esp-idf!16577
2022-05-12 11:56:58 +08:00
Ivan Grokhotkov 2e506bd93e Merge branch 'bugfix/iperf_output_regex' into 'master'
ci: iperf: recognize report results from newer iperf versions

Closes IDFCI-1226 and IDFCI-1229

See merge request espressif/esp-idf!18055
2022-05-12 03:26:34 +08:00
Kapil Gupta ecc87cfc8d wpa_supplicant: wps code updation
Update WPS code with upstream. Also moved ESP specific code
in another esp code folder.
2022-05-11 12:18:52 +00:00
Nathan Phillips e8e63a06e8 Don't ignore return value of httpd_stop 2022-05-11 08:58:01 +00:00
Aditya Patwardhan aa9de02259 esp_tls.h: Clean up included header files. 2022-05-11 07:09:34 +00:00
Martin Gano 89f754183e Merge branch 'contrib/github_pr_8788' into 'master'
Add idf.py monitor argument --no-reset (-R) (GitHub PR)

Closes IDFGH-7189, IDFGH-7301, and IDFGH-5963

See merge request espressif/esp-idf!18010
2022-05-10 23:34:37 +08:00
Ivan Grokhotkov d2e519012c
ci: iperf: recognize report results from newer iperf versions
The iperf version used in older version of CI docker images had the
following output format:
[  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec   0.000 ms    0/  892 (0%)
The newer iperf version which was recently included in the container
prints more digits after the decimal point:
[  3] 0.0000-10.0148 sec  1.25 MBytes  1.05 Mbits/sec   0.002 ms    0/  895 (0%)
The regular expression to match this line expected a single zero after
the decimal point, so the new format no longer matches.
The fix is to expect any number of digits in the fractional part.
2022-05-10 15:49:53 +02:00
Martin Gaňo c02c0cc9b7 Tools: Add --no-reset option for IDF Monitor in order to avoid resetting the chip target upon connection
Closes https://github.com/espressif/esp-idf/issues/8889

Closes IDFGH-7189, IDFGH-7301, IDFGH-5963

Closes https://github.com/espressif/esp-idf/issues/7651

Merges https://github.com/espressif/esp-idf/pull/8788
2022-05-10 14:19:37 +02:00
morris 722fde218d uart: add default source clock for all targets 2022-05-09 11:26:30 +08:00
Marius Vikhammer 5bee313bde Merge branch 'bugfix/kconfig_checker_osource' into 'master'
kconfig: update check_kconfigs.py to handle orsource command

See merge request espressif/esp-idf!18013
2022-05-09 09:48:06 +08:00
Wu Zheng Hui 0580d68b69 esp32c2: Support riscv floating-point library selection 2022-05-08 17:57:40 +08:00
Armando (Dou Yiwen) 03aeac1dde Merge branch 'refactor/adc_hal_common_layer' into 'master'
adc: create common adc hal layer

See merge request espressif/esp-idf!17577
2022-05-08 15:45:56 +08:00
Armando 49747bb486 adc: create common adc hal layer 2022-05-07 19:20:44 +08:00
morris b3c1480d9c example: update musical buzzer example with new rmt driver 2022-05-07 10:34:50 +00:00
morris d537da5bfb example: update led strip example with new rmt driver 2022-05-07 10:34:50 +00:00
morris 977a2830dd example: update ir nec example with new rmt driver 2022-05-07 10:34:50 +00:00
morris c5cd86ae8b test_utils: migrate to use new rmt driver 2022-05-07 10:34:50 +00:00
morris 5bfe873725 driver: deprecate legacy rmt driver
The legacy driver is still available, but new feature won't be added.
Enable RMT_SUPPRESS_DEPRECATE_WARN if you don't want to see the
deprecated warnings.
2022-05-07 10:34:50 +00:00
Roland Dobai efc3357f1a Merge branch 'feature/semihosting_call_number_change' into 'master'
Semihosting V2

Closes IDF-4893

See merge request espressif/esp-idf!17412
2022-05-07 00:28:48 +08:00
morris 1f922f2124 Merge branch 'contrib/github_pr_8900' into 'master'
hello_world_main : fix incorrect printf format (GitHub PR)

Closes IDFGH-7312

See merge request espressif/esp-idf!17998
2022-05-06 21:22:51 +08:00
morris 06e071ba4b Merge branch 'feature/driver_ng_enable_disable_logic' into 'master'
driver_ng: added explicit enable/disable functions

Closes IDF-4204

See merge request espressif/esp-idf!17885
2022-05-06 20:44:50 +08:00
Zim Kalinowski 4967ee40c6 Merge branch 'bugfix/lwip_afl_host_test_mock' into 'master'
LUpdate AFL host test mock

Closes IDF-4953

See merge request espressif/esp-idf!17962
2022-05-06 20:13:21 +08:00
huardti a01820c583 hello_world: fix incorrect printf format
spi_flash_get_chip_size return a size_t to printf this type it's better to use %u than %d.

We didn't use %zu because it will be ignored by "nano" printf (i.e. when
CONFIG_NEWLIB_NANO_FORMAT is on).

Closes https://github.com/espressif/esp-idf/pull/8900
2022-05-06 10:38:49 +00:00
morris d67888b92b pcnt: added enable/disable functions 2022-05-06 18:18:39 +08:00
morris e7295c3577 gptimer: added enable/disable functions 2022-05-06 18:18:39 +08:00
morris 3f66660444 Merge branch 'feature/bringup_esp32c2eco1' into 'master'
esp32c2:ECO1 ROM update

Closes IDF-4933

See merge request espressif/esp-idf!17723
2022-05-06 18:06:26 +08:00
Marius Vikhammer c7a827a136 kconfig: update check_kconfigs.py to handle orsource command
check_kconfigs.py would only correctly handle "source", but not "rsource", "osource"
or "orsource".

Fixed any warnings detected after updating the test.
2022-05-06 11:31:24 +08:00
Armando (Dou Yiwen) 76be0c2624 Merge branch 'bugfix/fix_esp32_mmu_init_issue' into 'master'
mmu: add ll functions for mmu unmap

Closes OCD-526 and IDF-4962

See merge request espressif/esp-idf!17868
2022-05-05 22:21:18 +08:00
wuzhenghui afd86542d8 ci: add build test for newly added Kconfig option 2022-05-05 17:41:11 +08:00
jiangguangming 6ec373daf5 heap_tlsf: use tlsf IMPL in ESP32C2 ROM 2022-05-05 17:41:11 +08:00
Erhan Kurubas ad078c5153 semihosting: drop absolute path support 2022-05-05 09:12:42 +00:00
Kapil Gupta 805b5c9115 Merge branch 'feature/11r_changes' into 'master'
esp_wifi: Add support for FT psk

Closes WIFI-2160

See merge request espressif/esp-idf!16754
2022-05-05 14:30:37 +08:00
Roland Dobai 08cc2fd493 Tools: Fix the Python dependency checker by skipping not installed dependency sub-trees 2022-05-03 16:50:25 +02:00
Ivan Grokhotkov 5b0a302ea4 Merge branch 'bugfix/build_spaces_in_path_docs_tests' into 'master'
ci, tools: add build tests for spaces in paths, fix regression in export.sh, add migration guide

See merge request espressif/esp-idf!15431
2022-05-03 21:04:49 +08:00
Nonoo 9266a7c52e Add idf.py monitor argument --no-reset (-R) to prevent resetting the MCU target on monitor startup
Add idf.py monitor argument --no-reset (-R) to prevent resetting the CPU on monitor startup

idf.py monitor: fix type signature

idf.py monitor: fix reset key shortcut when --no-reset (-R) argument is used

idf.py monitor: change --no-reset (-R) argument descriptions in help

idf.py monitor: simplify --no-reset (-R) argument checks

idf.py monitor: add warning if --no-reset is used, but --port is not given

idf.py monitor: ignore --no-reset if --port is not given
2022-05-03 14:52:34 +02:00
Ivan Grokhotkov 89e78976ab
tests: panic: make 'get_test_name' work without VFS, add echo
When vfs component is not added to the build, bare minimum syscalls
are provided by newlib component. These syscalls currently don't
perform CR/LF translation.
This commit makes the 'get_test_name' function work with minimal
syscalls and also adds echo, so that the user sees what they type.
2022-05-02 20:47:18 +02:00
Ivan Grokhotkov 77b754b47f
newlib: fix return value of no-VFS _read_r if nothing received
'read' function should return 0 when encountering an end of file. When
newlib calls read and sees EOF returned, it assumes that this
condition is permanent and never calls 'read' for this file again
(unless the read pointer is moved using fseek).
The correct behavior in case no characters were received over UART is
to return -1. In this case newlib will retry reading from file on next
call to fread, fgetc or another function which calls __srefill_r.
2022-05-02 20:47:18 +02:00
Ivan Grokhotkov 47659be5b8
build system: remove lwip from common requirements
lwip was added to common requirements list to provide "sys/socket.h"
header to all components without additional requirements specified.

However, lwip pulls in a lot of dependencies on other components.
This commit removes lwip from common requirements to reduce the number
of components in G1-only apps.

To compensate for this removal, the following changes are made:
- newlib (which is a common requirement) has a public dependency on
  lwip if lwip is present in the build. This ensures that sys/socket.h
  is available as long as lwip component is included into the build.
- lwip is now a public requirement of esp-tls since esp_tls.h includes
  sys/socket.h header.
- lwip is now a public requirement o esp_http_client because
  sys/socket.h is included from esp_http_client.h
- lwip is now a private requirement of esp_wifi for "smartconfig_ack"
- lwip is now a private requirement of mqtt for socket functions
- lwip is now a public requirement of tcp_transport because
  esp_transport_tcp.h includes sys/socket.h header.
- mbedtls checks if lwip component is present in the build. If yes,
  net_sockets.c is added to the build, along with the dependency on
  lwip. Previously lwip was a public requirement of mbedtls
  unconditionally.

system/g1_components test app is updated to reflect the changes

Default public dependencies of a component before and after this
change, except common requirements:

- esp_timer (public dependency of freertos)
- bootloader_support (public dependency of esp_hw_support)
- vfs (public dependency of lwip)
- esp_wifi (public dependency of lwip)
- esp_event (public dependency of esp_wifi)
- esp_netif (public dependency of esp_event)
- esp_eth (public dependency of esp_netif)
- esp_phy (public dependency of esp_wifi)

After:

- esp_timer (public dependency of freertos)
- bootloader_support (public dependency of esp_hw_support)

Altogether, the following components have been always added as
public requirements to all other components, and are not added now
([breaking-change]):

- lwip
- vfs
- esp_wifi
- esp_event
- esp_netif
- esp_eth
- esp_phy

Application components now need to explicitly declare dependencies on
these components.
2022-05-02 20:47:17 +02:00
Ivan Grokhotkov ab6151fc8e
test_utils: add missing dependency on esp_netif 2022-05-02 20:47:17 +02:00
Ivan Grokhotkov 130bbf3d6c
ci: add build job to test paths with spaces 2022-05-02 19:05:48 +02:00
Ivan Grokhotkov cf8fb9e950
tools: fixup version references related to paths with spaces
The feature will only appear in 5.0 release, not in 4.4.
2022-05-02 19:05:47 +02:00
kapil.gupta 3d5ca7ee6e wpa_supplicant: Add support for FT psk 2022-05-01 16:16:51 +05:30
David Čermák 2941cd353a Merge branch 'bugfix/tcp_transport_documentation' into 'master'
tcp_transport: Fix documentation for connect functions

See merge request espressif/esp-idf!17270
2022-04-30 07:45:21 +08:00