Marius Vikhammer
d485f6add8
Merge branch 'feature/arch_build_property' into 'master'
...
build-system: add property for architecture (riscv/xtensa)
Closes IDF-1754
See merge request espressif/esp-idf!18127
2022-05-24 08:46:09 +08:00
Marius Vikhammer
0687daf2c8
kconfig: move remaining kconfig options out of target component
...
The kconfig options are moved to the component where they are used,
mostly esp_hw_support and esp_system.
2022-05-23 17:57:45 +08:00
Roland Dobai
2e9ac36fc8
Merge branch 'contrib/github_pr_8981' into 'master'
...
Tools: Add missing DTR/RTS set before serial port open on reconnect (GitHub PR)
Closes IDFGH-7403
See merge request espressif/esp-idf!18171
2022-05-23 16:32:08 +08:00
Fu Hanxi
4746a71028
ci: add qemu example
2022-05-21 00:11:59 +08:00
Marius Vikhammer
96965d5d64
Merge branch 'ci/app_type_elf_reduce_ram' into 'master'
...
CI: reduce memory footprint for "Loadable ELF build"
Closes IDFCI-1272
See merge request espressif/esp-idf!18185
2022-05-20 15:48:15 +08:00
Marius Vikhammer
27045f5e74
CI: reduce memory footprint for "Loadable ELF build"
...
Build test was failing due to IRAM overflow, building with the recommended
options for reducing memory footprint should give us some breathing room.
2022-05-20 14:39:46 +08:00
Omar Chebib
68ddce7c0b
Merge branch 'bugfix/esp32_i2c_incorrect_speed' into 'master'
...
I2C: Fix SCL period timings on ESP targets
See merge request espressif/esp-idf!17999
2022-05-20 13:33:03 +08:00
Marius Vikhammer
9362434c47
build-system: add property for architecture (riscv/xtensa)
...
riscv/xtensa is now a common component.
2022-05-20 09:00:32 +08:00
Roland Dobai
f49df63a16
Merge branch 'fix/arm-architecture-detection' into 'master'
...
Tools: fix architecture armhf/armel detection
Closes IDFCI-1238, IDFCI-1239, IDFCI-1240, IDFCI-1241, IDFCI-1242, IDFCI-1243, IDFCI-1244, IDFCI-1245, IDFCI-1246, and IDFCI-1247
See merge request espressif/esp-idf!18122
2022-05-19 18:59:42 +08:00
Nonoo
f6e4140171
Tools: Add missing DTR/RTS set before serial port open on reconnect when --no-reset is used
...
This makes sure --no-reset works correctly when the monitor reconnects the serial port.
2022-05-19 08:24:50 +02:00
morris
5d46bf3429
check_term: allow alacritty term
2022-05-19 11:10:59 +08:00
David Cermak
356bc603c4
lwip: Support DHCP restore last IP
2022-05-18 17:11:35 +02:00
David Cermak
53c009e626
lwip: Update socket API to include port-version of sockets/netdb
...
Added socket extention to the lwip hooks for implementing non-vanilla
{get/set}sockopts()
2022-05-18 17:10:42 +02:00
David Cermak
44a9620c17
esp_netif: Add thread safe pppapi set_auth API to esp-netif
2022-05-18 17:10:42 +02:00
David Cermak
5b471a1848
esp_netif/lwip: Implement basic support for vanilla-lwip (2.1.3-REL)
...
* Reference lwip-2.1.3-REL vanilla lwip version
* Use inherent NETIF callbacks instead of dhcp/ipv6/autoip
2022-05-18 17:10:42 +02:00
Alexey Lapshin
0afd70c362
Tools: fix architecture armhf/armel detection
2022-05-18 15:18:09 +04:00
Roland Dobai
3bf6e06a80
Merge branch 'tools/fix_cmake_variables_propagation' into 'master'
...
tools: Fix cmake variable propagation
Closes IDFGH-7212 and IDFGH-7292
See merge request espressif/esp-idf!17983
2022-05-18 15:44:22 +08:00
Omar Chebib
477bc9e64c
I2C: Fix SCL period timings on ESP targets
...
The output frequency is now more accurate as the SCL period timings have been fixed.
This fix applies for ESP32, ESP32S3, ESP32C3, ESP32C2 and ESP32H2
2022-05-18 05:36:08 +00:00
Roland Dobai
37b641608a
Merge branch 'fix/gdb-version-check' into 'master'
...
tools: Fix gdb version check
Closes IDFGH-7385
See merge request espressif/esp-idf!18129
2022-05-17 18:59:25 +08:00
Roland Dobai
762820971c
Merge branch 'tools/update_cmake' into 'master'
...
tools: Update CMake
Closes IDFGH-7227
See merge request espressif/esp-idf!17991
2022-05-17 17:27:48 +08:00
Martin Gano
e9716b1498
Merge branch 'feature/add-fatfs-parser' into 'master'
...
fatfsgen.py implement functionality for parsing fatfs
Closes IDF-4360
See merge request espressif/esp-idf!17951
2022-05-17 17:07:13 +08:00
Alexey Lapshin
41bbdcc26b
tools: Fix gdb version check
...
Closes https://github.com/espressif/esp-idf/issues/8965
2022-05-17 12:17:03 +04:00
Darian
4d751b9d6b
Merge branch 'feature/task_watchdog_freeertos_smp' into 'master'
...
esp_system: Add task watchdog user feature and fix SMP FreeRTOS idle task watchdog
Closes IDF-3340
See merge request espressif/esp-idf!17768
2022-05-17 15:13:43 +08:00
Djordje Nedic
2ee43cf6c4
tools: Update CMake
...
This updates CMake to the latest version (3.23).
There are no deprecations and feature removals that affect us going from the previous version:
https://cmake.org/cmake/help/latest/release/3.21.html#deprecated-and-removed-features
https://cmake.org/cmake/help/latest/release/3.22.html#deprecated-and-removed-features
https://cmake.org/cmake/help/latest/release/3.23.html#deprecated-and-removed-features
Closes https://github.com/espressif/esp-idf/issues/8821
2022-05-17 05:06:35 +00:00
Kapil Gupta
ba1daac5f0
Merge branch 'bugfix/wnm_rrm_caps_validation' into 'master'
...
esp_wifi: Add APIs to check for BTM, RRM support of connected AP
See merge request espressif/esp-idf!18092
2022-05-17 11:33:23 +08:00
Shu Chen
f1d1c5a876
Merge branch 'support/esp32h2beta2_phy_build' into 'master'
...
esp_phy: support esp32h2beta2 phy build
See merge request espressif/esp-idf!17856
2022-05-17 10:32:07 +08:00
Djordje Nedic
11f3898e33
tools: Fix cmake variable propagation
...
This fixes the issue where component CMAKE variables propagate by default to the entire project, for instance compiler flags.
Useful for when you want to have component specific compiler flags or defines.
Closes https://github.com/espressif/esp-idf/pull/8806
Closes https://github.com/espressif/esp-idf/issues/8881
2022-05-16 16:55:34 +02:00
Roland Dobai
31b7694551
Merge branch 'contrib/github_pr_8955' into 'master'
...
Tools: fix idf.py monitor reset with hotkey with --no-reset arg (GitHub PR)
Closes IDFGH-7375
See merge request espressif/esp-idf!18118
2022-05-16 21:50:16 +08:00
Martin Gaňo
005af75da3
Added FATFS partition parser
2022-05-16 14:32:17 +02:00
Tomas Rezucha
0a511e576e
Merge branch 'feature/remove_extra_components' into 'master'
...
examples: Use components from idf-extra-components repository
See merge request espressif/esp-idf!17992
2022-05-16 19:56:11 +08:00
Nonoo
c063cbd7f7
Tools: Set idf.py monitor DTR to the default state when reset is not needed
...
This lets use the reset hotkey (Ctrl+T Ctrl+R).
Tools: fix idf.py monitor reset with hotkey with --no-reset arg
Tools: Set idf.py monitor DTR to the default state when reset is not needed
2022-05-16 13:06:35 +02:00
zhangwenxu
9440430db2
esp_phy: support esp32h2beta2 phy build
2022-05-16 10:50:44 +00:00
Kapil Gupta
ee33c6ae05
esp_wifi: Add APIs to check BTM and RRM support of connected AP
2022-05-16 15:57:59 +05:30
Fu Hanxi
38345d9cd8
Merge branch 'ci/improve_build_scripts_for_multi_targets' into 'master'
...
CI: improve build scripts for multi targets
See merge request espressif/esp-idf!17895
2022-05-16 11:18:11 +08:00
Armando (Dou Yiwen)
ad747b237a
Merge branch 'toos/add_s3_ut_based_on_quad_octal_psram' into 'master'
...
ci: add s3 ut based on quad octal psram
See merge request espressif/esp-idf!18087
2022-05-16 09:57:21 +08:00
Michael (XIAO Xufeng)
6f507d527c
rtc: fixed 8MD256 can't be used as RTC slow src on ESP32
...
Sync configuration from other chips
Closes: https://github.com/espressif/esp-idf/issues/8007 , https://github.com/espressif/esp-idf/pull/8089
2022-05-14 22:35:41 +08:00
Jing Li
ac0d16cdc8
Merge branch 'bugfix/fix_cannot_lslp_again_after_ulp_wakeup' into 'master'
...
sleep: fix cannot lightsleep again after a wakeup from ULP
Closes IDFGH-4396
See merge request espressif/esp-idf!17970
2022-05-13 22:25:23 +08:00
Darian Leung
4877a9fcba
esp_system: Refactor task_wdt
...
This commit refactors the task watchdog as follows:
- Renamed variables, types, and functions
- Replaced manual linked list implementation with SLIST()
- Moved calloc()/free() calls out of critical sections
- Shortened ISR critical sections
- Updated API description
- Updated code formatting
2022-05-13 17:57:44 +08:00
Roland Dobai
4bd5c4ef53
Merge branch 'partition_table/warn_partition_nearly_full' into 'master'
...
partition_table: Add warning when partitions are nearly full
Closes IDF-4533
See merge request espressif/esp-idf!17916
2022-05-13 16:28:35 +08:00
Roland Dobai
6cbe0ceaa7
Merge branch 'feature/enable_component_manager_by_default_for_pure_cmake' into 'master'
...
tools: Enable the component manager by default in CMake
Closes IDF-4322
See merge request espressif/esp-idf!17724
2022-05-13 15:39:01 +08:00
Djordje Nedic
e09ef86d7c
partition_table: Add warning when partitions are nearly full
...
This adds a warning in cases where the smallest partition is nearly full.
A test with a specially crafted partition table is created for the smallest partition warning.
If the threshold or the template itself change, change the factory app partition size as well.
2022-05-13 07:14:04 +00:00
Alexey Lapshin
e49d4a83d9
tools: Add tool's versions update with checksum file
...
'idf_tools.py add-version' has new options:
--override Override tool versions with new data
--checksum-file URL or path to local file with checksum/size for artifacts
Usage e.g.:
CHECKSUM_URL=https://github.com/espressif/crosstool-NG/releases/download/esp-2021r2/crosstool-NG-esp-2021r2-checksum.sha256
idf_tools.py add-version --tool xtensa-esp32-elf --version esp-2021r2 --override --checksum-file $CHECKSUM_URL
Positional argument 'files' moved to optional argument '--artifact-file'
Add tests for add-version logic
2022-05-13 06:51:59 +00:00
Fu Hanxi
52b5a8348e
test: add pytest_wifi_getting_started script
2022-05-13 11:56:59 +08:00
Fu Hanxi
511ccdcb70
ci(pytest): support multi-dut different app
2022-05-13 11:54:42 +08:00
Fu Hanxi
5c997bd5dd
ci(pytest): upgrade to 0.7.0
2022-05-13 11:54:42 +08:00
Armando
ed1e4c854e
ci: support distribute ut based on psram type
2022-05-13 10:49:02 +08:00
jingli
dd414b9305
esp_hw_support/sleep: fix cannot lightsleep again after a wakeup from ULP
...
Since ulp wakeup signal are connected to ulp int raw(except esp32), we
need to clear ulp int raw before sleep when ulp wakeup enabled. Otherwise,
if the ulp int raw is already set, chip will not sleep properly.
Closes https://github.com/espressif/esp-idf/issues/6229
2022-05-12 17:57:08 +08:00
Tomas Rezucha
4dde197cca
examples: Use components from idf-extra-components repository
2022-05-12 08:37:44 +00:00
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
Sergei Silnov
69cf85e6a6
tools: Enable the component manager by default in CMake
2022-05-03 17:38:36 +02: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
Darian Leung
4e4f20d82a
lwip: Fix extra or missing includes
2022-04-29 15:11:44 +08:00
Roland Dobai
9b64c40981
Merge branch 'feature/add_freertos_gdb_integration' into 'master'
...
tools: add freertos support to GDB
Closes GCC-226
See merge request espressif/esp-idf!17571
2022-04-28 14:36:58 +08:00
Roland Dobai
fdf784b7d7
Merge branch 'feature/add_gdb_as_a_tool' into 'master'
...
tools: add GDB v11.1 as a tool
Closes IDF-3880, IDF-4079, OCD-411, IDFGH-4510, and GCC-90
See merge request espressif/esp-idf!17100
2022-04-28 14:35:13 +08:00
radim.karnis
1cdaf4a831
bugfix: Fix port autodetection with esptool package
2022-04-27 09:34:25 +00:00
Ivan Grokhotkov
871375cae3
Merge branch 'bugfix/bootloader_support_public_req' into 'master'
...
esp_hw_support: remove public dependency on bootloader_support
See merge request espressif/esp-idf!17792
2022-04-27 17:04:07 +08:00
jiangguangming
63ac5e4a99
mmu: add ll func used to invalidate the mmu entry
2022-04-27 11:35:07 +08:00
Simon
e4d85807ea
Merge branch 'feature/spi_flash_esp8684_support' into 'master'
...
spi_flash: refactor spi_flash clock configuration logic and support esp32c2
Closes IDF-4474, IDF-4025, and IDF-4066
See merge request espressif/esp-idf!16602
2022-04-27 11:05:45 +08:00
Fu Hanxi
609d5a4e77
Merge branch 'ci/force_based_on_commit' into 'master'
...
ci: support one pipeline must based on commmits
Closes IDFCI-1175
See merge request espressif/esp-idf!17817
2022-04-27 10:59:23 +08:00
Ivan Grokhotkov
3175e472ba
Merge branch 'bugfix/freertos_esp_timer_deps' into 'master'
...
esp_timer: remove from freertos public requirements
See merge request espressif/esp-idf!17818
2022-04-27 04:13:25 +08:00
Rodrigo Garcia
d7201b82f2
provisioning: replace <lwip/inet.h> by <lwip/ip4_addr.h> in wifi_provisioning/wifi_config.h
2022-04-26 17:42:29 +08:00
Cao Sen Miao
4418a855ba
spi_flash: refactor the spi_flash clock configuration, and add support for esp32c2
2022-04-26 15:22:37 +08:00
Ivan Grokhotkov
708e99497b
global: add dependency on esp_timer component and include esp_timer.h
...
Some components were including esp_timer.h without declaring a
dependency on esp_timer component. This used to work due to a
transitive public dependency on esp_timer from freertos component.
Add explicit dependencies where needed.
Also some source files were using esp_timer functions without
including the header file. This used to work because esp_timer.h was
included from freertos port header file. This commit adds esp_timer.h
includes where needed.
2022-04-25 18:39:23 +02:00
morris
1f0e27ca63
Merge branch 'bugfix/ignore_pytest_log_artifacts' into 'master'
...
test: ignore pytest dut log artifacts
See merge request espressif/esp-idf!17889
2022-04-25 20:52:54 +08:00
Roland Dobai
6c614a40be
Merge branch 'bugfix/error_after_switching_IDFs' into 'master'
...
tools: bugfix - broken export script while working with esp-idf file
See merge request espressif/esp-idf!17528
2022-04-25 20:20:05 +08:00
morris
080953ce02
Merge branch 'contrib/github_pr_8812' into 'master'
...
usb_serial_jtag: make CONFIG_DEFAULT initializer match order of structure definition (GitHub PR)
Closes IDFGH-7218
See merge request espressif/esp-idf!17886
2022-04-25 18:54:55 +08:00
morris
517c0b54d8
Merge branch 'contrib/github_pr_8827' into 'master'
...
led_strip component : fix timing by adding the reset signal (GitHub PR)
Closes IDFGH-7233
See merge request espressif/esp-idf!17891
2022-04-25 18:33:31 +08:00
david zuhn
52e34fb7fd
usb_serial_jtag: make CONFIG_DEFAULT initializer match order of structure definition
2022-04-25 17:52:00 +08:00
morris
4573448a74
test: ignore pytest dut log artifacts
2022-04-25 17:16:50 +08:00
morris
a385df8ea3
test: remove makefiles in unit-test-app
2022-04-25 17:12:34 +08:00
Roland Dobai
5f017e5390
Merge branch 'feature/esptool_package' into 'master'
...
esptool: Include esptool as a Python package instead of using it as a submodule
Closes IDF-4785
See merge request espressif/esp-idf!17639
2022-04-25 16:17:56 +08:00
Alexey Lapshin
b5bafae596
tools: add GDB v11.1 as a tool
...
GDB now is standalone tool separated from toolchain due to frequent updates.
Added installation tests for the new tool.
Tests are changed because they were wrong, see explanation:
esp32 objdump:
40084290 <esp_crosscore_int_send_yield>:
......
/builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145
4008429c: 000090 retw
With previous GDB backtrace was:
#0 0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:144
This commit fixes the backtrace with the right line number:
#0 0x4008429c in esp_crosscore_int_send_yield (core_id=0) at /builds/espressif/esp-idf/components/esp_system/crosscore_int.c:145
Other tests changes have the same cause of fixing.
Closes https://github.com/espressif/esp-idf/issues/6334
2022-04-25 11:21:48 +07:00
Jiang Jiang Jian
68d4c47b7e
Merge branch 'update/wifi_api_Docs' into 'master'
...
DOC:update wifi api docs
Closes WIFI-4380, WIFI-3856, IDFGH-6362, and IDFGH-6778
See merge request espressif/esp-idf!16194
2022-04-25 10:48:31 +08:00
Marek Fiala
0bf264a948
tools: bugfix - broken export script while working with esp-idf file
...
+ bugfix IDF_PATH detection in sh and dash shells.
+ created Classes that represents idf-env.json file
2022-04-24 22:29:18 +02:00
Michael (XIAO Xufeng)
cbbb308173
Merge branch 'bugfix/esp_flash_forbid_invalid_init' into 'master'
...
spi_flash: forbid writing to main flash when using invalid init arguments
Closes IDFGH-6936
See merge request espressif/esp-idf!17761
2022-04-24 22:53:57 +08:00
xueyunfei
26fa8260b1
Doc:update wifi api docs
...
* Add documents related to espnow config rate
* Optimization set dns server api description
2022-04-24 21:20:54 +08:00
Marius Vikhammer
45c1d1cba2
Merge branch 'feature/move_target_kconfig_2' into 'master'
...
system: move kconfig options out of target component
See merge request espressif/esp-idf!17321
2022-04-24 13:29:43 +08:00
radim.karnis
2bb7dc4471
esptool: Include as a package, delete submodule
2022-04-22 21:31:17 +02:00
Darian Leung
09dc46552b
twai: Fix twai_ll_parse_frame_buffer() typo
...
Closes https://github.com/espressif/esp-idf/issues/8743
2022-04-22 15:25:39 +08:00
Marius Vikhammer
d2872095f9
soc: moved kconfig options out of the target component.
...
Moved the following kconfig options out of the target component:
* CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
* ESP*_REV_MIN -> esp_hw_support
* ESP*_TIME_SYSCALL -> newlib
* ESP*_RTC_* -> esp_hw_support
Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
Fu Hanxi
8dfc286d5f
ci: support one pipeline must based on commmits
2022-04-21 11:55:39 +08:00
Roland Dobai
c3bac72cbb
Merge branch 'feature/update_openocd_version' into 'master'
...
OpenOCD version update to v0.11.0-esp32-20220411
See merge request espressif/esp-idf!17770
2022-04-20 23:28:45 +08:00
Euripedes Rocha
f2c77bb70f
tcp_transport: Fix documentation for connect functions
...
Documentation was incorrectly point that we return the socket number.
The function returns an integer related to the status of the connection.
Closes https://github.com/espressif/esp-idf/issues/8416
2022-04-19 14:18:05 +00:00
Ivan Grokhotkov
fe904085fb
Merge branch 'feature/modbus_remove_component' into 'master'
...
freemodbus: remove component files from esp-idf
See merge request espressif/esp-idf!17272
2022-04-19 21:04:30 +08:00
Ivan Grokhotkov
93edb8fd52
Merge branch 'bugfix/errno_overlap' into 'master'
...
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value
See merge request espressif/esp-idf!17804
2022-04-19 18:39:20 +08:00
morris
373d9b3dbc
Merge branch 'feature/default_clk_for_gptimer' into 'master'
...
clk_tree: added default clock source for peripherals (GPTimer, RMT, LCD, TempSensor)
Closes IDF-4894
See merge request espressif/esp-idf!17759
2022-04-19 18:02:40 +08:00
aleks
9fdf39651b
freemodbus: remove component files from esp-idf (fix examples)
2022-04-19 07:23:17 +00:00
Nachiket Kukade
bd40793771
Merge branch 'bugfix/dpp_pkey_api_fix' into 'master'
...
Move adding prefix/postfix of DPP key to example
Closes IDFGH-7116
See merge request espressif/esp-idf!17383
2022-04-19 15:04:13 +08:00
Ivan Grokhotkov
71bab1078f
newlib: fix ESHUTDOWN and ENOTSOCK having the same numerical value
2022-04-18 12:10:30 +02:00
Omar Chebib
f772d78317
hal: Remove dependency on log component
...
hal component (G0) doesn't depend on log component (G1) anymore in G0-only applications.
2022-04-18 10:35:01 +08:00
Ivan Grokhotkov
85cb079838
esp_hw_support: remove public dependency on bootloader_support
...
In c4bcf111
, soc_memory_types.h header was moved from soc to
esp_hw_support. Since some of the functions are also used in
bootloader and because esp_hw_support is not part of the bootloader
build, part of the functions were moved into bootloader_support.
To make these functions available to the app, bootloader_support was
added as a public dependency of esp_hw_support.
Since esp_hw_support is in common requirements list, this has added
bootloader_support as a public requirement to every component in the
build. Adding new public requirements outside of common components
is undesirable, since components may accidentally include headers
from bootloader_support without explicitly declaring it as a
requirement.
This commit reverts this addition. Until a better solution is found,
some part of esp_memory_utils.h is duplicated into
bootloader_memory_utils.h. A CI check is added to make sure these
files stay in sync.
2022-04-16 10:50:12 +02:00
Anton Maklakov
3f3d6c84d7
tools: print system platform
2022-04-15 13:37:27 +02:00
Erhan Kurubas
b36e9a5ebf
tools: add distro links for macos-arm64
2022-04-15 13:37:27 +02:00
Erhan Kurubas
e87aabcfa3
tools: OpenOCD version updated to v0.11.0-esp32-20220411
2022-04-15 13:37:27 +02:00
Michael (XIAO Xufeng)
7c668770ee
Merge branch 'feature/support_esp8684_esp32h2_ledc' into 'master'
...
ledc: Provide support for esp32c2 and esp32h2
Closes IDF-4347, IDF-3900, IDF-4157, and IDF-4648
See merge request espressif/esp-idf!17071
2022-04-15 00:42:36 +08:00
Roland Dobai
d34e1e1fde
Merge branch 'bugfix/idf_tools_constr_path' into 'master'
...
Tools: IDF_TOOLS_PATH environment variable should change the constraint file path
See merge request espressif/esp-idf!17778
2022-04-14 23:30:30 +08:00
Roland Dobai
3f385b46cc
Revert "Install always latest version of git"
...
This reverts commit 6d2abc2332
.
2022-04-14 15:26:40 +02:00
Nachiket Kukade
282d3c6188
wpa_supplicant/dpp: Move adding prefix/postfix of DPP key to example
...
1. Move adding of prefix/postfix to the private key to example code.
This is to preserve forward compatibility when more curves are supported.
2. Documentation correction of bootstrapping key configuration.
2022-04-14 16:54:47 +05:30
Roland Dobai
4520fee875
Tools: IDF_TOOLS_PATH environment variable should change the constraint file path
2022-04-14 11:08:20 +02:00
songruojing
534346f4bb
ledc: Provide support for esp32c2 and esp32h2
...
LEDC examples, unit test, and programming guide are all updated.
2022-04-14 08:15:14 +00:00
morris
f32a89826c
clk_tree: added default clock source for peripheral
2022-04-14 15:44:56 +08:00
morris
cc71e645be
Merge branch 'feature/ksz8863rll_support' into 'master'
...
ESP IDF infrastructure preparation for ksz8863rll support
See merge request espressif/esp-idf!17203
2022-04-14 10:51:27 +08:00
Michael (XIAO Xufeng)
46b5363e39
spi_flash: forbid writing to main flash when using invalid init arguments
...
Also refactored the init code to make the logic of device (CS) acquiring
more centralized.
Resolves: https://github.com/espressif/esp-idf/issues/8556
2022-04-13 18:02:34 +08:00
Martin Vychodil
3b3bfc1971
Merge branch 'vfs_fat/improve_mount_function_names' into 'master'
...
vfs: renamed FATFS convenience mounting functions
Closes IDF-4370
See merge request espressif/esp-idf!17369
2022-04-13 17:52:10 +08:00
morris
cb5507f11c
Merge branch 'feature/clk_tree_defs' into 'master'
...
clk_tree: prework of introducing clock subsystem control
Closes IDF-4892
See merge request espressif/esp-idf!17631
2022-04-13 10:36:56 +08:00
Ivan Grokhotkov
69d1424c15
console: argtable3: add SPDX copyright headers
2022-04-11 19:42:52 +02:00
Ivan Grokhotkov
7c65370d84
spiffs: add esp_spiffs_gc function to force garbage collection
...
Closes https://github.com/espressif/esp-idf/issues/8626
2022-04-11 11:19:10 +02:00
Matus Fabo
24268d47a2
change: renamed FATFS convenience mounting functions
...
change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
2022-04-11 08:44:40 +00:00
songruo
60bb5c913d
clk_tree: prework of introducing clk subsystem control
...
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
Ondrej Kosta
4051b80b4d
esp_netif: remove dependency of L2 TAP Interface from netif_lwip
...
esp_eth: extended infrastructure to optionally provide more advanced access to MAC/PHY layers
2022-04-08 16:40:29 +02:00
Armando
a8a47a61f5
spi_flash: move buffer check from hal layer to driver layer
...
Prior to this change, `spi_flash_hal_supports_direct_write` and
`spi_flash_hal_supports_direct_read` will check the buffer pointer
place, which should be done in driver layer, instead of HAL layer.
2022-04-08 11:46:10 +08:00
Armando
c4bcf1117c
esp_hw_support: move soc_memory_types.h helper functions into esp_hw_support
2022-04-08 11:46:10 +08:00
Mahavir Jain
37ad7c2e1f
test_apps: add build only test for !MBEDTLS_CERTIFICATE_BUNDLE
2022-04-06 05:10:43 +00:00
Ivan Grokhotkov
273633ee31
build system: add WHOLE_ARCHIVE component property
...
This component property allows including all component object files
into the executable. It is equivalent to wrapping the component
library with -Wl,--whole-archive and -Wl,--no-whole-archive flags.
Closes https://github.com/espressif/esp-idf/issues/8667
2022-04-05 18:50:20 +02:00
Roland Dobai
86e5ff1e64
Merge branch 'fix/idf_tools_print_url_earlier' into 'master'
...
Tools: idf_tools.py prints URL before starting the download
Closes IDFGH-7008
See merge request espressif/esp-idf!17647
2022-04-04 20:46:10 +08:00
Martin Gaňo
74048f079b
Fix coredump attribute error in idf_monitor.py
...
Closes https://github.com/espressif/esp-idf/issues/8651
2022-04-04 12:31:23 +02:00
Darian Leung
8c88c6f68f
freertos: Update task snapshot unit tests
...
This commit updates the task snapshot unit tests as follows:
- Both uxTaskGetSnapshotAll() and vTaskGetSnapshot() are now both tested
- Test cases are now dependent on CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT
2022-04-01 22:01:16 +08:00
Song Ruo Jing
e13bb580c7
Merge branch 'refactor/gpio_unit_test' into 'master'
...
gpio: Clean up unit tests and enable ci ut on some previously disabled test cases
Closes IDF-4620
See merge request espressif/esp-idf!17417
2022-04-01 18:38:19 +08:00
morris
1459a09978
Merge branch 'bugfix/cxx_gcc11_warnings' into 'master'
...
C++: fix several gcc11 warnings
Closes GCC-229
See merge request espressif/esp-idf!17658
2022-04-01 15:12:55 +08:00
Roland Dobai
968fa03cb7
Merge branch 'feature/docker_image_latest_git_master' into 'master'
...
Install always latest version of git
See merge request espressif/esp-idf!17652
2022-03-31 21:02:46 +08:00
Anton Maklakov
9386014201
examples/cxx: add missing header
2022-03-31 15:02:34 +07:00
Anton Maklakov
40d189137e
examples/cxx: add explicit-declared copy constructor
2022-03-31 15:02:27 +07:00
Tomas Sebestik
6d2abc2332
Install always latest version of git
2022-03-30 14:41:41 +02:00
Roland Dobai
c3c2b03ed4
Tools: idf_tools.py prints URL before starting the download
...
This helps users with poor Internet connection to be able to cancel the
download and download it in another way.
Closes https://github.com/espressif/esp-idf/issues/8625
2022-03-30 11:13:16 +02:00
songruojing
8d84033b8c
gpio: Clean up unit tests and enable ci ut on some previously disabled test cases
...
Eliminate UT_T1_GPIO runner requirement by routing internally through gpio matrix and by setting gpio pins to GPIO_MODE_INPUT_OUTPUT mode for all interrupt related test cases.
2022-03-30 15:11:08 +08:00
songruojing
edcf44679d
ci: add TEST_CASE_CI_IGNORE macro to allow pytest test cases to be ignored in ci
2022-03-30 15:11:08 +08:00
songruojing
bdb5b11b39
unit test: move unit-test_app test_utils_task_delete API to be a utils API (unity_utils_task_delete) in unity component
2022-03-30 15:11:08 +08:00
wuzhenghui
4652f77a7c
esp32h2beta2:update rom layout table
2022-03-29 14:13:06 +08:00
Roland Dobai
b30846ff9e
Merge branch 'feature/add_h2_target_to_tools' into 'master'
...
tools: add RISC-V toolchain for esp32h2 and esp32c2 targets
See merge request espressif/esp-idf!17596
2022-03-28 18:35:46 +08:00
Roland Dobai
5cebbbe74d
Merge branch 'feature/idfpy_depecated_commands' into 'master'
...
tools: Remove deprecated idf.py commands
Closes IDF-3869
See merge request espressif/esp-idf!17525
2022-03-28 18:27:48 +08:00
Michael (XIAO Xufeng)
e3c0229d2e
Merge branch 'ci/renable_s3_tests' into 'master'
...
ci: renable s3 tests
See merge request espressif/esp-idf!17574
2022-03-28 15:53:49 +08:00
Jakob Hasse
2c3ff999ac
Merge branch 'feature/cxx_tests_pytest_embedded' into 'master'
...
C++: change cxx unit tests to component unit tests
Closes IDF-4807
See merge request espressif/esp-idf!17554
2022-03-28 11:45:20 +08:00
Alexey Lapshin
a2f6595c5f
tools: add freertos support to GDB
...
GDB with python support will automatically load freertos-gdb python module.
It comes to GDB with commands starting with 'freertos' to show human-readable
tables with freertos task/queue/timer information
Python module URL: https://pypi.org/project/freertos-gdb
2022-03-25 15:25:36 +04:00
Ivan Grokhotkov
c70a69b1dd
Merge branch 'bugfix/remove_ref_non_ex_options' into 'master'
...
config: removed references to non-existing kconfig options
See merge request espressif/esp-idf!17495
2022-03-25 18:02:54 +08:00
Anton Maklakov
a5d3f2e26d
tools: add RISC-V toolchain for esp32h2 and esp32c2 targets
2022-03-25 16:28:36 +07:00
Marius Vikhammer
5618ba80f9
Merge branch 'feature/refactor_esp_sys_deps' into 'master'
...
esp-system: removed esp_phy and nvs dependencies, change app update and pm to weak dependencies
Closes IDF-4656
See merge request espressif/esp-idf!17092
2022-03-25 17:17:43 +08:00
Marek Fiala
b5c374ae3e
tools: Deprecated commands removed from idf.py
...
Remove deprecated commands from idf.py, but they are still kept working as cmake deprecated targets.
2022-03-25 09:08:53 +01:00
Fu Hanxi
4a59bf9594
Revert "ci: temporarily disable s3 assign test"
...
This reverts commit 8a31c52825
.
2022-03-25 12:39:57 +08:00
Jakob Hasse
9e25e0ed4b
refactor (cxx): changed cxx unit tests to component unit tests
2022-03-25 12:14:02 +08:00
morris
4cd839ec8e
Merge branch 'bugfix/ldgen_path_error' into 'master'
...
ldgen: fixed error reporting of duplicate and missing entries.
See merge request espressif/esp-idf!17568
2022-03-24 21:22:22 +08:00
Aleksei Apaseev
528cdc1546
core_dump: split corefile and coredump script from idf into a separate package
2022-03-24 13:57:48 +08:00
Marius Vikhammer
e32fc9eb36
ldgen: fixed error reporting of duplicate and missing entries.
...
Fragment was missing path variable which is used for error reporting.
2022-03-24 13:04:02 +08:00
David Cermak
c63c8d4df1
esp_eth: Fix open-cores explicit inclusion
2022-03-23 09:05:30 +01:00
Anton Maklakov
118d39c8fe
Merge branch 'bugfix/remove-IRAM_ATTR-from-decls' into 'master'
...
Remove IRAM_ATTR from any function declarations
Closes GCC-223
See merge request espressif/esp-idf!17440
2022-03-23 11:49:22 +08:00
morris
95b3dad771
Merge branch 'bugfix/fix_heap_caps_add_region_with_caps_wrong_check' into 'master'
...
heap: fix wrong memory region check in `heap_caps_add_region_with_caps()`
See merge request espressif/esp-idf!17535
2022-03-23 10:26:52 +08:00
Ivan Grokhotkov
8506b2f6c9
Merge branch 'bugfix/driver_hal_essl_static_analysis_fixes' into 'master'
...
driver, essl, hal: fix issues reported by PVS-Studio
Closes IDF-2749, IDF-2753, and IDF-2785
See merge request espressif/esp-idf!17490
2022-03-22 21:47:15 +08:00
Armando
32408b718f
heap: fix wrong memory region check
...
A memory region starts from REGION_START and ends at
(REGION_START+SIZE-1).
Prior to this change, the check assumes a to-be-added region starting from REGION_START is invalid. Let's take an easy example:
A memory region: 0x1000~0x10ff
new added region: 0x1000~0x1020
This will be valid.
Valid conditions and invalid conditions are illustrated in the code comment
2022-03-22 18:51:40 +08:00
Anton Maklakov
68e5d9d585
Remove IRAM_ATTR from any function declarations
...
IRAM_ATTR expands to a unique section attribute. Applying it to both
declaration and definition results in a section conflict.
2022-03-22 09:58:50 +00:00
Ondrej Kosta
97ddccafd3
Added bandwidth limitaion option to iperf test scripts
2022-03-22 07:17:40 +00:00
Marius Vikhammer
9274a062fb
esp-system: removed esp_phy and nvs dependencies, change app update and pm to weak dependencies
2022-03-22 11:19:32 +08:00
Tomas Rezucha
3abeee00d0
usb_host: Pin test task to core 0
...
When we try to uninstall usb_host library on multi-core SoC (ESP32S3)
the USB interrupt can be triggered even after it was disabled on one CPU
2022-03-21 18:34:25 +01:00
Tomas Rezucha
6206302787
ci: Add USB Host CDC and MSC pytests to pipeline
2022-03-21 18:34:24 +01:00
Ivan Grokhotkov
fb51a30878
Merge branch 'ci/disable_s3_target_tests' into 'master'
...
ci: temporarily disable S3 target tests
See merge request espressif/esp-idf!17531
2022-03-22 01:01:27 +08:00
Laukik Hase
52170fba7f
esp_crt_bundle: Fix build error
...
- When `esp_crt_bundle.h` is included before any config,
a build error (`esp_err_t` not defined) is observed
Closes https://github.com/espressif/esp-idf/issues/8606
2022-03-21 09:05:06 +00:00
Fu Hanxi
8a31c52825
ci: temporarily disable s3 assign test
2022-03-21 14:50:33 +08:00
Armando (Dou Yiwen)
36457b1346
Merge branch 'refactor/adc_unify_adc_unit' into 'master'
...
adc: adc single driver NG pre-step - unify adc_ll_num_t and adc_unit_t
See merge request espressif/esp-idf!17408
2022-03-18 20:29:36 +08:00
Armando
386363cafd
adc: unify adc_ll_num_t and adc_unit_t
2022-03-18 11:36:50 +08:00
Ivan Grokhotkov
2f9d47c708
Merge branch 'feature/gdbstub_rt_multicore' into 'master'
...
Extension for GDBstub runtime component (multicore, breakpoints, steps etc...)
See merge request espressif/esp-idf!13896
2022-03-17 19:59:29 +08:00
Marius Vikhammer
0fbae992dd
config: removed references to non-existing kconfig options
2022-03-15 18:32:22 +08:00
Marek Fiala
029de43db3
tools: bugfix export.sh change IDF_PATH only if file is esp-idf
...
Set the self_path where the export.sh script is located, not the sourcing directory.
2022-03-15 11:24:09 +01:00
Ivan Grokhotkov
12717cbc00
hal: fix issues reported by PVS-Studio
...
https://www.viva64.com/en/b/0790/#ID369075A8F4
https://www.viva64.com/en/b/0790/#IDF03E449184
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:46:48 +01:00
Ivan Grokhotkov
6a4a6d584b
essl: fix logical bug in argument check
...
https://pvs-studio.com/en/blog/posts/cpp/0790/#IDBDD4F1FD2D
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:46:48 +01:00
morris
98e19b3355
Merge branch 'contrib/github_pr_8496' into 'master'
...
SPI LCD support large color transfers (GitHub PR)
Closes IDFGH-6874
See merge request espressif/esp-idf!17391
2022-03-14 22:22:00 +08:00
David Čermák
db8fb1f47b
Merge branch 'bugfix/lwip_dhcps_cleanup' into 'master'
...
lw-IP: Support for multiple DHCP servers
Closes IDF-4599 and IDF-4458
See merge request espressif/esp-idf!16895
2022-03-14 19:30:31 +08:00
Roland Dobai
b66589af04
Merge branch 'feature/switching_IDF_repos' into 'master'
...
tools: Switching between ESP-IDF versions
Closes IDF-1854
See merge request espressif/esp-idf!15840
2022-03-14 15:58:55 +08:00
Anton Maklakov
18f62f067d
Merge branch 'contrib/github_pr_8520' into 'master'
...
esp_http_server: reword error messages (GitHub PR)
Closes IDFGH-6900
See merge request espressif/esp-idf!17398
2022-03-14 13:31:19 +08:00
morris
5963de1caf
Merge branch 'ci/fix_duplicated_test_names' into 'master'
...
CI: rename some tests to avoid duplicated test names
See merge request espressif/esp-idf!17463
2022-03-14 11:52:02 +08:00
David Cermak
c005b04d1c
lwip/dhcps: Support for dynamic dhcp server instances
2022-03-13 19:39:21 +01:00
David Cermak
bab051f450
lwip/dhcps: Cleanup internal lwip and esp-netif dependency
2022-03-13 19:38:15 +01:00
Michael (XIAO Xufeng)
aab535fe4a
Merge branch 'bugfix/regi2c_ctrl_spinlock_s2' into 'master'
...
hw_support: fixed regi2c not protected by lock on ESP32S2
See merge request espressif/esp-idf!16653
2022-03-13 02:47:53 +08:00
Michael (XIAO Xufeng)
d5bdf95580
hw_support: fixed regi2c not protected by lock on ESP32S2
2022-03-13 00:24:08 +08:00
Armando (Dou Yiwen)
6ed3ffbbf1
Merge branch 'refactor/remove_redundant_rom_cache_dependency' into 'master'
...
cache: remove redundant rom cache dependency in bootloader
Closes IDF-4523
See merge request espressif/esp-idf!17077
2022-03-12 10:11:39 +08:00
Armando
c1cbd7bbf6
cache/mmu: implememnt cache and mmu hal APIs in bootloader
2022-03-11 22:43:11 +08:00
Roland Dobai
0f57ef942a
Merge branch 'bugfix/idfpy_erase_otadata' into 'master'
...
tools: set baudrate and port with otatool.
Closes IDFGH-6687
See merge request espressif/esp-idf!17386
2022-03-11 20:58:53 +08:00
Marek Fiala
df16a45d7a
tools: Switching between ESP-IDF versions
...
Support switching between ESP-IDF versions on UNIX systems.
2022-03-11 12:57:25 +01:00
Marek Fiala
3f6add5964
tools: set baudrate and port with otatool.
...
Bugfix: Allow setting options port -p and baudrate -b, with idf.py otatool commands.
Closes https://github.com/espressif/esp-idf/issues/8317
2022-03-11 12:27:58 +01:00
Chen Yudong
4dc74c9c42
CI: rename some tests to avoid duplicated test names
2022-03-11 18:38:41 +08:00
Roland Dobai
e4b1ffd676
Tools: Use default value in the Python detections scripts
...
Closes https://github.com/espressif/esp-idf/issues/8549
2022-03-11 11:00:31 +01:00
Anton Maklakov
3820136ea2
Merge branch 'bugfix/add-hint-monitor-exit' into 'master'
...
Add hint for exiting the idf.monitor.py
Closes IDFGH-6888
See merge request espressif/esp-idf!17453
2022-03-11 16:06:34 +08:00
Mahavir Jain
3b0cb10b9d
protocomm: fix copyright header
2022-03-11 09:17:20 +05:30
David Čermák
4196c3f591
Merge branch 'update/discontinue_tcpip_adapter' into 'master'
...
esp_netif: Remove tcpip_adapter compatibility layer
Closes IDF-4457
See merge request espressif/esp-idf!17066
2022-03-11 03:48:28 +08:00
Mahavir Jain
a8ba5a0264
Merge branch 'ci/all_alloc_psram_config' into 'master'
...
[ci] Add unit test configs with aggressive PSRAM allocations
See merge request espressif/esp-idf!14996
2022-03-11 00:30:56 +08:00
Konstantin Kondrashov
00ab35ade0
Merge branch 'feature/bootloader_add_app_test_lvl' into 'master'
...
bootloader: Adds a level selection for the app's test pin.
Closes IDFGH-6703
See merge request espressif/esp-idf!17425
2022-03-10 22:48:15 +08:00
Martin Gaňo
f3b7f9c431
Add hint for exiting the idf.monitor.py
...
Closes https://github.com/espressif/esp-idf/issues/8508
2022-03-10 15:20:23 +01:00
Chen Yu Dong
fa3c31ffd5
Merge branch 'ci/update_pytest_cases' into 'master'
...
CI: update pytest cases
See merge request espressif/esp-idf!17226
2022-03-10 21:42:14 +08:00
Fu Hanxi
97846e883b
Merge branch 'ci/refactor_test_apps_fuhanxi' into 'master'
...
ci: enable test_apps s3 c3 tests
Closes IDFCI-1124
See merge request espressif/esp-idf!17397
2022-03-10 17:40:32 +08:00
David Cermak
c941e29cf6
examples: Fix implicit includes after legacy code removal
2022-03-10 10:36:38 +01:00
David Cermak
795b7ed993
esp_netif: Remove tcpip_adapter compatibility layer
2022-03-10 08:19:43 +01:00
David Čermák
0b58f987cd
Merge branch 'feature/mdns_dynamic_interfaces' into 'master'
...
mdns: Add support for dynamic network interfaces
Closes IDF-939
See merge request espressif/esp-idf!14875
2022-03-10 15:11:35 +08:00
morris
2c7cfdd784
spi: define tranfer max bit length in LL
2022-03-10 13:40:43 +08:00
Laukik Hase
7c6d343a60
ci: Add unit test configs for aggressive SPIRAM allocations
...
- CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0
Everything will be allocated from the SPIRAM
(except DMA and FreeRTOS task resources)
- CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
Allow external memory as an argument to xTaskCreateStatic
- CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=default
Reserved memory for crucial internal functions (DMA, FreeRTOS)
- Increase parallel job count
2022-03-10 05:01:17 +00:00
Fu Hanxi
851d832eb6
ci: enable test_apps s3 c3 tests
...
Refactor the tags a bit to make the tags could reuse the env markers.
They suppose to be the same thing.
2022-03-10 11:56:15 +08:00
Fu Hanxi
1c3628d631
ci: refactor a few test scripts to pytest
2022-03-10 11:51:45 +08:00
Jiang Jiang Jian
7c7e8a83b9
Merge branch 'refactor/wifi_remove_legacy_evts' into 'master'
...
Remove legacy system event framework.
Closes IDF-3608
See merge request espressif/esp-idf!16240
2022-03-10 10:30:10 +08:00
Simon
fb4ee8e31f
Merge branch 'feature/support_hpm_on_flash' into 'master'
...
spi_flash: Building a framework to enable HPM when flash works under high speed mode, take GD as an example.
Closes IDF-4537
See merge request espressif/esp-idf!16660
2022-03-10 03:04:21 +08:00
KonstantinKondrashov
21dd929c72
bootloader: Adds a level selection for the app's test pin.
...
Closes https://github.com/espressif/esp-idf/issues/8332
2022-03-09 19:52:37 +08:00
morris
b841332aa5
Merge branch 'component/esp_websocket_migration' into 'master'
...
websocket: Remove internal component, examples and test
Closes IDF-4076
See merge request espressif/esp-idf!17273
2022-03-09 19:12:55 +08:00
Cao Sen Miao
85dd785d8d
spi_flash: Building a framework to enable HPM when flash works under high speed mode
2022-03-09 18:49:34 +08:00
Sagar Bijwe
6501eff7f5
Remove legacy system event framework.
2022-03-09 15:53:45 +05:30
morris
da28f7e2d9
Merge branch 'feature/rmt_hal_dma' into 'master'
...
rmt: document and improve LL driver
See merge request espressif/esp-idf!17297
2022-03-09 17:55:08 +08:00
Shubham Kulkarni
a4afeed209
esp_http_server: Minor updates in error messages
...
idf_http_server_test/client.py: Update test script with new error message
2022-03-09 14:43:10 +05:30
Chen Yudong
5c211efaa8
CI: update test cases from test results
2022-03-09 14:08:38 +08:00
Vamshi Gajjela
bee6053fc0
Merge branch 'feature/ftruncate_vfs_fatfs_support' into 'master'
...
fatfs: Implement ftruncate function in VFS and FAT VFS
Closes IDFGH-6641
See merge request espressif/esp-idf!17389
2022-03-09 13:20:54 +08:00
Marius Vikhammer
934a3951b8
Merge branch 'feature/s2_s3_support_ext_mem_stack' into 'master'
...
soc: support placing task stacks in external memory for S2 and S3
Closes IDF-2797 and IDF-1805
See merge request espressif/esp-idf!16186
2022-03-09 11:57:31 +08:00
morris
4dfbc9ee7b
rmt: remove deprecated functions
2022-03-09 10:58:14 +08:00
morris
9f55712c03
rmt: document and improve LL driver
2022-03-09 10:58:12 +08:00
David Cermak
f8495f1e86
mdns: Indicate interface using esp_netif in search results
2022-03-08 13:44:14 +01:00
Vamshi Gajjela
ea9f7cc370
fatfs: Add ftruncate api support for VFS and FAT-VFS
...
Unit test cases added to verify ftruncate within fatfs tests.
Closes https://github.com/espressif/esp-idf/issues/8279
2022-03-08 16:58:25 +05:30
Darian Leung
163ddc3818
freertos: Update components CMakeLists.txt and Add SMP Kconfig option
...
This commit does the following:
- Add a Kconfig option to select between the IDF FreeRTOS kernel and the
FreeRTOS SMP kernel.
- Updates the freertos component's CMakeLists.txt so that FreeRTOS SMP
files are now built based the the new configuration option.
This commit WILL NOT compile. The port files for FreeRTOS SMP still need to
be updated.
2022-03-08 14:59:18 +08:00
Darian Leung
2d1afaf35b
freertos: Add FreeRTOS SMP upstream files
...
This commit copies over the sources files from
https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/smp based on the
commit 4832377117b4198db43009f2b548497d9cdbf8da
The FreeRTOS SMP sources are added to components/freertos/FreeRTOS-Kernel-SMP
Notes:
- This commit WILL NOT compile correctly. It simply copies over sources files
- copyright_ignore.txt entries added so that we can avoid using SPDX headers
- Portable files are not added yet
2022-03-08 14:58:57 +08:00
Zim Kalinowski
0440aca4e3
Merge branch 'feature/reevaluate_headers_include_dirs' into 'master'
...
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
See merge request espressif/esp-idf!16763
2022-03-08 01:32:24 +08:00
Vamshi Gajjela
a9454c9776
Merge branch 'feature/sdmmc_erase_cmd_support' into 'master'
...
[sdmmc] Add erase command support
Closes IDFGH-5947 and IDFGH-5935
See merge request espressif/esp-idf!17054
2022-03-07 21:52:23 +08:00
Ivan Grokhotkov
5bc1cd7d26
Merge branch 'feature/flash_emu_linux_component' into 'master'
...
[spi_flash] LINUX target emulation of Partition API
See merge request espressif/esp-idf!13929
2022-03-07 20:36:38 +08:00
Simon
4bf4a020a6
Merge branch 'refactor/abstract_temperature_sensor' into 'master'
...
temperature_sensor: Refactor temperature sensor to new APIs (follow rule of driverNG) and support esp32s3
Closes IDF-3665, IDF-3367, and IDF-1793
See merge request espressif/esp-idf!16787
2022-03-07 20:17:39 +08:00
Fu Hanxi
6ddd6e6d29
Merge branch 'docs/pytest_in_idf' into 'master'
...
docs: add README about pytest in IDF
See merge request espressif/esp-idf!17250
2022-03-07 15:34:28 +08:00
gabsuren
f3c7215565
websocket: Remove internal component, examples and test
2022-03-07 11:07:40 +04:00
Sudeep Mohanty
a9fda54d39
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Konstantin Kondrashov
e17b0df8ec
Merge branch 'feature/adds_efuses_to_table' into 'master'
...
efuse: Adds ERR_RST_ENABLE efuse for C3 and S3
See merge request espressif/esp-idf!17294
2022-03-07 13:05:55 +08:00
Armando (Dou Yiwen)
748037708f
Merge branch 'bugfix/fix_adc_digital_not_reset_issue' into 'master'
...
adc: fix adc digital part not reset issue
Closes IDF-4680
See merge request espressif/esp-idf!17279
2022-03-06 13:49:18 +08:00
Vamshi Gajjela
ffdbeee9f6
sdmmc: Add erase command-38. Support erase/trim/discard/sanitize
...
options.
Erase command (38) for SD cards allows option for erase/dicard/fule
operation at block level and for MMC cards supports option for
discard/trim at block level. When Sanitize is executed only the
portion of data that was unmapped by a Discard command shall be
removed by the Sanitize command.
Unit test cases added to verify ERASE feature in SD/SDSPI mode.
TRIM/DISCARD/SANITIZE tests for eMMC devices.
Closes https://github.com/espressif/esp-idf/pull/7635
Closes https://github.com/espressif/esp-idf/issues/7623
2022-03-05 16:02:01 +05:30
Roland Dobai
34a610c2c7
Merge branch 'update/detection_script_python' into 'master'
...
Update Python detection scripts
See merge request espressif/esp-idf!17277
2022-03-05 03:15:21 +08:00
Martin Vychodil
9a5f39ec2c
spi_flash: Linux target emulation of Partition API
...
Emulator of Partition API layer for Linux OS
2022-03-04 14:36:46 +00:00
Ivan Grokhotkov
c8b43ee0c1
Merge branch 'bugfix/sdspi_example_esp32s3' into 'master'
...
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins
Closes IDF-4641
See merge request espressif/esp-idf!17067
2022-03-04 18:42:53 +08:00
morris
a0283234cd
Merge branch 'feature/support_esp32h2_gpio' into 'master'
...
esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix
Closes IDF-4232 and IDF-3439
See merge request espressif/esp-idf!16609
2022-03-04 18:22:28 +08:00
Cao Sen Miao
b248046bcb
Temperature_sensor: Create new temperature sensor API
2022-03-04 18:13:35 +08:00
Tomas Sebestik
addd647f41
Update detect_python SH
2022-03-04 09:38:24 +01:00
Marius Vikhammer
374712921a
CI: add configs for running S2, S3 unit tests with PSRAM
...
Fixed various minor failures detected with these configs.
2022-03-04 15:29:17 +08:00
Marius Vikhammer
e543e97c7b
system: fix SET_STACK macro crashing in windowoverflow8 exception
...
If a windowoverflow8 happened after changing the SP, the exception handler would look for
the extra save area by looking at the previous frame's SP. This SP would be a garbage value
and could cause the windowoverflow exception to write to invalid memory ares.
2022-03-04 15:25:52 +08:00
Armando
4ca115be98
adc: fix adc digital not reset issue
2022-03-04 03:49:33 +00:00
songruojing
c8c137f2b7
esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix.
...
Generic GPIO example is supported as well.
2022-03-04 11:25:05 +08:00
Ivan Grokhotkov
c8d1737d57
examples: file_serving: add support for ESP32-S3, refactoring
...
* Move filesystem mounting code into a separate file to simplify the
main source file.
* Clean up SDMMC and SDSPI related code. Move pin configuration into
Kconfig.
* Use same base_path ('/data') for either SPIFFS or SD. Remove the
check in file_server.c about the base path.
* Update README according to the changes above.
2022-03-03 21:43:37 +01:00
morris
0d920a47f7
unit_test: migrate to use pulse_cnt driver
2022-03-03 22:38:32 +08:00
morris
ec8defaa96
pulse_cnt: new driver for PCNT peripheral
2022-03-03 22:38:32 +08:00
Roland Dobai
6e405cc209
Merge branch 'bugfix/idf_size_assertions' into 'master'
...
tools: Fix assertion messages and fix some of them in idf_size.py
Closes IDF-4610 and IDFGH-6801
See merge request espressif/esp-idf!17305
2022-03-03 20:42:08 +08:00
Suren Gabrielyan
16010d58d1
Merge branch 'test/mdns_test_app' into 'master'
...
mdns: Stabilizing mdns test app
See merge request espressif/esp-idf!16440
2022-03-03 14:46:52 +08:00
Fu Hanxi
5ccb5eeebd
docs: add README about pytest in IDF
2022-03-03 14:36:50 +08:00
Song Ruo Jing
b665dcbe68
Merge branch 'feature/esp32c2h2_support_uart' into 'master'
...
UART: Provide support for esp32c2 and esp32h2
Closes IDF-3823, IDF-4154, and IDF-4221
See merge request espressif/esp-idf!16832
2022-03-03 11:45:10 +08:00
Mahavir Jain
035d7df1a0
Merge branch 'feature/mbedtls-3.1' into 'master'
...
Update to mbedtls-3.1
Closes IDF-3723
See merge request espressif/esp-idf!16656
2022-03-03 11:27:48 +08:00
morris
25f80255a7
Merge branch 'bugfix/confgen_depr_header_non_vis' into 'master'
...
kconfig: fixed non-visible deprecated configs missing from sdkconfig.h
See merge request espressif/esp-idf!17320
2022-03-03 10:32:46 +08:00
Marius Vikhammer
29db173536
Merge branch 'feature/move_target_kconfig' into 'master'
...
system: move kconfig options out of target component
See merge request espressif/esp-idf!16893
2022-03-03 09:39:54 +08:00
gabsuren
93a902ba80
mdns: Stabilization of mdns test app
2022-03-03 01:21:27 +04:00
Aditya Patwardhan
98194f7ee6
Update allowed licenses for asio component
2022-03-03 01:37:10 +05:30
Laukik Hase
0868513ddd
ci: Fix unit test failures
...
- protocomm: Fix leakage due to ECDH context not being
initialised and freed properly
- mbedtls (RSA): Added mandatory RNG parameter wherever required
Disabled `test performance RSA key operations` UT
- mbedtls (AES_GCM): Added mbedtls_gcm_update_ad() wherever required
for updating associated data
- unit_test_app: Fix build issue when heap tracing is enabled
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
09ad7148eb
CI: Fix copyright ignore list file
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
39dcbb2136
Ci: fix build test failure.
...
The build prints a line (Generating error.c) which is considered as error in the pipeline
2022-03-03 01:37:10 +05:30
Laukik Hase
3925365351
ci: Fix pre-check
stage failing tests
...
- Updated license headers
- Re-enabled public headers and static analysis checks
- Fix public header file check failure
Co-authored-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
60b167f2d6
mbedtls-3.1 update: Removed the MBEDTLS_PRIVATE
from multiple files
...
after they have been again made public in mbedtls-3.1
*Added `MBEDTLS_ALLOW_PRIVATE_ACCESS` in some files.
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
3b71bd7326
mbedtls-3.0: Fixed ESP32 build issues
...
- Added MBEDLTS_PRIVATE(...) wherever necessary
- For functions like mbedtls_pk_parse_key(...), it is necessary to pass the RNG function
pointers as parameter. Solved for dependent components: wpa_supplicant & openSSL
- For libcoap, the SSLv2 ClientHello handshake method has been deprecated, need to handle this.
Currently, corresponding snippet has been commented.
- Examples tested: hello-world | https_request | wifi_prov_mgr
mbedtls-3.0: Fixed ESP32-C3 & ESP32-S3 build issues
- Removed MBEDTLS_DEPRECATED_REMOVED macro from sha1 port
- DS peripheral: esp_ds_rsa_sign -> removed unsused 'mode' argument
- Added MBEDTLS_PRIVATE(...) wherever required
mbedtls-3.0: Fixed ESP32-S2 build issues
- Fixed outdated function prototypes and usage in mbedlts/port/aes/esp_aes_gcm.c due to changes in GCM module
mbedtls-3.0: Fixed ESP32-H2 build issues
ci: Fixing build stage
- Added MBEDTLS_PRIVATE(...) wherever required
- Added RNG function parameter
- Updated GCM Module changes
- Updated Copyright notices
- Tests:
- build_esp_idf_tests_cmake_esp32
- build_esp_idf_tests_cmake_esp32s2
- build_esp_idf_tests_cmake_esp32c3
- build_esp_idf_tests_cmake_esp32s3
ci: Fixing build stage (mbedtls-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing build stage (example-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing target_test stage
- Updated test SSL version to TLS_v1_2
- Tests:
- example_test_protocols 1/2
ci: Fixing build stage
- Added checks for MBEDTLS_DHM_C (disabled by default)
- Updated esp_cryptoauthlib submodule
- Updated factory partition size for legacy BLE provisioning example
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
Co-authored-by: Laukik Hase <laukik.hase@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
45122533e0
mbedtls-3 update:
...
1) Fix build issue in mbedtls
2) skip the public headers check in IDF
3)Update Kconfig Macros
4)Remove deprecated config options
5) Update the sha API according to new nomenclature
6) Update mbedtls_rsa_init usage
7) Include mbedtls/build_info.h instead of mbedtls/config.h
8) Dont include check_config.h
9) Add additional error message in esp_blufi_api.h
2022-03-03 01:37:10 +05:30
Kapil Gupta
84f9aa13c9
Merge branch 'bugfix/dpp_sdkconfig_default' into 'master'
...
esp_example: Enable MbedTLS for DPP enrollee by default
Closes WIFI-4275
See merge request espressif/esp-idf!16624
2022-03-03 00:10:25 +08:00
KonstantinKondrashov
6d11c57b2a
efuse: Adds ERR_RST_ENABLE efuse for C3 and S3
...
Closes https://github.com/espressif/esp-idf/issues/8357
2022-03-02 18:48:42 +08:00
Marius Vikhammer
8aacdb184a
kconfig: fixed non-visible deprecated configs missing from sdkconfig.h
...
Non-visible configs would previously not appear in the deprecated section of the sdkconfig.h,
but non-visable configs are used in IDF (and user code) and should therefor be present.
2022-03-02 18:01:08 +08:00
Omar Chebib
2571aaf3c9
G0: target component (components/esp32*) doesn't depend on driver anymore
2022-03-02 04:21:00 +00:00
songruojing
24a60c12c6
uart: Provide support for esp32c2 and esp32h2
...
UART examples, unit test, and programming guide are all updated.
2022-03-02 11:29:13 +08:00
Marius Vikhammer
bb88338118
system: move kconfig options out of target component
...
Moved the following kconfig options out of the target component:
* ESP32_X_BROWNOUT_* -> esp_system
* ESP32_X_DEBUG_OCDAWARE -> esp_system
* APP_NO_BLOBS -> build type (main kconfig)
2022-03-02 01:22:26 +00:00
David Čermák
8363f88cd5
Merge branch 'example/asio_socks4_client' into 'master'
...
EXAMPLES/ASIO: Adds a SOCKS4 example
See merge request espressif/esp-idf!16461
2022-03-02 04:12:09 +08:00
Michael (XIAO Xufeng)
78165c541e
Merge branch 'bugfix/bootloader_uart_custom_gpio' into 'master'
...
bootloader: fixed the issue custom_uart_gpio doesn't take effect
Closes IDF-4606
See merge request espressif/esp-idf!16910
2022-03-02 02:35:14 +08:00
Roland Dobai
f1f0bd34b9
Tools/idf_size.py: Support .noinit sections
...
Closes https://github.com/espressif/esp-idf/issues/8428
2022-03-01 18:58:20 +01:00
Roland Dobai
ad59ef3893
tools/idf_size.py: Identify objects without extension in MAP files
2022-03-01 18:11:36 +01:00
Dmitry
a8c3fe56c8
This commit add to GDBstup:
...
1. Multicore suupor
2. Stepping
3. Console output
4. Update example + readme
5. Jumps
2022-03-01 19:49:24 +03:00
Euripedes Rocha
f7b842bbc7
EXAMPLES/ASIO: Adds a SOCKS4 example
...
Creates an example on how to connect using Socks4 based proxy.
2022-03-01 13:50:47 +00:00
songruojing
d4334cc109
uart: fixed incorrect channel number on ESP32S2, S3 and C3
2022-03-01 18:21:27 +08:00
Mahavir Jain
15ab3466fa
Merge branch 'contrib/github_pr_8467' into 'master'
...
Fix typos. (GitHub PR)
Closes IDFGH-6843
See merge request espressif/esp-idf!17289
2022-02-28 16:50:33 +08:00
Mahavir Jain
47fb454baa
esp_system: Fix copyright header
2022-02-28 11:41:02 +05:30
Kevin (Lao Kaiyao)
cc1d89ebba
Merge branch 'feature/i2c_support_on_esp8684_esp32h2' into 'master'
...
i2c: support i2c on esp32c2 and esp32h2
Closes IDF-3918
See merge request espressif/esp-idf!16444
2022-02-28 13:59:02 +08:00
Konstantin Kondrashov
44e5ac2c59
Merge branch 'feature/efuse_hal' into 'master'
...
hal: Adds efuse hal layer
See merge request espressif/esp-idf!16354
2022-02-28 13:38:43 +08:00
morris
b85eeb3224
Merge branch 'feature/lcd_isr_in_iram' into 'master'
...
refactor LCD unit tests into test apps
Closes IDF-4666
See merge request espressif/esp-idf!14980
2022-02-25 08:21:15 +00:00
David Čermák
2a91e4c895
Merge branch 'bugfix/mdsn_fuzzer_extend' into 'master'
...
mdns: Extend fuzzing and Fix various petty issues
Closes IDFGH-6675
See merge request espressif/esp-idf!17006
2022-02-24 23:03:50 +00:00
KonstantinKondrashov
9605f3eb1a
soc: Adds efuse hal
...
Replaced eFuse ROM funcs with hal layer
2022-02-24 22:20:09 +08:00
Roland Dobai
f6ac2ad419
Merge branch 'bugfix/add-resolution-suggestion-for-coredump' into 'master'
...
coredump.py: Remove line finalization when coredump is in progress to avoid coredump failure
Closes IDFGH-6439
See merge request espressif/esp-idf!17243
2022-02-24 11:01:28 +00:00
David Cermak
2c1007156e
mdns: Update fuzzer test (add delegation, check memory)
...
* Add new config with no services
* Add new test packets and more queries
* Allocate packet to check for mem issues
2022-02-24 09:41:56 +00:00
morris
8c91ef7599
Merge branch 'contrib/github_pr_8430' into 'master'
...
ADC Fix compiling when included from C++ (GitHub PR)
Closes IDFGH-6804
See merge request espressif/esp-idf!17216
2022-02-24 08:42:06 +00:00
Roland Dobai
d1ae1450c9
Merge branch 'feature/remove_unused_tools' into 'master'
...
tools: Remove tools that are not used by active ESP-IDF version.
Closes IDF-2054
See merge request espressif/esp-idf!16586
2022-02-24 06:29:34 +00:00
Mahavir Jain
4861ca0179
Merge branch 'update/remove_openssl' into 'master'
...
openssl: Remove deprecated component
Closes IDF-3925 and IDFCI-1102
See merge request espressif/esp-idf!17200
2022-02-24 03:46:01 +00:00
Martin Gaňo
b334d01e5f
Remove line finalization when coredump is active to avoid coredump failure
...
Closes https://github.com/espressif/esp-idf/issues/8099
2022-02-24 02:05:58 +01:00
Mahavir Jain
66593bf140
Merge branch 'feature/coap_to_component_manager' into 'master'
...
Push out `coap` to idf-extra-component repository
Closes IDF-4626
See merge request espressif/esp-idf!17241
2022-02-23 19:43:02 +00:00
Roland Dobai
a0ae0712b5
Merge branch 'bugfix/flash_from_monitor_on_windows' into 'master'
...
Tools: IDF Monitor should flash with the unmodified port
Closes IDFGH-6805
See merge request espressif/esp-idf!17244
2022-02-23 12:32:44 +00:00
David Cermak
0630834bc3
openssl: Remove deprecated component
2022-02-23 13:08:12 +01:00
Harshit Malpani
1cb9ba5076
Push out coap
to idf-extra-component repository
2022-02-23 15:08:36 +05:30
Fu Hanxi
9a544c0006
Merge branch 'ci/fix_nightly_run_build_jobs' into 'master'
...
ci: build all when has env var NIGHTLY_RUN
See merge request espressif/esp-idf!17072
2022-02-23 08:44:41 +00:00
laokaiyao
cf353c505a
i2c: support esp32h2
2022-02-23 15:19:37 +08:00
laokaiyao
7da023ceae
i2c: support esp32c2
2022-02-23 15:19:37 +08:00
Fu Hanxi
fac13c5c3d
Merge branch 'ci/migrate_panic_test_to_pytest_embedded' into 'master'
...
CI: migrate panic test to pytest embedded
See merge request espressif/esp-idf!17119
2022-02-23 03:00:07 +00:00
morris
5951d7480c
Merge branch 'feature/fatfs_14b_update' into 'master'
...
fatfs: Update to version 0.14b
Closes IDF-1981
See merge request espressif/esp-idf!16791
2022-02-23 01:44:37 +00:00
Fu Hanxi
4cbaf6fbb1
ci: enable pytest panic test
2022-02-23 09:12:46 +08:00
Fu Hanxi
1b095db5c9
ci(pytest): refactor panic test to pytest
2022-02-23 09:12:46 +08:00
Marius Vikhammer
06d8a5bf33
Merge branch 'bugfix/inline_intrmask_from_isr' into 'master'
...
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR
Closes IDFGH-6669
See merge request espressif/esp-idf!16970
2022-02-23 01:05:40 +00:00
Roland Dobai
2ac0942dfb
Merge branch 'bugfix/tools_fix_gdb_2021r2_patch3' into 'master'
...
tools: update esp-2021r2-patch3 toolchain for fixing GDB
See merge request espressif/esp-idf!17126
2022-02-22 19:32:42 +00:00
Roland Dobai
014a632b4d
Tools: IDF Monitor should flash with the unmodified port
...
Closes https://github.com/espressif/esp-idf/issues/8432
2022-02-22 18:36:50 +01:00
Jakob Hasse
7963f3a270
Merge branch 'bugfix/spiffs_wear_levelling_update_copyrights' into 'master'
...
spiffs, wear_levelling: update copyright headers
See merge request espressif/esp-idf!17229
2022-02-22 11:57:27 +00:00
Roland Dobai
786592cef9
Merge branch 'bugfix/idf_py_shell_complete_env_check' into 'master'
...
Tools: Don't check the environment during idf.py shell completion
Closes IDFGH-6733
See merge request espressif/esp-idf!17111
2022-02-22 11:21:09 +00:00
Jiang Guang Ming
453146fe75
Merge branch 'bugfix/update_esp32c2_soc_memory_addr' into 'master'
...
soc: update memory address for esp32c2
See merge request espressif/esp-idf!17085
2022-02-22 10:23:35 +00:00
Marius Vikhammer
94089edbc3
Merge branch 'ci/test_utils_ipc_stack' into 'master'
...
CI: increase IPC stack size for test_utils configs
Closes IDFCI-1108
See merge request espressif/esp-idf!17231
2022-02-22 07:20:23 +00:00
Fu Hanxi
91cb23d688
ci: build all when has env var NIGHTLY_RUN
2022-02-22 14:57:38 +08:00
morris
f1235d8418
Merge branch 'bugfix/esp_common_copyrights' into 'master'
...
esp_common: update copyright headers
See merge request espressif/esp-idf!17213
2022-02-22 04:45:17 +00:00
Song Ruo Jing
da3b7f106b
Merge branch 'feature/support_esp32c2_reset_cause' into 'master'
...
esp_system: support esp32c2 reset reason
Closes IDF-3832 and IDF-4244
See merge request espressif/esp-idf!17158
2022-02-22 03:12:44 +00:00
Marius Vikhammer
ae31146b0b
CI: increase IPC stack size for test_utils configs
2022-02-22 10:42:34 +08:00
Ivan Grokhotkov
911a8fc714
spiffs, wear_levelling: update copyright headers
2022-02-22 00:09:24 +03:00
Adam Múdry
bb8587a139
fatfs: Update to version 0.14b
...
Updated FATFS to 0.14b from 0.13c and patched for ESP32
2022-02-21 14:54:55 +01:00
morris
116197040f
i2s: update copyright
2022-02-21 21:28:48 +08:00
Ivan Grokhotkov
f071558117
partition_table: add a test for total partition size error
2022-02-21 10:28:29 +03:00
Anton Maklakov
7e569e1524
test_apps/panic: GDB in esp-2021r2-patch3 toolchain doesn't contain the fix for interrupted backtraced
...
Revert "test_apps/panic: remove workaround for incorrect GDB backtrace"
This reverts commit 3e3fa4bff2
.
2022-02-21 10:51:41 +07:00
Anton Maklakov
d25c5b8ba9
tools: update esp-2021r2-patch3 toolchain for fixing GDB
...
Closes https://github.com/espressif/esp-idf/issues/8065
Closes https://github.com/espressif/esp-idf/issues/8342
Closes https://github.com/espressif/openocd-esp32/issues/210
2022-02-21 10:50:38 +07:00
Ivan Grokhotkov
413375453b
esp_common: update copyright headers
2022-02-21 00:51:49 +03:00
Marek Fiala
a4b0560014
tools: Remove tools that are not used by active ESP-IDF version.
...
Or remove unused archives from tools - older version, or unused tool archive
2022-02-20 19:48:50 +01:00
Roland Dobai
e18fb46bc0
Merge branch 'contrib/github_pr_8419' into 'master'
...
Added typing to serial_write() (GitHub PR)
Closes IDFGH-6792
See merge request espressif/esp-idf!17193
2022-02-17 19:46:06 +00:00
Jakob Hasse
41e1eea9a9
Merge branch 'contrib/github_pr_8388' into 'master'
...
esp_event: constify event_data pointer (GitHub PR)
Closes IDFGH-6760
See merge request espressif/esp-idf!17195
2022-02-17 14:44:32 +00:00
Mahavir Jain
69f51a989c
Merge branch 'feature/pre_encrypted_binary' into 'master'
...
feature: Pre Encrypted Binary during OTA updates
Closes IDF-3256, IDF-3254, and IDFGH-4334
See merge request espressif/esp-idf!16434
2022-02-17 13:36:54 +00:00
Mahavir Jain
3eb8f3b54e
esp_https_ota: add some return values to API documentation
2022-02-17 10:49:15 +05:30
Roland Dobai
03fb3fd25b
Merge branch 'bugfix/monitor_baud_rate' into 'master'
...
Tools: Rename the monitor's baud argument for consistency and use the global baud if not defined
Closes IDFGH-6686
See merge request espressif/esp-idf!17065
2022-02-16 18:13:50 +00:00
Roland Dobai
d93380e8f6
Tools: Don't print git failure message for version detection
2022-02-16 18:47:08 +01:00
Roland Dobai
49e9f254c5
Tools: Don't check the environment during idf.py shell completion
...
Closes https://github.com/espressif/esp-idf/issues/8362
2022-02-16 18:47:08 +01:00
Roland Dobai
a93e372364
Tools: Fix silent failure about the incompatible Python
2022-02-16 18:44:13 +01:00
Niklas Lantau
9f97e5c84e
Added typing to serial_write()
...
Added type annotation for serial_write() parameters and return types.
2022-02-16 16:47:05 +01:00
Amaryllis Kulla
1858901241
esp_event: constify event_data pointer
...
Also update copyright headers.
2022-02-16 16:16:45 +01:00
Mahavir Jain
71e29053cf
Merge branch 'refactor/esp_https_server_api_cleanup' into 'master'
...
esp_https_server: API cleanup
Closes IDFGH-6540
See merge request espressif/esp-idf!17136
2022-02-15 16:11:09 +00:00
songruojing
bcf24c80df
ci: Add esp32c2/rom/rtc.h to check_public_headers_exceptions.txt to pass ci
2022-02-15 15:31:33 +08:00
jiangguangming
b509d9d2ac
tools: update esp32c2_data_info_yaml
2022-02-15 15:14:42 +08:00
songruojing
b860fa96e0
esp_system: support esp32c2 reset reason
2022-02-15 13:50:22 +08:00
David Cermak
2553fb5845
esp_eth: Make EMAC DMA burst size configurable
...
Merges https://github.com/espressif/esp-idf/pull/7874
Closes https://github.com/espressif/esp-idf/issues/7380
2022-02-14 16:17:29 +00:00
Roland Dobai
9027c30237
Merge branch 'feat/python_reqs_directory' into 'master'
...
Tools: Make easier the detection of the list of Python features
See merge request espressif/esp-idf!17009
2022-02-14 16:06:36 +00:00
Harshit Malpani
94056fd4a5
esp_https_server: API cleanup
2022-02-14 16:25:54 +05:30
morris
dbfde65515
lcd: refactor ut into test app
2022-02-14 18:43:50 +08:00
morris
84b750cbe8
Merge branch 'refactor/lcd_soc_ll_update_according_trm' into 'master'
...
lcd soc ll update according trm
See merge request espressif/esp-idf!16900
2022-02-12 08:13:34 +00:00
Marius Vikhammer
5ef585b1b9
Merge branch 'feature/remove_frc2_timer' into 'master'
...
esp_timer: remove legacy ESP32 FRC timer implementation
Closes IDF-3805
See merge request espressif/esp-idf!16406
2022-02-11 06:08:15 +00:00
Roland Dobai
51bfd280f8
Merge branch 'update/drop_python36' into 'master'
...
Drop Python 3.6
See merge request espressif/esp-idf!16676
2022-02-10 13:09:42 +00:00
Chen Yu Dong
06a5384f32
Merge branch 'ci/auto_deploy_test_result_timeout' into 'master'
...
CI: add timeout for jobs and expire_in for artifacts
See merge request espressif/esp-idf!17079
2022-02-10 08:38:21 +00:00
Marius Vikhammer
edb76f14d6
esp_timer: remove legacy ESP32 FRC timer implementation.
2022-02-10 15:17:49 +08:00
Tomas Sebestik
fb12d03dc3
Drop Python 3.6
2022-02-10 07:20:52 +01:00
Anton Maklakov
3a04b712fa
Merge branch 'bugfix/fix_abs_using' into 'master'
...
build: fix abs() use
See merge request espressif/esp-idf!16952
2022-02-10 05:18:32 +00:00
Darian
61639fe1ec
Merge branch 'refactor/freertos_remove_legacy_types' into 'master'
...
FreeRTOS: Remove usage of legacy data types
Closes IDF-4566
See merge request espressif/esp-idf!16680
2022-02-10 04:57:00 +00:00
Song Ruo Jing
40d1102ca5
Merge branch 'bugfix/cpu_reset_perip_clk_disable' into 'master'
...
esp_system: change range comparsion for reset reason to specifc cpu reset reason comparison
See merge request espressif/esp-idf!15492
2022-02-10 03:44:15 +00:00
Roland Dobai
6b42029a8a
Tools: Rename the monitor's baud argument for consistency and use the global baud if not defined
...
Closes https://github.com/espressif/esp-idf/issues/8316
2022-02-09 16:47:11 +01:00
Darian Leung
57fd78f5ba
freertos: Remove legacy data types
...
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
Chen Yudong
de7e67ccec
CI: add expire_in and timeout for jobs
...
add timeout 4 hours and retry for deploy_test_result
add missing expire_in for artifacts
add timeout 1 hour for tartget test jobs
add retry when job_execution_timeout
2022-02-09 22:06:37 +08:00
morris
5810ed1d04
Merge branch 'refactor/remove_ets_sys_from_public_header' into 'master'
...
esp_rom: remove ets_sys.h dependency from public header files
See merge request espressif/esp-idf!16919
2022-02-09 12:27:06 +00:00
songruojing
c1dedb33fa
esp_system: replace the range comparsion for reset reason in perip clk init with specific reset reason check, also add a test case in LEDC to check for the perip clk not being disabled after cpu reset
2022-02-09 15:54:34 +08:00
morris
5893797bf0
Merge branch 'bugfix/rmt_s2_doesnt_support_rx_wrap' into 'master'
...
rmt: rx wrap doesn't support on esp32s2
Closes IDFGH-6725
See merge request espressif/esp-idf!17052
2022-02-09 06:54:41 +00:00
morris
ef00bd59dc
esp_rom: extract int matrix route and cpu ticks getter
2022-02-09 13:52:20 +08:00
Anton Maklakov
db9c5507f2
Merge branch 'ci/remove_pytest_dir_non_test_apps' into 'master'
...
ci: build_pytest_app will now remove the non-test apps
Closes IDFCI-1075
See merge request espressif/esp-idf!16984
2022-02-09 03:29:32 +00:00
Roland Dobai
60d7ea1f23
Merge branch 'bugfix/win_rename_delay' into 'master'
...
Tools: Use delay between rename attempts on Windows in the installer
See merge request espressif/esp-idf!17047
2022-02-08 10:02:27 +00:00
morris
955cb4c656
Merge branch 'bugfix/perfmon_copyright_headers' into 'master'
...
perfmon: add SDPX headers
See merge request espressif/esp-idf!17030
2022-02-08 08:38:49 +00:00
morris
9887c7e780
rmt: do not support rx wrap on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/8354
2022-02-08 13:57:31 +08:00
Mahavir Jain
79d95455de
Merge branch 'contrib/github_pr_8337' into 'master'
...
Set success when closing socket (GitHub PR)
Closes IDFGH-6709
See merge request espressif/esp-idf!17022
2022-02-08 04:41:26 +00:00
Marius Vikhammer
0ffeaf9350
Merge branch 'feature/confgen_rename_many_to_one' into 'master'
...
kconfig: update confgen to handle sdkconfig.rename with target specific markup
Closes IDF-4544
See merge request espressif/esp-idf!16949
2022-02-08 02:38:22 +00:00
Ivan Grokhotkov
ffc4e571ca
Merge branch 'revert-b092fa07' into 'master'
...
Revert "Merge branch 'bugfix/temp_disable_f8r8_test' into 'master'"
Closes IDFCI-1085
See merge request espressif/esp-idf!17034
2022-02-07 20:15:50 +00:00
Roland Dobai
39fd59f2c0
Tools: Use delay between rename attempts on Windows in the installer
2022-02-07 17:18:37 +01:00
Mahavir Jain
e97b034b3e
transport_ssl: use return value from close
for non-TLS case
...
Also fix copyright header for this file
2022-02-07 17:17:16 +05:30
Ivan Grokhotkov
d3f1867725
Merge branch 'bugfix/apptrace_copyright_headers' into 'master'
...
app_trace: add SPDX headers, mention SystemView in copyrights doc
See merge request espressif/esp-idf!17029
2022-02-07 10:38:58 +00:00
Ivan Grokhotkov
e27679b636
perfmon: add SDPX headers
2022-02-07 08:02:13 +00:00
Marius Vikhammer
8220b2bb34
freertos: always inline xPortSetInterruptMaskFromISR and vPortClearInterruptMaskFromISR
...
These were called from IRAM context where the caller expect them to be inlined
and accessible when cache is disabled. This was not the case when compiled with -O0.
Closes https://github.com/espressif/esp-idf/issues/8301
2022-02-07 11:32:45 +08:00
Fu Hanxi
e761153cff
ci: adjust parallel count based on build item count
2022-02-07 10:55:54 +08:00
Fu Hanxi
30f098cd49
ci: add build_non_test_component_apps
2022-02-07 10:55:54 +08:00
Fu Hanxi
b91f8fb4eb
ci: skip building pytest apps in normal find_apps build_apps
2022-02-07 10:55:54 +08:00
Fu Hanxi
153433d47d
ci: build_pytest_app will now remove the non-test apps
...
simplify the cli as well
2022-02-07 10:55:54 +08:00
Lu Ai Jun
4a0906fdb7
Update copyright headers
2022-02-07 02:28:50 +00:00
Lu Ai Jun
e599db6d04
Revert "Merge branch 'bugfix/temp_disable_f8r8_test' into 'master'"
...
This reverts merge request !17007
2022-02-07 10:18:08 +08:00
Ivan Grokhotkov
3441dd1e98
Merge branch 'bugfix/ci_pytest_7.x' into 'master'
...
ci: make pytest build script compatible with pytest 7.x
See merge request espressif/esp-idf!17032
2022-02-05 09:06:09 +00:00
Michael (XIAO Xufeng)
c1b30491dd
Merge branch 'feature/esp32c3_uart_add_wakeup_event' into 'master'
...
UART: add uart wakeup event for esp32c3 and esp32s3
Closes IDF-3416
See merge request espressif/esp-idf!14482
2022-02-04 17:23:29 +00:00
Ivan Grokhotkov
21834f8362
ci: make pytest build script compatible with pytest 7.x
2022-02-04 15:44:29 +01:00
Roland Dobai
fddc73759e
Tools: Make easier the detection of the list of Python features
2022-02-03 19:02:14 +01:00
Ivan Grokhotkov
4cedf84626
app_trace: add SPDX headers, mention SystemView in copyrights doc
...
Signed-off-by: Ivan Grokhotkov <ivan@espressif.com>
2022-02-03 17:44:59 +01:00
Darian Leung
e49f56a96d
tools: Check copyright now checks assembly files
...
This commit updates the pre-commit configuration and check copyright
script to check assembly files (extensions '.s' and '.S').
2022-02-03 20:50:52 +08:00
Darian Leung
1c60d6a895
freertos: Add SPDX license identifiers and update xtensa port files
...
This commit does the following:
- Adds SPDX license identifiers to FreeRTOS sources. Remove those FreeRTOS sources from
the copyright ignore list.
- Update xtensa port files to match FreeRTOS v10.4.3. Added SPDX license identifiers
to the port files.
- Fixed some improperly licensed files
- Removed portbenchmark.h from RISC-V port
2022-02-03 17:08:14 +08:00
Ivan Grokhotkov
b092fa0730
Merge branch 'bugfix/temp_disable_f8r8_test' into 'master'
...
ci: temporarily disable MSPI_F8R8 test
See merge request espressif/esp-idf!17007
2022-02-01 15:22:35 +00:00
Ivan Grokhotkov
2838886639
ci: temporarily disable MSPI_F8R8 test
2022-02-01 15:39:40 +01:00
Mahavir Jain
a32a7729b3
Merge branch 'fix/prod_mode_in_configure_ds_script' into 'master'
...
configure_ds.py: Fix the error for prod mode. They script now only verifies...
Closes IDFGH-6649
See merge request espressif/esp-idf!16995
2022-02-01 05:05:10 +00:00
Laukik Hase
db914d6272
wifi_prov_mgr: Fix provisioning not stopping in release mode
...
- For the wifi_prov_mgr example in release mode (with NDEBUG defined -
assertions disabled), the task to stop provisioning is never started
as it is voided by the assert function it is called in.
Closes https://github.com/espressif/esp-idf/issues/8309
2022-01-31 15:03:54 +05:30
Aditya Patwardhan
b284016bfd
configure_ds.py: Fix the error for prod mode. They script now only verifies the purpose in the prod mode.
...
Closes https://github.com/espressif/esp-idf/issues/8285
2022-01-31 14:13:25 +05:30
Marius Vikhammer
65a302a6f6
kconfig: confgen.py now handles many-to-one config renames
...
All old symbols will now be included in the output when renaming
multiple symbols to the same new symbol.
2022-01-31 11:36:13 +08:00
Marius Vikhammer
23c55946a6
kconfig: also parse target specific sdkconfig.rename.TARGET files
...
Adds functionality for target specific sdkconfig.rename files which can be
used when certain renames are only needed for a specific target.
2022-01-31 11:36:08 +08:00
Jakob Hasse
e899edd793
Merge branch 'bugfix/nvs_coverity_issues' into 'master'
...
bugfix (nvs): Fixed issues found by Coverity
Closes IDF-4391
See merge request espressif/esp-idf!16951
2022-01-29 21:52:18 +00:00
Anton Maklakov
8bb06df68f
components: correct abs() use for unsigned and 64-bit arguments
2022-01-29 12:07:16 +07:00
David Čermák
3741486778
Merge branch 'bugfix/mqtt_ci_paho_thread' into 'master'
...
ci/mqtt: Fix publish-connect test (thread safe paho-mqtt issue)
Closes IDF-4607
See merge request espressif/esp-idf!16938
2022-01-28 20:04:00 +00:00
Anton Maklakov
7cdd151612
Merge branch 'bugfix/nocommon' into 'master'
...
enable and fix warnings on common symbols
Closes IDFGH-3055 and IDF-3013
See merge request espressif/esp-idf!16802
2022-01-28 14:39:51 +00:00
David Cermak
c2b037572c
ci/mqtt: Make publish test-app message properties configurable
...
Also increase the default sizes and repeat-counts to send more data and
exercise the library more intensly
2022-01-28 15:18:41 +01:00
Roland Dobai
8fc1fc6ac3
Merge branch 'bugfix/docs_rm_gen_chart' into 'master'
...
Docs: Remove the script for generating the version chart
Closes RDT-91
See merge request espressif/esp-idf!16973
2022-01-28 13:59:08 +00:00
Fu Hanxi
bf69db2e76
Merge branch 'ci/raise_error_when_pytest_collect_failed' into 'master'
...
ci: raise exception when pytest collect failed
See merge request espressif/esp-idf!16974
2022-01-28 13:07:46 +00:00
Sudeep Mohanty
1c393a32c4
Merge branch 'refactor/refactor_ulp_component' into 'master'
...
ulp: refactor ulp component
Closes IDF-4520
See merge request espressif/esp-idf!16886
2022-01-28 10:23:56 +00:00
Mahavir Jain
9150034b6d
Merge branch 'provisioning/update_readme' into 'master'
...
provisioning: Remove legacy examples reference
Closes IDF-4614
See merge request espressif/esp-idf!16977
2022-01-28 09:32:08 +00:00
David Čermák
5dcd630444
Merge branch 'feature/dhcps_more_client_info' into 'master'
...
lw-IP: Add more client's infor to dhcp server cb
Closes IDFGH-5839
See merge request espressif/esp-idf!16433
2022-01-28 07:31:32 +00:00
Kapil Gupta
f57ccaabee
esp_example: Enable MbedTLS for DPP enrollee by default
2022-01-28 13:53:39 +08:00
Laukik Hase
1481758fd7
esp_prov.py: Replaced deprecated function for loading modules
2022-01-28 10:36:10 +05:30
Laukik Hase
07f1e49566
provisioning: Remove legacy examples section from README
2022-01-28 09:58:43 +05:30
Fu Hanxi
63b0d2b11f
ci: raise exception when pytest collect failed
2022-01-28 11:31:33 +08:00
Roland Dobai
a78884a41c
Docs: Remove the script for generating the version chart
2022-01-27 18:44:11 +01:00
David Cermak
9de81ed2e2
ci/mqtt: Fix weekend test publish-connect on target
...
* Fix thread safe issue in paho-mqtt library
* Move the weekend test to ethernet runner
2022-01-27 13:37:47 +01:00
Jakob Hasse
4c8c2a8079
bugfix (nvs): Fixed issues found by Coverity
...
* Fixed potential memory leak
* Fixed wrong strncpy usage
* Fixed potential out of bounds access
2022-01-27 19:30:58 +08:00
Mahavir Jain
d587a1ce6d
Merge branch 'refactor/provisioning_examples' into 'master'
...
provisioning: Remove legacy examples
Closes IDF-4558
See merge request espressif/esp-idf!16776
2022-01-27 07:28:52 +00:00
Sudeep Mohanty
2fc9bd61bf
ulp: refactor ulp component
...
This commit refactors the ulp component.
Files are now divided based on type of ulp, viz., fsm or risc-v.
Files common to both are maintained in the ulp_common folder.
This commit also adds menuconfig options for ULP within the ulp
component instead of presenting target specific configuations for ulp.
2022-01-27 11:54:42 +05:30
Ivan Grokhotkov
7dac0abdff
examples: advanced_https_ota: make some globals static
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
f770cf721a
fatfs: make global constants extern
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
336d0b64de
riscv: fix panic_reasons being an instance of enum, not type name
2022-01-27 11:00:09 +07:00
Ivan Grokhotkov
d4190a9471
wpa_supplicant: mark global variables defined in headers 'extern'
...
...to avoid defining common symbols.
GCC since version 10 defaults to -fno-common and doesn't generate
common symbols, leading to duplicate definitions of these symbols.
2022-01-27 11:00:09 +07:00
Roland Dobai
0ac6a105ef
Merge branch 'bugfix/checkout_ref_branch' into 'master'
...
bugfix: checkout ref failed for origin branches
See merge request espressif/esp-idf!16936
2022-01-26 16:25:23 +00:00
Chen Yudong
d48cbdd1e9
bugfix: checkout ref failed for origin branches
2022-01-26 20:22:29 +08:00
Konstantin Kondrashov
c4d91581ca
Merge branch 'bugfix/efuse_timesettings_for_esp32s3' into 'master'
...
efuse: Fixes eFuse timesettings issue on esp32S3
See merge request espressif/esp-idf!16907
2022-01-26 09:33:39 +00:00
Zim Kalinowski
67f51a4ce5
Merge branch 'bugfix/riscv_i2c_description' into 'master'
...
i2c: fix the controller count in the header description
Closes IDFGH-6476
See merge request espressif/esp-idf!16718
2022-01-26 03:13:07 +00:00
KonstantinKondrashov
45d2d2470b
efuse: Fixes eFuse timesettings issue on esp32S3
2022-01-25 22:09:14 +08:00
Jiang Jiang Jian
3fa37be643
Merge branch 'ci/split_assign_test_and_add_c3_integration_test' into 'master'
...
ci: split assign test and add esp32c3 integration tests
See merge request espressif/esp-idf!16664
2022-01-25 13:06:06 +00:00
Mahavir Jain
0027483e93
Merge branch 'feature/mbedtls-2.28.0' into 'master'
...
mbedtls: Upgrading to v2.28.0
Closes IDFGH-6478
See merge request espressif/esp-idf!16568
2022-01-25 12:41:19 +00:00
David Cermak
e3d71c984a
lwip: Add client's MAC addr to dhcp server cb
...
* Extended storage for staipassigned events to pass client's MAC address.
* Added client's MAC to dhcp server callback
* Posting the staipassigned events with clients IP and MAC address
2022-01-25 13:08:43 +01:00
laokaiyao
c4cfb654d2
uart: support light sleep on esp32s3
2022-01-25 17:43:02 +08:00
Chen Wu
35941de800
debug: esp32c3 uart1 wakeup
2022-01-25 17:43:02 +08:00
Ivan Grokhotkov
0ebf93c01e
Merge branch 'bugfix/linux_taret_fixes' into 'master'
...
linux target: various minor fixes
See merge request espressif/esp-idf!16905
2022-01-25 08:43:38 +00:00
Roland Dobai
7b4034eeab
Merge branch 'bugfix/python_check_before_build' into 'master'
...
Revert "Tools: Don't check Python packages on every idf.py & cmake run"
See merge request espressif/esp-idf!16902
2022-01-25 08:29:58 +00:00
Laukik Hase
424c45df91
ci: Fix issues for build stage
...
- Fixed logs expecting different format specifier
- Updated ignore list for check_public_header test
- Updated functions ported from mbedTLS
2022-01-25 10:51:27 +05:30
Laukik Hase
befc93aa2d
mbedtls: Added option MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
...
- Removed code regarding MBEDTLS_DYNAMIC_FREE_PEER_CERT
(config was kept for backward compatibility)
- Combined mbedTLS v2.28.x related options under a separate Kconfig menu
2022-01-25 10:51:27 +05:30
Laukik Hase
09de379731
protocomm: Updated function for constant time buffer comparison
...
- mbedtls_ssl_safer_memcmp() -> mbedtls_ct_memcmp()
2022-01-25 10:51:27 +05:30
Chen Yudong
b4c4e3a79d
ci: do not retry on 404 when LOCAL_GITLAB_HTTPS_HOST not set
2022-01-25 11:49:55 +08:00
Chen Yudong
11d4542165
ci: update intergration test to support esp32c3
2022-01-25 11:49:55 +08:00
Chen Yudong
ec4175b127
ci: optimize downloading build_ssc artifacts
2022-01-25 11:49:55 +08:00
Chen Yudong
dd4f27801f
ci: move integration test related files outside of components
2022-01-25 11:49:55 +08:00
Mahavir Jain
c4ddfc9f06
Merge branch 'bugfix/efuse_timesettigs_in_burn_op' into 'master'
...
efuse: Fixes eFuse timesettings issue on esp32c3
Closes FCS-849
See merge request espressif/esp-idf!16885
2022-01-25 03:44:51 +00:00
Ivan Grokhotkov
9901fc3058
cmake: don't pass --gc-sections to macOS linker, use -dead_strip
...
When building for "linux" (~POSIX) target on macOS, the system linker
is normally used. MacOS linker doesn't recognise --gc-sections, but
has a -dead_strip flag which is equivalent.
2022-01-24 18:51:40 +01:00
Roland Dobai
ef5c08a7be
Revert "Tools: Don't check Python packages on every idf.py & cmake run"
...
This reverts commit 0265c79bcc
.
2022-01-24 14:53:37 +01:00
morris
1938d7c006
log: skip unused tag string wanring in esp_check.h
2022-01-24 18:45:46 +08:00
Fu Hanxi
a801555299
ci: replace all component ut with pytest-embedded
2022-01-24 16:37:23 +08:00
Fu Hanxi
d0cdfdc5d8
tools: allow component test apps files use cc0-1.0 license
2022-01-24 15:54:36 +08:00
KonstantinKondrashov
4ede9aaa26
efuse: Fixes eFuse timesettings issue on esp32c3
2022-01-21 16:45:50 +08:00
Marius Vikhammer
cbe23087fc
Merge branch 'feature/ulp_stop' into 'master'
...
ULP: add functions for stopping/restarting the ulp-riscv
Closes IDFGH-6588
See merge request espressif/esp-idf!16853
2022-01-21 01:37:04 +00:00
morris
c1b79951fd
cmake: assign toolchain prefix manually
2022-01-20 15:46:50 +08:00
David Čermák
d7d22ef0fd
Merge branch 'bugfix/fix_tcp_transport_exeception' into 'master'
...
tcp_transport: fix tcp trasnport exception
See merge request espressif/esp-idf!16793
2022-01-20 06:48:07 +00:00
Marius Vikhammer
ff6f927b5f
ULP: add functions for stopping/restarting the ulp-riscv
...
Closes https://github.com/espressif/esp-idf/issues/8232
2022-01-20 11:34:53 +08:00
Fu Hanxi
64fdcd506a
Merge branch 'fix/gitlab_404_local_mirror' into 'master'
...
Handle gitlab 404 error
See merge request espressif/esp-idf!16818
2022-01-20 01:17:16 +00:00
David Čermák
1c94345737
Merge branch 'bugfix/protocols_test_on_eth' into 'master'
...
ci/mqtt: Move protocol tests to eth runners
Closes IDFCI-653
See merge request espressif/esp-idf!16752
2022-01-19 14:44:00 +00:00
xutao
e794786c74
tcp_transport: fix tcp transport execption pointer
2022-01-19 13:44:20 +01:00
Kevin (Lao Kaiyao)
bf8d4d55d0
Merge branch 'refactor/rename_esp8684_to_esp32c2' into 'master'
...
esp8684: rename esp8684 to esp32c2
Closes IDF-4530
See merge request espressif/esp-idf!16745
2022-01-19 09:08:58 +00:00
Laukik Hase
583b984837
esp_prov: Removed features used in legacy provisioning examples
2022-01-19 12:09:21 +05:30
morris
309c1113f4
Merge branch 'feature/tools_py_constrain_download_improvement' into 'master'
...
Tools: Don't check Python dependencies at every idf.py and cmake run and download the constraint file less frequently
Closes IDF-4578
See merge request espressif/esp-idf!16849
2022-01-19 03:55:46 +00:00
laokaiyao
cf049e15ed
esp8684: rename target to esp32c2
2022-01-19 11:08:57 +08:00
Roland Dobai
636401dfa8
Merge branch 'bugfix/ci_copyright_no_date_update' into 'master'
...
Tools: Don't update the copyright year automatically in the headers
See merge request espressif/esp-idf!16799
2022-01-18 14:21:29 +00:00
Roland Dobai
1a9398799c
Tools: Download the Python constraint file less frequently
2022-01-18 14:55:53 +01:00
Roland Dobai
0265c79bcc
Tools: Don't check Python packages on every idf.py & cmake run
2022-01-18 14:55:47 +01:00
Tomas Sebestik
33edc13743
Handle gitlab 404 error
2022-01-18 13:13:53 +01:00
Sudeep Mohanty
2ed15d8b1e
ulp: Added ULP RISC-V support for esp32s3
...
This commit adds support for ULP RISC-V for esp32s3.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2022-01-18 10:58:00 +05:30
Roland Dobai
b28d7e6850
Tools: Improve the Python package system
...
Introduce features into the Python package management system & manage
package versions outside of ESP-IDF repo.
2022-01-17 16:54:36 +01:00
simon.chupin
38ba3d16ff
add test for checking memory segments with esptool.py
2022-01-17 20:47:35 +08:00
simon.chupin
a520bad2f3
tools/idf_size: Fixed bug with wrong memory calculation
2022-01-17 20:47:35 +08:00
David Čermák
c45d34aea2
Merge branch 'bugfix/lwipopts_cleanup' into 'master'
...
lw-IP: Cleanup of config options and flags
Closes IDF-3594
See merge request espressif/esp-idf!15248
2022-01-17 06:46:27 +00:00
Mahavir Jain
7b87ea2a15
Merge branch 'feature/expat_to_component_manager' into 'master'
...
Push out `expat` to idf-extra-components repository
Closes IDF-4546
See merge request espressif/esp-idf!16785
2022-01-16 05:49:36 +00:00
David Cermak
66438366a2
ci: Create a copyright entry for lwip-component
2022-01-14 16:44:44 +01:00
David Cermak
5d7489eae4
lwip: Fix minor lwip dependency issue
...
Clean-up config option rename file
2022-01-14 16:41:38 +01:00
Roland Dobai
73d818eb72
tools: Add UF2 identificator for ESP32-C2 and ESP32-H2
...
The IDs were submitted in https://github.com/microsoft/uf2/pull/59 .
2022-01-14 15:50:17 +01:00
David Cermak
5e1dc6f8db
ci/mqtt: Move publish-connect test to ethernet runners
2022-01-14 14:35:06 +01:00
Ivan Grokhotkov
f010729e74
Merge branch 'contrib/esp_idf_github_pr_7413' into 'master'
...
vfs: fix wrong VFS being freed when esp_vfs_register_fd_range fails (Github PR)
Closes IDFGH-5692
See merge request espressif/esp-idf!14972
2022-01-14 12:32:20 +00:00
Roland Dobai
f4bf2a0fd7
Tools: Don't update the copyright year automatically in the headers
2022-01-14 12:33:18 +01:00
Shu Chen
87b026779b
Merge branch 'ci/esp32h2_ci_example_build' into 'master'
...
CI: Enable ESP32H2 example build test on CI (Zigbee&Thread test)
See merge request espressif/esp-idf!16736
2022-01-14 04:44:14 +00:00
Shu Chen
8ef3d95a12
ci: remove esp32h2 from default targets
2022-01-14 10:44:40 +08:00
caixf
6c3b528917
vfs: fix wrong VFS being freed when esp_vfs_register_fd_range fails
...
Closes https://github.com/espressif/esp-idf/pull/7413
2022-01-13 17:17:42 +01:00
Omar Chebib
bb730292d4
i2c: fix the controller count in the header description
...
Closes https://github.com/espressif/esp-idf/issues/8133
2022-01-13 18:25:41 +08:00
Shu Chen
991874ae43
Merge branch 'feature/lwip-ip6-input-hook' into 'master'
...
ladd ip6 input hook
See merge request espressif/esp-idf!16646
2022-01-13 07:21:15 +00:00
Armando (Dou Yiwen)
ebf7e811b1
Merge branch 'refactor/spiram_common_file' into 'master'
...
psram: abstract MMU/Cache and PSRAM hardware related code into lower layer on ESP32S2
Closes IDF-4328
See merge request espressif/esp-idf!16090
2022-01-13 05:49:34 +00:00
Jiacheng Guo
d6c4e2cb34
lwip: add ip6 input hook
...
The MR adds Kconfig options and a default weak implementation for the
lwIP ip6 input hook.
2022-01-13 12:23:38 +08:00
Armando
7240ad2b3a
psram: refactor spiram.c on esp32s2
2022-01-13 11:07:57 +08:00
Ivan Grokhotkov
b83d249e61
Merge branch 'feature/cmake_time_t_automatic' into 'master'
...
newlib: auto-detect sizeof(time_t)
See merge request espressif/esp-idf!16682
2022-01-12 23:49:22 +00:00
Armando (Dou Yiwen)
342c830d9b
Merge branch 'feature/support_spi_on_8684' into 'master'
...
spi: support spi on 8684
Closes IDF-4470 and IDF-4024
See merge request espressif/esp-idf!16475
2022-01-12 09:10:21 +00:00
Mahavir Jain
b08323c903
Push out expat
to idf-extra-components repository
...
This component will be used through IDF component manager.
2022-01-12 10:13:23 +05:30
Armando
6a74cb695d
spi: support spi on 8684
2022-01-12 11:30:29 +08:00
Ivan Grokhotkov
d2b894862c
newlib: auto-detect sizeof(time_t)
...
To make the transition from 32-bit time_t to 64-bit time_t smoother,
detect the size of this type in CMake and remove the manual option in
Kconfig.
The information about 64-bit time_t support is moved from Kconfig help
string into the "system time" section of the API reference.
2022-01-11 19:01:21 +01:00
Mahavir Jain
b0ca71f302
Merge branch 'bugfix/fix_esp_https_ota' into 'master'
...
esp_https_ota: Fix esp_https_ota_begin may return error and exist memory leak
Closes IDFGH-6548
See merge request espressif/esp-idf!16700
2022-01-11 17:42:28 +00:00
Anton Maklakov
1cd61607c3
Merge branch 'bugfix/tools_win_patch2' into 'master'
...
Add toolchain patch2 version for Windows with --with-gnu-ld option
See merge request espressif/esp-idf!16685
2022-01-11 14:20:44 +00:00
yuanjm
467a8726c4
esp_https_ota: Fix esp_https_ota_begin may return ESP_OK when http status code is not 200 and may exist memory leak
...
Closes https://github.com/espressif/esp-idf/issues/8195
2022-01-11 22:01:17 +08:00
Mahavir Jain
fba8582da4
Merge branch 'feature/nghttp_sh2lib_component_manager' into 'master'
...
Push out nghttp and sh2lib to IDF component manager
Closes IDF-4529
See merge request espressif/esp-idf!16618
2022-01-11 13:45:59 +00:00
Anton Maklakov
d836163444
tools: Add toolchain esp-2021r2-patch2 version for Windows with --with-gnu-ld option
...
Closes https://github.com/espressif/esp-idf/issues/7864
2022-01-11 20:12:00 +07:00
Mahavir Jain
5db7ab0710
Add entry for http_parser in CODEOWNERS and sonar exclusion list
2022-01-11 10:26:25 +05:30
Mahavir Jain
517862de9e
Remove references to nghttp from CI, docs and other places
2022-01-11 10:26:25 +05:30
Mahavir Jain
0da44db394
sh2lib: Remove component and move to idf-extra-components
...
This component will be used through ESP-IDF component manager
2022-01-11 10:26:25 +05:30
Mahavir Jain
d2956f208b
http_parser: Split nghttp port and create new http_parser component
...
Note: nghttp will be moved to IDF component manager
2022-01-11 10:26:24 +05:30
Marius Vikhammer
6c8426ea92
Merge branch 'docs/dynamic_copyright_date' into 'master'
...
docs: update copyright date for docs automatically
Closes IDF-4548
See merge request espressif/esp-idf!16727
2022-01-11 01:48:04 +00:00
morris
f8bb2741d4
Merge branch 'refactor/remove_toolchain_prefix_in_kconfig' into 'master'
...
cmake: using toolchain prefix determined by cmake itself
See merge request espressif/esp-idf!16703
2022-01-10 10:17:33 +00:00
Fu Hanxi
60c5b37bfe
Merge branch 'refactor/ldgen' into 'master'
...
refactor: ldgen
Closes IDF-605 and IDFGH-6271
See merge request espressif/esp-idf!16509
2022-01-10 09:15:44 +00:00
Marius Vikhammer
93430c9eab
docs: update copyright date for docs automatically
2022-01-10 15:05:33 +08:00
Omar Chebib
c60ff26ec2
Merge branch 'staging/add_idf_as_lib_to_ci' into 'master'
...
CI: idf_as_lib is now run on all suported targets
See merge request espressif/esp-idf!16672
2022-01-10 02:23:54 +00:00
morris
1267738149
cmake: using toolchain prefix determined by cmake itself
2022-01-10 10:06:09 +08:00
Mahavir Jain
397639da7d
Merge branch 'feature/rsa_intr' into 'master'
...
MPI: add kconfig option for doing intr-based exp-mod operations
Closes IDF-4389
See merge request espressif/esp-idf!16558
2022-01-07 13:27:53 +00:00
Aleksei Apaseev
ad0526e9a0
Merge branch 'feat/idf_monitor_made_elf_file_optional' into 'master'
...
idf_monitor: made the elf file optional
Closes IDF-3775
See merge request espressif/esp-idf!16539
2022-01-07 11:05:41 +00:00
Aleksei Apaseev
e30329ffe2
idf_monitor: Changed the elf file to be optional when running "idf.py monitor" command
...
This feature allows to start IDF Monitor without (re-)building the project.
2022-01-07 17:36:08 +08:00
Fu Hanxi
8b928bf22f
ci: temporary bypass tinyxml2 cmake deprecated warning
2022-01-07 16:18:32 +08:00
David Cermak
1882cbe44e
mdns: Make fuzzer layers compatible with llvm>=6
2022-01-07 16:18:32 +08:00
Fu Hanxi
4f779bb7c6
ci: use python -m coverage
instead of coverage
executable
2022-01-07 16:18:32 +08:00
Fu Hanxi
172854a850
refactor: rewrite ldgen fragment file parser
...
closes https://github.com/espressif/esp-idf/issues/7940
2022-01-07 16:18:32 +08:00
Fu Hanxi
a44953ecd4
refactor: move ldgen into a separate package
2022-01-07 16:18:32 +08:00
morris
705788a13f
unit_tests: replace legacy timer group with gptimer
2022-01-07 14:59:09 +08:00
morris
6bf3af7c8e
examples: replace legacy timer group with gptimer
2022-01-07 14:59:09 +08:00
Marius Vikhammer
79cc650d75
Merge branch 'feature/deprecate_freertos_assert' into 'master'
...
freertos: remove FREERTOS_ASSERT option
Closes IDF-2294
See merge request espressif/esp-idf!16563
2022-01-07 06:35:05 +00:00
Omar Chebib
598246d287
CI: idf_as_lib is now run on all suported targets
2022-01-07 12:10:35 +08:00
Anton Maklakov
d500c8205e
Merge branch 'bugfix/fix_spi_cs_hold_time_issue' into 'master'
...
spi_master: fix spi cs_ena_posttrans issue
Closes IDFGH-6077
See merge request espressif/esp-idf!15925
2022-01-07 04:06:12 +00:00
Marius Vikhammer
ba3f12a9fe
rsa: add generate RSA keys test case
2022-01-07 11:35:35 +08:00
Wang Meng Yang
5f28c0c36b
Merge branch 'bugfix/PRs_on_esp_hid' into 'master'
...
bugfix/handle_3_esp_hid_PRs
Closes IDFGH-5889, IDFGH-3402, and IDFGH-2586
See merge request espressif/esp-idf!16538
2022-01-07 01:49:47 +00:00
Marius Vikhammer
7255497146
freertos: remove FREERTOS_ASSERT option
...
Freertos asserts are now configured the same way as all other asserts in IDF,
i.e. by configuring COMPILER_OPTIMIZATION_ASSERTION_LEVEL.
2022-01-07 09:16:48 +08:00
morris
869bed1bb5
soc: don't expose unstable soc header files in public api
2022-01-06 23:10:22 +08:00
morris
24acdf23ee
soc: move peripheral base address into reg_base.h
2022-01-06 21:43:12 +08:00
morris
8cdcb4e291
rmt: move RMT item definition from soc to driver
2022-01-06 21:43:12 +08:00
morris
d8f2eaf94e
gpio: remove legacy rtc_io description for esp32
2022-01-06 21:43:12 +08:00
morris
3b371d2d64
ci: check unstable soc headers wont be leaked by public api
2022-01-06 21:43:12 +08:00
Armando
56a707eef4
spi_master: fix spi cs_ena_posttrans issue
2022-01-06 17:54:58 +08:00
Zim Kalinowski
779de561f4
Merge branch 'bugfix/fix_idf_as_lib_build' into 'master'
...
Build: fix idf_as_lib example not building
Closes IDFGH-6453
See merge request espressif/esp-idf!16514
2022-01-06 03:17:30 +00:00
Omar Chebib
cb90544a04
Build: fix idf_as_lib example not building
2022-01-06 03:17:29 +00:00
Ivan Grokhotkov
a17cd24761
Merge branch 'bugfix/idf_tools_python_env' into 'master'
...
tools: improve virtualenv diagnostics, set python path explicitly
Closes IDFGH-4711, IDFGH-6386, and IDF-4233
See merge request espressif/esp-idf!16650
2022-01-05 13:23:42 +00:00
Tomas Rezucha
af28416116
Merge branch 'feature/usb_device/multi_cdc' into 'master'
...
USB: Extend USB CDC device with second channel
See merge request espressif/esp-idf!16458
2022-01-05 09:53:04 +00:00
Ondrej Kosta
fa9cc49b9e
Merge branch 'bugfix/esp_eth_start_tx_buff' into 'master'
...
Fixed ESP32 EMAC driver `insufficient TX buffer size`
Closes WIFI-4194
See merge request espressif/esp-idf!16457
2022-01-05 09:40:12 +00:00
Jiang Jiang Jian
477cf09f45
Merge branch 'bugfix/ci_check_blobs' into 'master'
...
ci: improve checks for Wi-Fi/PHY libraries
See merge request espressif/esp-idf!16625
2022-01-05 09:26:42 +00:00
Ivan Grokhotkov
e857b260a5
tools: improve virtualenv diagnostics, set python path explicitly
...
- Check if pip is installed for sys.executable before attempting to
create the virtual environment, bail out with an error if not.
- Don't pass --seeder argument to virtualenv if its version is
too old. For example, on Ubuntu 18.04, virtualenv 15.1.0 doesn't
support this argument.
- Pass --python argument to virtualenv to request specific interpreter
to be used.
Closes https://github.com/espressif/esp-idf/issues/8045
2022-01-05 09:55:13 +01:00
Tomas Rezucha
6330d5d312
usb: Extend CDC device with second CDC channel
...
Closes https://github.com/espressif/esp-idf/issues/7020
Closes https://github.com/espressif/esp-idf/pull/8011
2022-01-05 08:18:03 +01:00
Mahavir Jain
6e1f534cab
Merge branch 'feature/esp_tls_api_cleanup' into 'master'
...
esp-tls: mark esp_tls_conn_delete API as deprecated
See merge request espressif/esp-idf!16647
2022-01-05 07:04:09 +00:00
Murray Fordyce
00a23ec544
Fixed left right key confusion in comments.
...
"Left" and "Right" were swapped in some comments.
2022-01-05 14:23:47 +08:00
morris
ce2a220098
Merge branch 'refactor/make_adc2_wifi_private' into 'master'
...
clean up deprecated and private header files for driver and esp_hw_support component
See merge request espressif/esp-idf!16605
2022-01-05 05:42:42 +00:00
Li Kun Qiao
b05b70c7f3
Merge branch 'feature/Add_zigbee_rcp_gateway' into 'master'
...
Zigbee example: rcp and gateway
See merge request espressif/esp-idf!16205
2022-01-05 03:28:03 +00:00
morris
ef5cfb217c
Merge branch 'contrib/github_pr_8172' into 'master'
...
Fix compile issue when TinyUSB task is not enabled. (GitHub PR)
Closes IDFGH-6521
See merge request espressif/esp-idf!16611
2022-01-04 13:21:23 +00:00
Mahavir Jain
c26500cd5a
esp-tls: mark esp_tls_conn_delete API as deprecated
...
It is recommended to use `esp_tls_conn_destroy` API instead
2022-01-04 15:40:07 +05:30
likunqiao
8c577cd208
Zigbee example: add rcp and gateway
...
* provide Zigbee rcp and Zigbee gateway example
* minor comment fix for light example
2022-01-04 17:46:09 +08:00
morris
113cbb88a6
hw_support: remove deprecated header files
2022-01-04 14:16:17 +08:00
morris
cba1f57147
tusb: update copyright header
2022-01-04 10:25:06 +08:00
Ivan Grokhotkov
3049ac6dbb
ci: improve checks for Wi-Fi/PHYlibraries
...
- add missing Wi-Fi header MD5 checks for esp32c3, esp32s3
- check PHY libraries for references to ets_printf, in addition to
checking Wi-Fi libraries. This used to happen until libphy.a was
moved into a separate submodule.
Reported in https://github.com/espressif/esp-phy-lib/issues/3
2022-01-04 00:30:55 +01:00
Roland Dobai
93cb847424
Merge branch 'contrib/github_pr_8100' into 'master'
...
monitor: Print buffer when reading an escape character
Closes IDFGH-6443
See merge request espressif/esp-idf!16584
2022-01-03 18:52:14 +00:00
David Cermak
3ade0509c3
CI: Make public header checker print help/tips on failure
...
Also prints failing compilation command to the log
2022-01-03 09:34:21 +01:00
David Cermak
41706d8d54
CI: Make public header check verbose on *sll* failures
2022-01-03 09:34:21 +01:00
Martin Gaňo
931ad14979
Fixed copyright header
2022-01-03 00:09:31 +01:00
Yuan Jian Min
0c73f20afd
docs: Add user-friendly guide about how to use ws_server_example_test.py
...
Closes https://github.com/espressif/esp-idf/issues/8060
2022-01-02 11:27:05 +00:00
Song Ruo Jing
2906fbfb9e
Merge branch 'feature/support_esp8684_gpio' into 'master'
...
ESP8684: Support ESP8684 gpio
Closes IDF-4019 and IDF-3841
See merge request espressif/esp-idf!15667
2021-12-30 09:16:23 +00:00
Cao Sen Miao
3dd1cfea18
spi_flash: refactor spi_flash.h to decline duplicated code
2021-12-30 14:05:12 +08:00
Fu Hanxi
07ada54d20
Merge branch 'bugfix/pre-commit-windows-support' into 'master'
...
pre-commit: use pathlib to do glob pattern match
Closes IDF-4390
See merge request espressif/esp-idf!16547
2021-12-30 04:11:36 +00:00
Sudeep Mohanty
6a2a6e4220
Merge branch 'feature/remove-depricated-cpu-util-functions' into 'master'
...
esp_hw_support: Removed deprecated CPU util functions
Closes IDF-2868
See merge request espressif/esp-idf!16391
2021-12-29 16:44:17 +00:00
songruojing
e0bc3a923c
esp8684: support GPIO peripheral, IO_MUX, GPIO matrix.
...
Generic GPIO example and GPIO unit test on esp8684 are both supported as well.
2021-12-29 22:01:45 +08:00
songruojing
c10d15cc3a
ut: Support esp8684 with 2M flash being able to run unit test
2021-12-29 22:01:44 +08:00
Marius Vikhammer
a9a7160cb6
MPI: add kconfig option for doing intr-based exp-mod operations
2021-12-29 18:55:48 +08:00
laokaiyao
4f28b33bbc
apll: add lock for apll
2021-12-29 10:13:13 +08:00
laokaiyao
af4e448928
i2s: impove the clock division calculation
...
Reported from: https://esp32.com/viewtopic.php?f=25&t=24542&p=87595#p87595
2021-12-29 10:13:13 +08:00
Sudeep Mohanty
e22b4007d3
esp_hw_support: Removed deprecated CPU util functions
...
The following files were deleted:
- components/esp_hw_support/include/soc/cpu.h
- components/soc/esp32s3/include/soc/cpu.h
The following functions are deprecated:
- get_sp()
The following functions declared in soc/cpu.h are now moved to esp_cpu.h:
- esp_cpu_configure_region_protection()
The following functions declared in soc/cpu.h are now moved to components/xtensa/include/esp_cpu_utils.h:
- esp_cpu_process_stack_pc()
All files with soc/cpu.h inclusion are updated to include esp_cpu.h instead.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-28 16:58:37 +05:30
Fu Hanxi
70df376692
fix(ci): exclude patterns python files while checking tools pattern
2021-12-27 16:35:55 +08:00
Fu Hanxi
6980ad5e12
fix(ci): use pathlib do glob pattern match
2021-12-27 16:29:42 +08:00
Island
ab90076df9
Merge branch 'bugfix/update_ble_mesh_example_license' into 'master'
...
ble_mesh: example: Update example license
See merge request espressif/esp-idf!16501
2021-12-27 03:43:03 +00:00
Alexey Gerenkov
e47b5f6989
tools: Updates OpenOCD version to 'v0.11.0-esp32-20211220'
2021-12-26 04:14:44 +08:00
lly
8fd34d4741
ble_mesh: example: Update example license
2021-12-24 09:08:45 +08:00
Ondrej Kosta
1150a11c56
Fixed ESP32 EMAC driver insufficient TX buffer size
which could followed esp_eth_stop and esp_eth_start sequence
2021-12-23 10:48:38 +01:00
Ivan Grokhotkov
34093631fc
Merge branch 'feature/ccache_in_ci' into 'master'
...
ci: enable ccache for build jobs
Closes IDF-776
See merge request espressif/esp-idf!15828
2021-12-22 09:59:00 +00:00
Ivan Grokhotkov
bfaa97a38a
Merge branch 'bugfix/idf_tools_test_without_versions' into 'master'
...
Tools: Load tool versions automatically for IDF Tools tests
See merge request espressif/esp-idf!16500
2021-12-22 09:21:22 +00:00
Ivan Grokhotkov
ef5bc71372
ci: enable ccache for build jobs
2021-12-22 00:58:49 +01:00
Ivan Grokhotkov
b3b90d6a85
ci: disable ccache when running CMake build system tests
...
Some tests check if certain files are rebuilt when source files are
'touch'ed. With ccache, 'touch'ing source files doesn't cause a
rebuild, hence the test fails. In case IDF_CCACHE_ENABLE was set in
the environment, unset it before starting the tests.
2021-12-22 00:36:00 +01:00
Roland Dobai
3fed02b16b
Tools: Load tool versions automatically for IDF Tools tests
2021-12-21 17:06:05 +01:00
David Čermák
2c0d760816
Merge branch 'bugfix/mdns_network_socket_err_prints' into 'master'
...
mdns: Minor err print fix in socket-networking layer (GitHub PR)
Closes IDFGH-6447 and IDFGH-6434
See merge request espressif/esp-idf!16427
2021-12-21 13:59:01 +00:00
Ivan Grokhotkov
1cbea5a504
Merge branch 'feature/espefuse_adds_args_to_execute_scripts_cmd' into 'master'
...
esptool/espefuse: execute_scripts can be run nested way
See merge request espressif/esp-idf!16411
2021-12-21 12:24:06 +00:00
Martin Válik
4f7c36d859
Merge branch 'feature/usb-msc' into 'master'
...
USB MSC class
Closes IDFGH-4584
See merge request espressif/esp-idf!14573
2021-12-21 10:22:54 +00:00
Mahavir Jain
2264f4d9b8
Merge branch 'feature/memprot_api_unified_c3' into 'master'
...
Memprot API unified - ESP32C3
Closes IDF-3849
See merge request espressif/esp-idf!15086
2021-12-21 08:45:33 +00:00
Martin Vychodil
dd938eb952
System/Security: Memprot API unified (ESP32C3)
...
Unified Memory protection API for all PMS-aware chips (ESP32C3)
Closes JIRA IDF-3849
2021-12-21 01:50:36 +01:00
Martin Valik
73dce765d5
USB: added MSC Host Driver with VFS support
...
Closes https://github.com/espressif/esp-idf/issues/6401
2021-12-20 12:39:45 +01:00
Roland Dobai
b886dc6998
Merge branch 'feature/idf_py_savedefconfig' into 'master'
...
Tools: Add "idf.py save-defconfig" command to generate sdkconfig.defaults based on current sdkconfig
Closes IDF-2970
See merge request espressif/esp-idf!16409
2021-12-20 08:23:43 +00:00
Roland Dobai
eab738c79e
Merge branch 'bugfix/ldgen_plus_in_archive_name' into 'master'
...
ldgen: allow + sign in archive names
Closes IDFGH-6414
See merge request espressif/esp-idf!16432
2021-12-17 12:08:03 +00:00
Ivan Grokhotkov
52fb8624cc
ldgen: allow + sign in archive names
...
Closes https://github.com/espressif/esp-idf/issues/8073
2021-12-17 10:31:01 +01:00
Dániel Buga
04589b565f
Print buffer when reading an escape character
2021-12-17 07:45:05 +01:00
Jakob Hasse
7572f75d6b
refactor (cxx)!: I2C C++ classes use strong value types now
...
Added host-based I2C C++ unit tests
BREAKING CHANGE: I2C C++ interface changes, raw values for
arguments are mostly not allowed anymore.
2021-12-17 14:05:52 +08:00
David Cermak
c0d08faf91
mdns: Unbreak test app cauased by async API change
...
Regression from f391d610e8
2021-12-16 22:46:53 +01:00
David Cermak
f1b8f5c102
mdns: Minor err print fix in socket-networking layer
2021-12-16 16:00:44 +01:00
KonstantinKondrashov
4cef1e2f8b
esptool/espefuse: execute_scripts can be run nested way
...
Added args for execute_scripts cmd
Cleaned up only_burn_at_end args, it does not need anymore
2021-12-16 22:32:20 +08:00
Ivan Grokhotkov
5b3b5f006f
Merge branch 'feature/cmake_weak_deps_helper' into 'master'
...
cmake: add idf_component_optional_requires utility function, simplify some component dependencies
Closes IDF-3086
See merge request espressif/esp-idf!16373
2021-12-16 13:46:45 +00:00
morris
5efc7bf2b4
Merge branch 'bugfix/build_spaces_in_path_kconfig_ldgen_esptool' into 'master'
...
kconfig, ldgen, esptool, cmake: changes to support spaces in paths
See merge request espressif/esp-idf!15429
2021-12-16 10:32:49 +00:00
Armando
4dc0d6b2fe
adc: support adc dma driver on all chips
2021-12-16 00:19:15 +00:00
Roland Dobai
5118dd7cf3
Tools: Add "idf.py save-defconfig" command to generate sdkconfig.defaults
2021-12-15 17:15:31 +01:00
David Čermák
32457784ce
Merge branch 'test/mdns_ci_test' into 'master'
...
mdns: added test app
Closes IDF-4132
See merge request espressif/esp-idf!15736
2021-12-15 06:01:27 +00:00
morris
7b32d8138c
Merge branch 'bugfix/mcpwm_ll_missing_type_conversion' into 'master'
...
mcpwm: fix implicit conversion in LL function
Closes IDFGH-6407
See merge request espressif/esp-idf!16396
2021-12-15 03:58:04 +00:00
Ivan Grokhotkov
09e50b27ed
cmake: handling of space-separated EXTRA_COMPONENT_DIRS
...
COMPONENT_DIRS and EXTRA_COMPONENT_DIRS should be defined as CMake
lists, using 'set' or 'list' commands. Some applications written
for earlier versions of ESP-IDF used to define these variables as
space separated strings.
For example, the following is correct:
set(EXTRA_COMPONENT_DIRS path/to/components path/to/more/components)
The following is not correct:
set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} component1")
set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} component2")
The string "component1 component2" may indicate a single directory
name with a space, or two directory names separated by space.
However due to the fact that such way of defining EXTRA_COMPONENT_DIRS
was supported in IDF 4.3 and earlier, we need to provide backward
compatibility for it.
This commit introduces a new script, split_paths_by_spaces.py, which
is invoked if EXTRA_COMPONENT_DIRS or COMPONENT_DIRS variable contains
spaces. The script tries to determine if each space should be
interpreted as a separator or as part of the directory name.
When this cannot be done unambiguously, the script reports an error.
In all cases when space separators are detected, the script reports
a warning, and prints instructions for fixing the CMakeLists.txt.
Breaking change in this commit: specifying non-existent directories
in COMPONENT_DIRS or EXTRA_COMPONENT_DIRS is no longer allowed.
2021-12-14 19:17:53 +01:00
Ivan Grokhotkov
29489a3303
build system: fix quoting of fragments list passed to ldgen
2021-12-14 19:17:53 +01:00
Ivan Grokhotkov
8da98b864d
build system: pass semicolon-separated directory lists to kconfig
...
New —-list-separator argument of confgen.py and
prepare_kconfig_files.py is used to select which character is used
as list separator. For compatibility with esp-docs, we still keep
support for space separator. Otherwise esp-docs would have to choose
the separator depending on the IDF version.
2021-12-14 19:17:53 +01:00
Suren Gabrielyan
e0d5fca390
mdns: added test app
...
Closes IDF-4132
2021-12-14 16:35:38 +04:00
Ivan Grokhotkov
636ce4750f
ldgen: remove unused variables
2021-12-14 13:14:55 +01:00
Simon
1c82e6eac7
Merge branch 'ci/8684_build_ci' into 'master'
...
CI: Enable ESP8684 build (2nd stage) CI on master (except example build)
Closes IDF-4388
See merge request espressif/esp-idf!16197
2021-12-14 11:12:10 +00:00
Simon
2fa0b2fb4c
Merge branch 'flash/add_th_support' into 'master'
...
spi_flash: add support for TH 1M flash
Closes IDF-4071
See merge request espressif/esp-idf!16210
2021-12-14 09:53:44 +00:00
morris
ac5c2eaa28
mcpwm: fix implicit conversion in LL function
...
Closes https://github.com/espressif/esp-idf/issues/8066
2021-12-14 17:26:55 +08:00
Ivan Grokhotkov
44d18506b2
Merge branch 'feature/posix_compat_functions' into 'master'
...
newlib: implement posix_memalign, sysconf, realpath
Closes IDFGH-4268 and IDFGH-6119
See merge request espressif/esp-idf!16355
2021-12-14 08:56:33 +00:00
Armando (Dou Yiwen)
a86d2aff2c
Merge branch 'bugfix/fix_adc1_chan8_9_not_defined_on_s3' into 'master'
...
adc: fix adc1 channel 8 and 9 not defined bug on s3
Closes IDF-4421
See merge request espressif/esp-idf!16326
2021-12-14 08:10:00 +00:00
Michael (XIAO Xufeng)
590c18f5c8
Merge branch 'feature/support_s3_octal_psram_ecc_feature' into 'master'
...
psram: add octal psram Error Correcting Code (ECC) feature
Closes IDF-4258
See merge request espressif/esp-idf!15832
2021-12-14 06:56:21 +00:00
Ivan Grokhotkov
8df306ab60
freertos,esp_system: make dependencies on some components optional
...
Dependencies on gdbstub, espcoredump, app_trace will only be added
if these components are present in the build.
2021-12-13 18:39:49 +01:00
Ivan Grokhotkov
d83ce227aa
newlib: implement posix_memalign, sysconf, realpath
...
Closes https://github.com/espressif/esp-idf/issues/6119
Closes https://github.com/espressif/esp-idf/issues/7798
2021-12-13 14:40:21 +01:00
Kapil Gupta
8d329951c3
Merge branch 'bugfix/static_analysis_fixes' into 'master'
...
ESP_WIFI: Remove static analysis warnings
See merge request espressif/esp-idf!15871
2021-12-13 12:57:03 +00:00
Armando
9a6f894046
psram: add octal psram ECC feature
2021-12-13 20:24:52 +08:00
Cao Sen Miao
e81841318f
CI: Enable ESP8684 build stage CI on master
2021-12-13 19:18:47 +08:00
Ivan Grokhotkov
7a5ed12c6b
lwip: make some of the component dependencies optional
2021-12-13 10:53:22 +01:00
Ivan Grokhotkov
71a884571c
cmake: add idf_component_optional_requires utility function
...
It can be used in component CMakeLists.txt files when adding "weak"
dependencies between component. A "weak" dependency from A to B is
similar to target_link_libraries(A PRIVATE B), but it gets added only
if B is included in the build.
Use it instead of specifying B as part of PRIV_REQUIRES when the
component can be built (even if with reduced functionality) without
component B being available.
2021-12-13 10:53:22 +01:00
Cao Sen Miao
56edc81b5d
spi_flash: add support for th 1M flash
2021-12-13 11:47:48 +08:00
Michael (XIAO Xufeng)
43643716a2
bugfix (nvs): fixed wrong pointer check
2021-12-13 10:42:45 +08:00
David Čermák
3fc6ca6477
Merge branch 'bugfix/tcp_transport_leak' into 'master'
...
BUGFIX/tcp_transport: Fix Websocket transport initialization
See merge request espressif/esp-idf!16281
2021-12-09 18:29:38 +00:00
Simon
db2d471636
Merge branch 'cleanup/clean_tidy_mr_8684' into 'master'
...
Clean up ESP8684 codes(last time), update register headers
Closes IDF-4300 and IDF-4296
See merge request espressif/esp-idf!16005
2021-12-09 16:18:20 +00:00
David Čermák
43f4a76df0
Merge branch 'refactor/remove_esp_websocket_client_send_api_v5' into 'master'
...
websocket: removing deprecated API "esp_websocket_client_send" in v5.0
Closes IDF-1470
See merge request espressif/esp-idf!16245
2021-12-09 15:33:31 +00:00
Tomas Rezucha
6e9229945a
Merge branch 'feature/usb_host/cdc_driver' into 'master'
...
USB: Add CDC-ACM subclass host driver
See merge request espressif/esp-idf!14515
2021-12-09 15:21:24 +00:00
Ivan Grokhotkov
f812714ec4
Merge branch 'bugfix/idf_exe_dll_deps' into 'master'
...
tools: fix idf_exe dependency on vcruntime140.dll, move it out of IDF
Closes IDF-4410
See merge request espressif/esp-idf!16301
2021-12-09 12:29:55 +00:00
Cao Sen Miao
463cf2cf1c
ESP8684: Clean up ESP8684 code, remove useless code, update headers
2021-12-09 18:36:39 +08:00
Ivan Grokhotkov
6d35cf0f1b
tools: upgrade idf_exe to 1.0.3
...
https://github.com/espressif/idf_py_exe_tool/releases/tag/v1.0.3
2021-12-09 11:33:37 +01:00
Tomas Rezucha
dd1b698075
usb: Add USB host CDC-ACM class driver
2021-12-09 10:28:46 +01:00
Suren Gabrielyan
7f6ab93f7e
websocket: removed deprecated API "esp_websocket_client_send"
...
Closes IDF-1470
2021-12-09 13:28:13 +04:00
Ondrej Kosta
c91aaf161e
Merge branch 'cleanup/netif_glue' into 'master'
...
netif_glue: Removed deprecated esp_eth_set_default_handlers and esp_eth_clear_default_handlers
Closes IDF-3736
See merge request espressif/esp-idf!15988
2021-12-09 08:31:10 +00:00
Mahavir Jain
6380585649
Merge branch 'bugfix/address_few_coverity_scan_issues' into 'master'
...
Fix various warnings generated from Coverity scan
See merge request espressif/esp-idf!16298
2021-12-09 07:04:30 +00:00
Ivan Grokhotkov
c358aceb1b
Merge branch 'feature/soc_caps_build_sys' into 'master'
...
build-system: parse soc caps and integrate into kconfig
Closes IDF-2223
See merge request espressif/esp-idf!15305
2021-12-09 06:54:08 +00:00
Mahavir Jain
203f82cc49
Fix various warnings generated from Coverity scan
...
esp_timer:
Control flow issues (DEADCODE)
Execution cannot reach this statement: "break;".
protocomm_httpd:
(UNUSED_VALUE)
Assigning value from "cookie_session_id" to "cur_cookie_session_id" here, but that stored value is overwritten before it can be used.
esp_flash_api:
Null pointer dereferences (REVERSE_INULL)
Null-checking "chip" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
2021-12-09 09:38:53 +05:30
Kapil Gupta
d3542495ab
ESP_WIFI: Remove static analysis warnings
2021-12-08 17:32:22 +05:30
Armando
964f40be35
adc: fix adc1 channel 8 and 9 not defined bug on s3
2021-12-08 18:21:28 +08:00
Juraj Sadel
7458d52945
tools: Add check for PIP_USER variable
...
Closes https://github.com/espressif/esp-idf/issues/7910
2021-12-08 17:36:58 +08:00
Jakob Hasse
9ee974e626
Merge branch 'refactor/test_utils_memory_check' into 'master'
...
memory leak detection functions now in separate file
See merge request espressif/esp-idf!16011
2021-12-08 09:15:20 +00:00
Ondrej Kosta
7e864d6856
netif_glue: Removed deprecated esp_eth_set_default_handlers and esp_eth_clear_default_handlers
2021-12-08 09:21:30 +01:00
Bao Hong De
23b5e16e93
Merge branch 'bugfix/update_licenses' into 'master'
...
components/bt: Update licenses
Closes BT-2150
See merge request espressif/esp-idf!16273
2021-12-08 06:47:26 +00:00
Jiang Jiang Jian
5a5fe48fcb
Merge branch 'bugfix/crypto_allocate_lldesc' into 'master'
...
crypto: dont create DMA descriptors on the stack
Closes IDFGH-6275, IDFGH-6216, and WIFI-4202
See merge request espressif/esp-idf!16007
2021-12-08 06:40:37 +00:00
morris
fc8506e256
Merge branch 'feature/min_build_test_apps' into 'master'
...
build system: add a G0 & G1 test app
Closes IDF-3088
See merge request espressif/esp-idf!16223
2021-12-08 06:19:12 +00:00
Marius Vikhammer
7fc7c49e5d
crypto: allocate all DMA descriptors to DMA capable memory.
...
These were previously placed on the stack, but the stack could be placed in
RTC RAM which is not DMA capable.
2021-12-08 12:09:01 +08:00
Jakob Hasse
16514f93f0
refactor (test_utils)!: separate file for memory check functions
...
Memory check (leaks and heap tracing) functions for unit tests
now have a separate file now and are renamed for more consistency.
BREAKING CHANGE: renamed memory check function names which may be used
in unit tests outside IDF.
2021-12-08 11:06:00 +08:00
baohongde
c138e47f45
components/bt: Update licenses
2021-12-08 10:59:06 +08:00
Ivan Grokhotkov
0061ad19c2
tools: move idf_exe out of IDF
...
Source code moved into https://github.com/espressif/idf_py_exe_tool ,
so that releases can be built in CI and hosted on Github.
2021-12-08 02:12:57 +01:00
Kevin (Lao Kaiyao)
9bc274b47b
Merge branch 'refactor/i2s_deprecate_confusing_names' into 'master'
...
i2s: deprecate confusing names
Closes IDF-4368
See merge request espressif/esp-idf!16088
2021-12-07 11:52:44 +00:00
David Čermák
eacaa9823d
Merge branch 'feature/remove_pppos' into 'master'
...
PPPoS/Examples: Remove internal component, examples and test
Closes IDF-4078
See merge request espressif/esp-idf!16251
2021-12-07 08:21:07 +00:00
Simon
6f9b89f619
Merge branch 'bugfix/usb_no_rom_log' into 'master'
...
USB_SERIAL_JTAG: Fix the issue that there is no rom/bootloader log when restarting
Closes IDF-4173
See merge request espressif/esp-idf!16057
2021-12-07 08:16:10 +00:00
Zim Kalinowski
c065e45e63
Merge branch 'bugfix/lic_header_checker' into 'master'
...
Tools: Allow all combinations of supported licenses in the header
See merge request espressif/esp-idf!16280
2021-12-07 06:18:10 +00:00
Song Ruo Jing
210b131529
Merge branch 'bugfix/gpio_intr_on_core1_s3' into 'master'
...
gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3
Closes IDFGH-6211 and IDFGH-3635
See merge request espressif/esp-idf!15945
2021-12-07 06:07:19 +00:00
Euripedes Rocha
ae8eeaade9
tcp_transport: Fix Websocket transport initialization
...
In case of a failure in alocation of WS transport handle, parent leaks.
2021-12-06 14:28:30 -03:00
Roland Dobai
211afa9fc8
Tools: Allow all combinations of supported licenses in the header
2021-12-06 16:54:56 +01:00
David Cermak
3ea8992cc4
CI: Cleanup copyright-ignore from pppos files
2021-12-06 12:42:17 +01:00
David Cermak
7541ec684d
CI: Remove PPPoS custom test
...
This test should be migrated to esp-modem component CI
2021-12-06 12:42:17 +01:00
songruojing
91f1159f9c
gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3
...
Add a test case for checking the interrupt on other cores.
Closes https://github.com/espressif/esp-idf/issues/7885
2021-12-06 14:17:03 +08:00
Marius Vikhammer
97d11c709d
soc: Merge soc_caps for H2 rev1 and rev2
...
These files were identical.
2021-12-06 12:37:11 +08:00
Marius Vikhammer
c6d60615c6
build-system: include soc_caps defines into kconfig
...
Adds gen_soc_caps_kconfig.py which parses the soc caps (soc_caps.h) into
a format that can be included in kconfig.
2021-12-06 12:37:07 +08:00
Sudeep Mohanty
40c1f3e06e
freertos: update module handles to struct type
...
This commit updates the handles for the timer, task and event_group
modules to struct type. This matches upstream freertos source.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-06 08:37:06 +05:30
Jan Brudný
228113a399
tools: make copyright check configurable
2021-12-03 10:29:35 +01:00
Mahavir Jain
8fadcd844e
Merge branch 'feature/mbedtls_dynamic_memory' into 'master'
...
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost
Closes IDF-4402
See merge request espressif/esp-idf!15323
2021-12-03 04:55:01 +00:00
Ivan Grokhotkov
e96545b261
Merge branch 'bugfix/esp_adc_cal_cmake' into 'master'
...
esp_adc_cal: minor simplification
See merge request espressif/esp-idf!15814
2021-12-02 15:08:08 +00:00
Ivan Grokhotkov
ac99a93f33
tools: add a test app to check "G1-only" build
...
At the moment the list of components is far from being "G1-only".
"extra_components_which_shouldnt_be_included" list will be reduced in
future MRs.
2021-12-02 15:29:00 +01:00
Ivan Grokhotkov
ae7d1fff49
cmake: add component dependency graph generation helpers
...
These optional feature produces a graphviz file showing component
dependencies. It is useful for debugging reasons why certain
components got added to the build.
2021-12-02 15:29:00 +01:00
David Čermák
f6d0605bd4
Merge branch 'bugfix/add_mqtt_connect_unit_test' into 'master'
...
CI/MQTT: Add more unit tests with actual broker
See merge request espressif/esp-idf!15408
2021-12-02 11:51:17 +00:00
Island
71c66abcb7
Merge branch 'ci/upload_build_example_for_release_test' into 'master'
...
ci: preserve artifacts for local test apps
See merge request espressif/esp-idf!15990
2021-12-02 11:25:44 +00:00
Roland Dobai
717c4de3b8
Merge branch 'bugfix/idf_tools_platform_default_arg' into 'master'
...
tools: make idf_tools.py download --platform argument optional
Closes IDF-2296
See merge request espressif/esp-idf!14070
2021-12-02 09:47:39 +00:00
Li Qi Gan
54c5d42a62
Merge branch 'bugfix/fix_spp_listen_err' into 'master'
...
Component_bt/Fix SPP cannot malloc slot bugs
Closes BCI-300
See merge request espressif/esp-idf!16035
2021-12-02 07:20:58 +00:00
Ivan Grokhotkov
e697e7ff0f
esp_adc_cal: move esp_adc_cal_get_voltage into common source file
2021-12-01 22:00:33 +01:00
Ivan Grokhotkov
ede3dc3ea4
tools: fix some type annotations in idf_tools.py
2021-12-01 20:03:53 +01:00
Ivan Grokhotkov
d835387924
tools: make idf_tools.py download --platform argument optional
...
...as it is described in the docs.
2021-12-01 20:02:19 +01:00
Roland Dobai
f4d1bb017a
Merge branch 'feature/add-wl-support-fatfs' into 'master'
...
Add wear levelling support for fatfs partition generator
Closes IDF-4043 and IDF-2053
See merge request espressif/esp-idf!15798
2021-12-01 14:21:39 +00:00
Mahavir Jain
b9b55bc32b
Merge branch 'contrib/github_pr_7971' into 'master'
...
bugfix: Conflicting declaration error when include<rom/secure_boot.h>
Closes IDFGH-6308
See merge request espressif/esp-idf!16202
2021-12-01 11:59:20 +00:00
Li Jingyi
981ef057c4
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost
2021-12-01 17:15:25 +08:00
liqigan
aa6f86fbc5
fix SPP server bugs when the BTC layer can not allocate a slot for the listen port
2021-12-01 14:59:14 +08:00
Chen Yudong
8fe7d74453
example: build ble_mesh_console example on c3 and s3 as well
2021-12-01 12:03:34 +08:00
Tomas Rezucha
ebaca79557
other: Move cbor, jsmn and libsodium to idf-component-manager
...
Marginal components are being carved out from esp-idf and moved to
https://github.com/espressif/idf-extra-components .
They are distributed via idf-component-manager, see
https://components.espressif.com .
2021-11-30 21:44:48 +01:00
Mahavir Jain
f667b1039b
Fix copyright headers for few include files
2021-11-30 22:25:33 +05:30
Anton Maklakov
65e38f903c
Merge branch 'feature/cmake_linux_arm64' into 'master'
...
tools: updates for linux-arm64 (aarch64) platform
See merge request espressif/esp-idf!16176
2021-11-30 14:29:52 +00:00
Ivan Grokhotkov
11547ca56e
tools: don't install binutils-esp32ulp on aarch64
...
Once new binutils-esp32ulp is made and aarch64 artifacts are added,
will add these tools back.
Related to https://github.com/espressif/esp-idf/issues/6432
2021-11-30 14:00:25 +01:00
Fu Hanxi
02ff0bcee4
Merge branch 'ci/test_pytest_embedded' into 'master'
...
CI: use pytest-embedded
See merge request espressif/esp-idf!15984
2021-11-30 09:50:29 +00:00
Chen Yudong
e4a86f203f
ci: preserve artifacts for local test apps
2021-11-30 17:39:00 +08:00
Omar Chebib
32f2f7db5e
Merge branch 'bugfix/force_cmake_flags' into 'master'
...
Build: Force CMake variables to be set, regardless of the cache status
Closes IDFGH-5799
See merge request espressif/esp-idf!15382
2021-11-30 09:14:59 +00:00
Fu Hanxi
94578f4658
ci: add pytest-embedded CI jobs
2021-11-30 09:42:12 +08:00
Fu Hanxi
3222b5c720
fix(find_apps): won't check supported targets if "recursive" is unflagged
2021-11-30 09:04:10 +08:00
Martin Gano
7460deeae8
support for wear levelling in fatfs partition generator
...
Closes https://github.com/espressif/esp-idf/issues/5785
2021-11-29 16:57:47 +01:00
Cao Sen Miao
17ea9d7faf
USB_SERIAL_JTAG: Fix the issue that there is no rom log when restarting
2021-11-29 20:26:09 +08:00
Mahavir Jain
92b1ea2199
Merge branch 'bugfix/hardware_mpi_fallback_issue' into 'master'
...
mbedtls: fix hardware MPI (bignum) related regression
See merge request espressif/esp-idf!15854
2021-11-29 11:19:51 +00:00
Ivan Grokhotkov
b3f5d3b685
tools: add CMake for linux-arm64 (aarch64) platform
...
Allows installing cmake on aarch64 linux platforms. Also necessary
when building IDF docker image on macOS aarch64.
Part of https://github.com/espressif/esp-idf/issues/6432
2021-11-29 11:31:29 +01:00
Omar Chebib
0baf2c43cc
Build: CMake compiler flags will be set, regardless of the cache status
...
Defining CMake variables from the command-line or from another CMake project,
such as `-DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS=`, caused a link failure as ESP
CMake was unable to set its proper compilation flags.
Additional CMake compiler flags can now be provided by another project.
* Closes https://github.com/espressif/esp-idf/issues/7507
2021-11-29 09:48:13 +00:00
Simon
e9f3f56ba1
Merge branch 'refactor/delete_clk_header' into 'master'
...
cleanups: Delete some deprecated headers to make idf cleaner(clk.h esp_cache_err.h)
Closes IDF-4294
See merge request espressif/esp-idf!16012
2021-11-29 07:31:55 +00:00
Mahavir Jain
c097e6bcab
mbedtls: fix hardware MPI (bignum) related regression
...
In commit de22f3a4e5
, combination of
hardware and software MPI (bignum) related approach was used to
work around chip (e.g. ESP32-C3) limitation of max 3072 bits support.
This was done using linker "--wrap" flag but since the relevant API is
being used in same translation (compilation unit), hardware mode was not
getting used in some cases (e.g., RSA key generation).
This commit modified internal mbedTLS API and makes software+hardware
combination deterministic.
2021-11-29 15:13:05 +08:00
Ivan Grokhotkov
68cf4ef2be
Merge branch 'feature/remove_component_manager_tests' into 'master'
...
ci: Remove component manager test from build system tests
Closes IDFCI-809 and IDFCI-929
See merge request espressif/esp-idf!16104
2021-11-26 16:39:56 +00:00
David Cermak
acf0caa04a
MQTT: Add more unit tests with actual broker
2021-11-26 11:45:32 +01:00
Cao Sen Miao
7f0a746e6a
move brownout trax cache_int_err to private folder
2021-11-26 18:27:53 +08:00
Roland Dobai
a8c95dcd00
Merge branch 'feat/rm_c_kconfig' into 'master'
...
tools: Delete the old kconfig tools
Closes IDF-1111
See merge request espressif/esp-idf!16079
2021-11-26 09:51:18 +00:00
Anton Maklakov
a72893760a
ci: Fix build system tests to clean the dir
2021-11-26 10:25:21 +01:00
Cao Sen Miao
eddc196081
esp_clk: refactor target/clk.h to private/esp_clk.h
2021-11-26 14:56:30 +08:00
Michael (XIAO Xufeng)
c4310fb0db
Merge branch 'feature/add_h2_beta2_target_support' into 'master'
...
esp32h2: Add support for esp32h2 beta2 version
Closes IDF-4230
See merge request espressif/esp-idf!15630
2021-11-26 03:56:01 +00:00
Fu Hanxi
1f14dc5b74
ci: abort with all ImportErrors when detecting ImportError while search tests cases
2021-11-25 18:56:19 +08:00
Ondrej Kosta
a789cf705f
Merge branch 'feature/eth_raw_frame_intf' into 'master'
...
Feature/eth raw frame intf
Closes IDF-4102
See merge request espressif/esp-idf!13873
2021-11-25 07:21:19 +00:00
Shu Chen
87d19d7ef9
Merge branch 'feature/Add_zigbee_light_example' into 'master'
...
zigbee: add light example
See merge request espressif/esp-idf!15458
2021-11-25 02:14:53 +00:00
Shu Chen
a08d2732d5
Merge branch 'bugfix/esp32h2_iperf_udp_WTD_trigger' into 'master'
...
fix watch dog trigger when iperf udp is running
See merge request espressif/esp-idf!15625
2021-11-25 01:56:26 +00:00
Roland Dobai
f64b3902cf
tools: Delete the old kconfig tools
...
The old kconfig tool is not used anymore. It was replaced with the
kconfiglib Python package.
2021-11-24 13:07:56 +01:00
Sergei Silnov
84cb207931
ci: Remove component manager test from build system tests
...
Component manager itself has a set of integration tests
that run against different ESP-IDF versions
2021-11-24 12:32:22 +01:00
Martin Vychodil
388686804e
Merge branch 'test/esp32s2_fatfs_speedtest_ci_fix' into 'master'
...
[Storage]: Re-enable FatFS write/read speed test
Closes IDF-1421
See merge request espressif/esp-idf!15383
2021-11-24 10:15:53 +00:00
laokaiyao
fa4e77eb44
i2s: deprecate confusing names
2021-11-24 13:21:13 +08:00
laokaiyao
f21020ce04
esp32h2: update reg and struct for beta2
2021-11-24 12:34:17 +08:00
wuzhenghui
388615add0
update esp32h2beta2 chip_id to 14
2021-11-24 12:30:43 +08:00
wuzhenghui
968c42d88c
822 FPGA rnv init
2021-11-24 12:30:17 +08:00
laokaiyao
b9a84b96ce
esp32h2: add support for beta2
2021-11-24 12:30:17 +08:00
Sudeep Mohanty
a5bd8f4a65
Merge branch 'doc/s3-prog-guide-system-chip-independent' into 'master'
...
docs: update programming guide for esp32s3 chip independent system chapters
Closes IDF-3308
See merge request espressif/esp-idf!15992
2021-11-24 04:29:21 +00:00
zhangwenxu
0fe32adb58
iperf: handle NO_MEM error in OpenThread iperf
...
* simplify iperf send/recv loop
2021-11-24 11:20:32 +08:00
Ondrej Kosta
3a7a67f174
netif: added ESP-NETIF L2 TAP interface
2021-11-23 11:17:22 +01:00
Sudeep Mohanty
722a6b7cf4
docs: update programming guide for esp32s3 chip independent system chapters
...
This commit updates the chip independent system chapters of the
programming guide for esp32s3.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-11-23 12:48:10 +05:30
Dai Zi Yan
4f5b6cfaeb
Merge branch 'docs/update_CN_trans_timers' into 'master'
...
Update CN trans for timers.rst and ota.rst
Closes DOC-2189
See merge request espressif/esp-idf!16013
2021-11-23 07:16:12 +00:00
Dai Zi Yan
1ca83a5bc9
Update CN trans for timers.rst and ota.rst
2021-11-23 07:16:11 +00:00
Hrudaynath Dhabe
75f32ffdcf
Merge branch 'feature/support_eap_fast' into 'master'
...
esp_wifi: Add support for EAP-FAST authentication method.
Closes WIFI-2820 and WIFI-4198
See merge request espressif/esp-idf!14232
2021-11-23 06:22:22 +00:00
Wang Meng Yang
ee5192960c
Merge branch 'bugfix/fix_static_check_error_mr' into 'master'
...
Fix the high-impact issues from the code analysis report from customer.
Closes BT-2079
See merge request espressif/esp-idf!15976
2021-11-23 03:07:05 +00:00
Hrudaynath Dhabe
5f96a6ffd2
esp_wifi: Add support for EAP-FAST authentication method
2021-11-22 17:33:36 +05:30
“YangZhao”
12ec4866b8
Fix the high-impact issues from the code analysis report from customer.
...
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-11-22 17:38:02 +08:00
Darian Leung
9b3796d2f1
freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions
...
Add TRY_ENTRY_CRITICAL() API to all for timeouts when entering critical sections.
The following port API were added:
- portTRY_ENTER_CRITICAL()
- portTRY_ENTER_CRITICAL_ISR()
- portTRY_ENTER_CRITICAL_SAFE()
Deprecated legacy spinlock API in favor of spinlock.h. The following API were deprecated:
- vPortCPUInitializeMutex()
- vPortCPUAcquireMutex()
- vPortCPUAcquireMutexTimeout()
- vPortCPUReleaseMutex()
Other Changes:
- Added portMUX_INITIALIZE() to replace vPortCPUInitializeMutex()
- The assembly of the critical section functions ends up being about 50 instructions longer,
thus the spinlock test pass threshold had to be increased to account for the extra runtime.
Closes https://github.com/espressif/esp-idf/issues/5301
2021-11-22 13:28:39 +08:00
xiongweichao
ce2d72ddfb
Missing break in switch
2021-11-18 19:47:09 +08:00
xiongweichao
101ad32110
Dereference before null check
2021-11-18 19:38:48 +08:00
Roland Dobai
460f3ad7b6
Merge branch 'feat/drop_msys' into 'master'
...
Tools: Remove MSYS/Mingw support
Closes IDF-3954
See merge request espressif/esp-idf!15862
2021-11-18 10:58:43 +00:00
Anton Maklakov
231571301c
Merge branch 'feature/oocd_ver_upgrade' into 'master'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20211111'
See merge request espressif/esp-idf!15911
2021-11-18 07:21:44 +00:00
Fu Hanxi
cca43f5a2d
Merge branch 'feature/idf_py_clang_tidy_check' into 'master'
...
feat(idf.py): add `idf.py clang-check` and `idf.py clang-html-report`
Closes IDF-1909
See merge request espressif/esp-idf!15848
2021-11-17 07:02:16 +00:00
Matus Fabo
a390efe798
fix: pin definitions for other boards
...
fix: re-enabled fatfs r/w test on sdspi
fix: copyright notice
add: pin definitions for esp32c3
fix: Changed fixed spi dma channel to a macro definition
2021-11-16 14:13:25 +01:00
Ondrej Kosta
6d4ff2c05e
Merge branch 'feature/eth_ioctl_speed_duplex' into 'master'
...
esp_eth: esp_eth_ioctl update
Closes IDF-1240 and IDF-4060
See merge request espressif/esp-idf!15607
2021-11-16 11:56:18 +00:00
Roland Dobai
5ae464b843
Merge branch 'bugfix/force_objdump_to_use_local_setting' into 'master'
...
ldgen: override LC_ALL to C before running objdump
Closes IDFGH-6231
See merge request espressif/esp-idf!15964
2021-11-16 09:48:05 +00:00
Ondrej Kosta
d1f2a3dfcc
esp_eth: added ioctl options to set Ethernet speed and duplex mode
...
esp_eth_ioctl third argument always acts as untyped pointer to memory now
2021-11-16 08:34:07 +01:00
Fu Hanxi
47fc761299
feat(idf.py): add idf.py clang-check
and idf.py clang-html-report
2021-11-16 14:08:59 +08:00
morris
2e008825a9
Merge branch 'feat/rm_makefiles' into 'master'
...
Build & config: Remove leftover files from the unsupported make build system
Closes IDF-4273 and IDF-2827
See merge request espressif/esp-idf!15829
2021-11-16 03:44:41 +00:00
Simon Chupin
909ae90867
replace the old header in ldgen.py with a new SPDX header style and delete it from check_copyright_ignore.txt to complete pipelines without errors
2021-11-15 18:03:33 +01:00
Tian Yunhao
b246ec86f3
ldgen: override LC_ALL to C before running objdump
...
When using a Linux system configured with `zh_CN.UTF-8` as `$LANG`,
and running raw cmake command to build the project (rather than using
`idf.py build`), output of objdump will be Chinese
(like `在归档文件 libesp_pm.a 中`), resulting in parsing error
`pyparsing.ParseException: Expected "In archive" (at char 0), (line:1, col:1)`
at entity.py line 129.
This commit forces objdump to use raw locale setting (`C`), to ensure
it always make English output that's able to be parsed.
Closes https://github.com/espressif/esp-idf/pull/7903
2021-11-15 17:55:24 +01:00
Simon Chupin
c3ce9c2608
Merge branch 'feature/json_schema_for_idf_size' into 'master'
...
tools: add json schema for idf_size
Closes IDF-4133
See merge request espressif/esp-idf!15530
2021-11-15 12:51:59 +00:00
Alexey Gerenkov
abce9cf021
idf_tools: Adds 'linux-armhf' platform support
2021-11-12 16:07:28 +08:00
Alexey Gerenkov
051133d95b
tools: Updates OpenOCD version to 'v0.10.0-esp32-20211111'
2021-11-12 16:07:28 +08:00
Cao Sen Miao
ce1ee3d8ae
psram: add ESP32-D0WD-R2-V3 support
2021-11-12 13:52:24 +08:00
Omar Chebib
76fbd73b20
Merge branch 'bugfix/ledc_auto_clk_refactor' into 'master'
...
ledc: improved support for ESP32-C3 and refactored divisor calculation
Closes IDF-2441
See merge request espressif/esp-idf!13837
2021-11-12 03:21:46 +00:00
Roland Dobai
74ee9b95f9
Tools: Remove makefile support from "idf.py create-project"
2021-11-11 15:32:36 +01:00
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
likunqiao
a9146920b9
Zigbee: Add light example
...
* provide light example for acting as zigbee coordinator, router and end-device
* remove unused componenent for example usage
* remove unused variable
* clean up unused header include for example
* update the license header
* update copyright
* Add readme for instruction adding esp-zboss-lib component
* esp-idf:update copy_right_check ignore file
* CI: fix the ci check error from pipeline
* sdkconfig: default set change for better user use
* use Button (BOOT) as switch input
* update the statemachine for debouncing
* esp-zboss-lib: support lib 0.0.2
* fix warning issue from example
2021-11-11 19:03:01 +08:00
Omar Chebib
1e8a0909f6
LEDC: divisor calculation will now be rounded up when necessary
...
Closes https://github.com/espressif/esp-idf/issues/7722
2021-11-11 12:21:22 +08:00
Omar Chebib
aa2ca7dd94
LEDC: improved support for ESP32-C3 and refactored divisor calculation
...
As ESP32C3 does not have support for REF_TICK source clock, it is now not
possible to select it anymore.
Auto cfg clock has been improved for all boards.
2021-11-11 12:21:15 +08:00
Omar Chebib
9d5923a13e
IPC: Move ipc sources to esp_system
...
IPC shall be put back into esp_system as it is an 'OS additions'.
2021-11-11 10:30:01 +08:00
Roland Dobai
a1d0d1ffbe
Tools: Remove MSYS/Mingw support
...
MSYS/Mingw was deprecated since v4.0 and it is removed in v5.0. Please
follow the getting started guide of the documentation to set up a
Windows Command Line or Power Shell based environment.
2021-11-10 17:25:07 +01:00
simon.chupin
cd5e830445
tools: add json schema for idf_size
2021-11-10 16:21:50 +01:00
Roland Dobai
016198f68f
Merge branch 'feat/remove_make' into 'master'
...
Build & config: Remove the "make" build system
Closes IDF-4272
See merge request espressif/esp-idf!15818
2021-11-10 14:13:25 +00:00
Anton Maklakov
89fe13b8a0
Merge branch 'bugfix/tools_fix_win_gdb_dlls' into 'master'
...
tools: Fix missed DLLs in GDB for Windows
See merge request espressif/esp-idf!15866
2021-11-10 12:14:29 +00:00
David Čermák
65ac7cb029
Merge branch 'bugfix/eth_enc28j60_packet_filter' into 'master'
...
esp_eth: allow multicast packets for enc28j60 (GitHub PR)
Closes IDFGH-6151
See merge request espressif/esp-idf!15874
2021-11-10 11:34:56 +00:00
David Čermák
f4bb97c56a
Merge branch 'bugfix/DM9051_network_communication_abnormal' into 'master'
...
esp_eth: DM9051 tx throughput rate optimization
See merge request espressif/esp-idf!15099
2021-11-10 11:31:55 +00:00
Roland Dobai
9c1d4f5b54
Build & config: Remove the "make" build system
...
The "make" build system was deprecated in v4.0 in favor of idf.py
(cmake). The remaining support is removed in v5.0.
2021-11-10 09:53:53 +01:00
Anton Maklakov
049ee30e40
tools: Fix missed DLLs in GDB for Windows
2021-11-10 10:21:18 +07:00
Andy Carle
3e9cdbdedf
enc28j60: allow multicast packets in default enc28j60 configuration
2021-11-09 01:34:15 -08:00
Tian Sen Wen
c6ba84e5cd
esp_eth: optimize dm9051 Tx throughput
2021-11-09 14:04:11 +08:00
Roland Dobai
dfc68bdab9
tools: Create the ".espressif" directory on the first run on clean system
...
Closes https://github.com/espressif/esp-idf/issues/7848
2021-11-08 18:58:21 +01:00
morris
83d16aa00c
gdma: support IRAM interrupt
2021-11-08 16:14:51 +08:00
morris
16677b0d3c
global: make periph enable/disable APIs private
...
peripheral enable/disable usually should be managed by driver itself,
so make it as espressif private APIs, not recommended for user to use it
in application code.
However, if user want to re-write the driver or ports to other platform,
this is still possible by including the header in this way:
"esp_private/peripheral_ctrl.h"
2021-11-08 10:37:47 +08:00
Cao Sen Miao
f6da46d798
CI: add fast_template_app and tools support
2021-11-06 17:33:44 +08:00
Cao Sen Miao
7f5c415401
ESP8684: introduce a new target esp8684
2021-11-06 17:33:44 +08:00
Roland Dobai
b1817115ce
Merge branch 'feature/improve_chip_target_detection' into 'master'
...
tools: Improve chip target detection
Closes IDF-3751
See merge request espressif/esp-idf!15691
2021-11-05 15:31:32 +00:00
Fu Hanxi
2d8979e929
Merge branch 'ci/support_nightly_build_keyword_in_ttfw' into 'master'
...
ci: support keyword `nightly_run` in ttfw_idf decorator
Closes IDFCI-923
See merge request espressif/esp-idf!15779
2021-11-05 10:18:07 +00:00
Ivan Grokhotkov
0b376251df
Merge branch 'feature/kconfig_for_reproducible_build' into 'master'
...
Feature: kconfig for reproducible build
See merge request espressif/esp-idf!15100
2021-11-04 22:07:29 +00:00
Ondrej Kosta
cb8432e0f2
esp_eth: KSZ8851SNL, enable Rx multicast in MAC filter
...
Closes https://github.com/espressif/esp-idf/issues/7750
2021-11-04 16:17:45 +00:00
Roland Dobai
71dd63c5f1
Merge branch 'feature/gcov_esp32c3' into 'master'
...
debug_stubs and gcov: Refactor and add support for RISCV
See merge request espressif/esp-idf!15212
2021-11-04 13:56:18 +00:00
Wang Meng Yang
328450b8c2
Merge branch 'bugfix/fix_ble_prefered_ext_conn_parameter_detection' into 'master'
...
component/bt: check the ble ext conn parameter
See merge request espressif/esp-idf!15767
2021-11-04 12:23:42 +00:00
Jakob Hasse
465d6a37cc
Merge branch 'feature/wear_levelling_test_app' into 'master'
...
wear_levelling: move tests from unit-test-app to a component test app
See merge request espressif/esp-idf!15582
2021-11-04 06:58:04 +00:00
Wu Zheng Hui
f64efe6076
Merge branch 'feature/update_c3_h2_soc_caps' into 'master'
...
heap: update memory heap caps
See merge request espressif/esp-idf!15792
2021-11-04 06:34:25 +00:00
wuzhenghui
ca1c4114bc
heap: update esp32&s2&c3&h2 soc caps
2021-11-04 10:40:57 +08:00
Alexey Gerenkov
e7dd7d3110
gcov: Fixes interference of gcov dump with normal IPC calls
2021-11-04 01:33:24 +03:00
Alexey Gerenkov
bb9cd84cdc
debug_stubs: Refactor and add support for RISCV
2021-11-04 01:33:24 +03:00
David Čermák
9466fd1e16
Merge branch 'bugfix/LAN8720_reset_assertion' into 'master'
...
Increased LAN8720 ETH-PHY reset assertion time
Closes IDFGH-6132 and IDFGH-6018
See merge request espressif/esp-idf!15636
2021-11-03 16:29:09 +00:00
simon.chupin
bca79c75d5
tools: Improve chip target detection
2021-11-03 15:36:56 +01:00
Martin Gano
3c4034d36e
support for generating FATFS on a host
2021-11-03 13:06:11 +01:00
Ivan Grokhotkov
5962a7e931
wear_levelling: move tests from unit-test-app to a component test app
...
* Migrate test cases from IDF test runner to Unity fixture.
* Tighten heap checks in the test case a bit.
* Run formatting script on test_wl.c
* NEW: Define 4 test configurations, including configs with 512 byte
sector size. Previously these configs weren't tested in CI.
* NEW: The test app only runs for ESP32 and ESP32-C3 (one chip for
each architecture). The component is pretty high level so we don't
need to test it for each chip. This reduces the load on CI.
2021-11-03 09:56:20 +01:00
Jakob Hasse
32e3444701
feat (pthread): reader-writer locks implementation
...
* Added implementation based on cond. variables
* Added unit tests
Closes https://github.com/espressif/esp-idf/issues/7411
2021-11-03 16:38:14 +08:00
Jakob Hasse
7df16fdf8f
Merge branch 'feature/i2c_mock' into 'master'
...
feat (driver): Added mocking for i2c.h
See merge request espressif/esp-idf!15641
2021-11-03 05:49:04 +00:00
Mahavir Jain
268143b732
Merge branch 'bugfix/mbedtls_disable_dhe_by_default' into 'master'
...
mbedtls: disable Diffie-Hellman key exchange modes by default
Closes IDF-1230
See merge request espressif/esp-idf!15642
2021-11-03 04:30:30 +00:00
Anton Maklakov
4800f2f005
Merge branch 'ci/remove_make' into 'master'
...
CI: Don't build with "make" because the support is removed in v5.0
Closes IDF-4267
See merge request espressif/esp-idf!15762
2021-11-03 03:17:01 +00:00
Fu Hanxi
636b311ec0
ci: support keyword nightly_run
in decorator
...
The test case with keyword `nightly_run` would be skipped in normal CI
pipelines. only would be triggered when `NIGHTLY_RUN` in environment
variables.
2021-11-03 11:11:38 +08:00
Shu Chen
d756f31da9
Merge branch 'bugfix/esp32h2_iperf_set_dest_ip6_addr_bugs' into 'master'
...
openthread: fix iperf get dest_ip6_addr
See merge request espressif/esp-idf!15577
2021-11-03 02:57:02 +00:00
Shu Chen
117bb79ec2
Merge branch 'feature/add_ieee802154_timer' into 'master'
...
ieee802154: Add ieee802154 timer APIs
See merge request espressif/esp-idf!15752
2021-11-03 02:31:03 +00:00
Darian
ea6a0dde5a
Merge branch 'bugfix/usb_hcd_robustness' into 'master'
...
USB Host: Fix how disconnections an EP halts are handled
Closes IDFGH-5797 and IDFGH-6108
See merge request espressif/esp-idf!15640
2021-11-02 13:50:09 +00:00
Roland Dobai
e89fc00e5b
CI: Don't build with "make" because the support is removed in v5.0
2021-11-02 13:13:31 +01:00
David Čermák
7bd93e3362
Merge branch 'bugfix/eth_emac_reset_dma_desc' into 'master'
...
esp-eth: emac: Reset Tx DMA channel owner on init
Closes IDFGH-6071
See merge request espressif/esp-idf!15685
2021-11-02 10:29:02 +00:00
zhangwenxu
1bb69cde88
openthread: fix iperf get dest_ip6_addr
...
* update copyright headers
2021-11-02 17:10:12 +08:00
Ondrej Kosta
380864861f
Copyright message fix for 'Increased LAN8720 ETH-PHY reset assertion time'
2021-11-02 09:57:03 +01:00
Mahavir Jain
f7ed95349f
mbedtls: fix dynamic buffer feature build
2021-11-02 15:52:09 +08:00
xiewenxiang
f0ef891901
component/bt: check the ble ext conn parameter
2021-11-02 14:33:24 +08:00
Darian Leung
54b6c902d3
usb: Add USB Host Library sudden disconnect tests
2021-11-02 14:30:58 +08:00
Darian Leung
0c758c8557
usb: Fix how the HCD handles sudden disconnection
...
This commit fixes how the USB Host HCD handles sudden disconnections.
Bugs:
- HW channels remain active when the port suddenly disconnects, and
previously the channel would be disabled by setting the disabled bit,
then waiting for a disabled interrupt. However, ISOC channels do not
generate the disabled interrupt when the port is invalid, thus leading
to tasks getting indefinitely blocked in hcd_pipe_command().
Fix:
On a sudden disconnection, forcibly treat all channels as halted even
if their HCCHAR.ChEna bit is still set. We do a soft reset after a port
error anyways, so the channels will eventually be reset.
Closes https://github.com/espressif/esp-idf/issues/7505
2021-11-02 14:30:58 +08:00
Darian Leung
0159c37cf2
usb: Fix LL 8/16 bit register field access
...
This commit addes the 8/16 bit register field access workarounds to
the DWC_OTG peripheral. This workaround was applied to all other
peripherals in commit 874a720286
.
2021-11-02 14:30:58 +08:00
Jakob Hasse
1eb96cfc79
feat (driver)!: Added mocking for i2c.h
...
BREAKING CHANGE: removed ringbuf.h from public i2c.h
2021-11-02 14:16:31 +08:00
xiaqilin
3fc4a0c9c1
ieee802154: add timer APIs
2021-11-02 14:08:34 +08:00
Zim Kalinowski
13ab2cd9f9
Merge branch 'bugfix/spiram_abort_allocation_failure' into 'master'
...
SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram
Closes IDFGH-5870
See merge request espressif/esp-idf!15454
2021-11-02 05:36:18 +00:00
Omar Chebib
96391ef62b
SPIRAM: 'Abort on allocation failure' should not trigger when there is available SPI ram
2021-11-02 05:36:18 +00:00
morris
b2c2e2302b
Merge branch 'feature/KSZ8091_support' into 'master'
...
Add support for Eth PHY KSZ8091
Closes IDFGH-5845
See merge request espressif/esp-idf!15702
2021-11-02 02:37:53 +00:00
Ivan Grokhotkov
f47e8f90ce
Merge branch 'bugfix/multi_heap_get_info_impl' into 'master'
...
heap: fix multi_heap_get_info_impl
See merge request espressif/esp-idf!15470
2021-11-01 21:21:22 +00:00
Mahavir Jain
e6db26cc40
Merge branch 'bugfix/no_yield_for_efuse_virt_mode' into 'master'
...
spi_flash: Fix, no CPU release time for an erase operation when OS is not running
See merge request espressif/esp-idf!15734
2021-11-01 18:22:29 +00:00
Simon Chupin
5b17d80a89
Merge branch 'bugfix/archive_details_always_run_like_diff' into 'master'
...
tools: fix bug with idf_size argument archive_details
Closes IDF-4192
See merge request espressif/esp-idf!15579
2021-11-01 17:42:18 +00:00
simon.chupin
8cff2a27e6
change --archive_details output
2021-11-01 17:43:31 +01:00
gaoxiaojie
0028e2c23c
heap: fix multi_heap_get_info_impl
2021-11-01 16:08:07 +00:00
ma-lalonde
0f754551dd
Add support for Eth PHY KSZ8091
2021-11-01 11:11:18 -04:00
KonstantinKondrashov
884a6b17cc
spi_flash: No CPU release time for an erase operation when OS is not running
...
During the early start, the virtual eFuse mode can call erase operations when OS is not yet running.
Possible workaround: CONFIG_SPI_FLASH_YIELD_DURING_ERASE=n
Fixed for the legacy flash driver as well.
2021-11-01 21:49:24 +08:00
Roland Dobai
2606f3101b
Merge branch 'bugfix/xtensa_clang_version_regex' into 'master'
...
fix(tool): export.sh cannot export xtensa-clang if installed
See merge request espressif/esp-idf!15751
2021-11-01 11:26:31 +00:00
Cao Sen Miao
049349a087
Merge branch 'feature/usb_serial_default_option' into 'master'
...
usb_serial_jtag: Add secondary menu to support using usb_serial port to print when primary is uart
Closes IDF-3525 and IDF-3555
See merge request espressif/esp-idf!14554
2021-11-01 11:22:35 +00:00
Cao Sen Miao
adfb7bed96
vfs_usb_serial: set secondary selection for making usb port can output under default menu
2021-11-01 15:48:36 +08:00
Jan Procházka
fb22c1f182
fatfs: Implementation of disk_status nad disk_initialize for SD/MMC card
...
FATFS provides a disk status and disk initialize callback which were not
implemented. Implementation has very low impact on SD/MMC speed and
fixes issues, when trying to open file when SD card was removed from
slot and not deinited.
If disk_status returns STA_NOINIT, it will always continue with
disk_initialize. If that returns 0, it will continue like everything is
working normally. So there has to be the same check as in disk_status.
Return of disk_initialize is always checked like this for STA_NOINIT or
STA_PROTECT so if command fails, we return the STA_NOINIT.
stat = disk_initialize(pdrv);
if (stat & STA_NOINIT) return FR_NOT_READY;
if (stat & STA_PROTECT) return FR_WRITE_PROTECTED;
Closes IDF-4125
2021-11-01 15:11:40 +08:00
Omar Chebib
5206afe755
Merge branch 'bugfix/fix_select_timeout' into 'master'
...
VFS: `select` function's timeout is now POSIX compliant
Closes IDFGH-5807
See merge request espressif/esp-idf!15374
2021-11-01 07:01:20 +00:00
Fu Hanxi
6c7100cce0
fix(tool): export.sh cannot export xtensa-clang if installed issue
2021-11-01 14:59:11 +08:00
Steinbart Andreas (HAU-EDS)
f9d6fa2b84
esp-eth: emac: Reset Tx DMA channel owner on init
...
Reset ethernet TX DMA descriptors sets owner to CPU, so re-installing the ethernet driver will now not result in packet loss
Merges https://github.com/espressif/esp-idf/pull/7752
2021-11-01 06:16:59 +00:00
Mahavir Jain
a89d56082f
Merge branch 'bugfix/memprot_bad_esp_restart_check' into 'master'
...
System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart()
See merge request espressif/esp-idf!15414
2021-10-29 12:17:32 +00:00
Island
c33db5d4f5
Merge branch 'bugfix/ble_mesh_update_license' into 'master'
...
ble_mesh: stack: update license of esp specific files
See merge request espressif/esp-idf!15603
2021-10-29 09:56:33 +00:00
Martin Vychodil
dffb92e45f
System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart()
...
esp_restart()/panic_restart() never resets the Digital system (so far required only by the Memprot feature) as there's a typo in the corresponding #define:
it checks CONFIG_ESP_SYSTEM_CONFIG_MEMPROT_FEATURE instead of CONFIG_ESP_SYSTEM_MEMPROT_FEATURE.
Issue fixed.
IDF-4094
2021-10-29 16:28:28 +08:00
Sudeep Mohanty
4846222102
freertos: update freertos folder structure to match upstream
...
The following changes have been made:
1. All FreeRTOS kernel source files are now placed in the
freertos/FreeRTOS-Kernel folder to match with the upstream folder structure.
2. All kernel include files are now placed in freertos/FreeRTOS-Kernel/include.
3. All port files are now placed in freertos/FreeRTOS-Kernel/portable.
4. All additions/customizations are placed in freertos/esp_additions.
5. All other miscellaneous files (README, License files etc.) are moved to
freertos/FreeRTOS-Kernel folder to match with the upstream.
6. Updated esp-cryptoauthlib to latest commit to resolve FreeRTOS
include dependencies.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-10-29 12:05:13 +08:00
lly
eeb9a9bd2c
ble_mesh: stack: Update license of esp specific files
2021-10-28 21:20:27 +08:00
Sudeep Mohanty
ac0cbebb89
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers
...
This commit fixes a bug in no-split and allow-split ring buffers free buffer size calculation.
When the free size available in the buffers less than the size of one item header,
the function prvGetCurMaxSizeNoSplit/AllowSplit() incorrectly returned the maxItemSize instead of 0.
This is due to the comparision between a negative and a positive value
where both operands are treated as unsigned during the comparision operation,
thereby treating the negative operand as a large integer.
Also added new unit tests to test buffer-full and almost-full conditions
where this scenario is likely to be hit.
Closes https://github.com/espressif/esp-idf/issues/7344
Closes https://github.com/espressif/esp-idf/pull/7371
2021-10-28 14:02:18 +05:30
Sudeep Mohanty
0d81eb9855
Merge branch 'bugfix/ringbuf_send_semaphore_release_order' into 'master'
...
esp_ringbuf: Fix order of semaphore release in xRingbufferSend
Closes IDFGH-6030 and IDFGH-6036
See merge request espressif/esp-idf!15657
2021-10-28 05:30:31 +00:00
Jiang Jiang Jian
05a618ce10
Merge branch 'feature/decouple_softap_and_8684_support' into 'master'
...
Feature/decouple softap and 8684 support
See merge request espressif/esp-idf!15564
2021-10-28 04:13:18 +00:00
Omar Chebib
73303e5de0
VFS: select
function's timeout is now POSIX compliant
...
`select` function will now round up the timeout passed as a parameter (if any).
It makes it POSIX compliant.
* Closes https://github.com/espressif/esp-idf/issues/7514
2021-10-28 02:52:59 +00:00
simon.chupin
f82309b1df
tools: fix bug with idf_size argument archive_details
2021-10-27 16:18:35 +02:00
Fu Hanxi
b9aa7182e8
fix: git ls-files wrong result when call via pre-commit in worktrees
2021-10-27 14:20:49 +08:00
Cao Sen Miao
bd2a524a12
Merge branch 'bugfix/esp_timer_before_init' into 'master'
...
esp_timer: allow querying the timer before esp_timer_init is called
Closes IDF-3570
See merge request espressif/esp-idf!14428
2021-10-27 05:49:06 +00:00
RichFalk
1222f6dd3a
esp_ringbuf: Fix assertion xQueueGenericSend queue.c:818
...
The release of the semaphore indicating the item was successfully sent must be the last semaphore released. The receiver may be in another task and may delete the Ringbuffer (such as with a return code across tasks design pattern) if they are through with the Ringbuffer.
The function xRingbufferSendAcquire followed by xRingbufferSendComplete had the semaphores released in the proper order and that same pattern should have been used in xRingbufferSend and xRingbufferSendFromISR. This commit fixes this order.
Issue (IDFGH-6030) #7716 describes the problem in more detail.
Closes IDFGH-6030, https://github.com/espressif/esp-idf/issues/7716
Closes IDFGH-6036, https://github.com/espressif/esp-idf/pull/7721
2021-10-27 09:54:36 +05:30
Zhang Jun Hao
a568b4fddf
esp_wifi: support station only mode for code size down
2021-10-27 11:48:22 +08:00
Island
8037e2462f
Merge branch 'bugfix/heartbeat_filter_with_acceptlist' into 'master'
...
ble_mesh: stack: Fix heartbeat filter with accept list error
See merge request espressif/esp-idf!14529
2021-10-27 02:50:00 +00:00
David Čermák
bcbef9a8db
Merge branch 'bugfix/ping_sock_0_valid' into 'master'
...
lw-ip: Fix ping socket create to allow for fd=0
See merge request espressif/esp-idf!15644
2021-10-26 14:27:45 +00:00
Ivan Grokhotkov
1561fbd2c5
Merge branch 'ci/minimum_pipeline_for_revert_branch' into 'master'
...
ci: minimum pipeline for 'revert-' branches
Closes IDFCI-920
See merge request espressif/esp-idf!15592
2021-10-26 12:14:30 +00:00
Cao Sen Miao
b0123199da
esp_timer: init rtc timer and system timer in early init
2021-10-26 19:07:34 +08:00
Anton Maklakov
e525964f67
Merge branch 'bugfix/gdbstub_4_c3' into 'master'
...
Add missing function for C3
See merge request espressif/esp-idf!15538
2021-10-26 10:16:38 +00:00
Fu Hanxi
4cc18e9582
ci: minimum pipeline for 'revert-' branches
2021-10-26 17:55:58 +08:00
Alexey Gerenkov
e777653222
Merge branch 'feature/esp32s3_apptrace' into 'master'
...
apptrace/trax: Adds ESP32-S3 support
Closes IDF-1785
See merge request espressif/esp-idf!14857
2021-10-26 09:50:40 +00:00
lly
fc97277e2f
ble_mesh: stack: Update the license of provisioner_main.c
2021-10-26 17:44:36 +08:00
Fu Hanxi
42405604af
idf.py gdb: autoload prefix_map_gdbinit when exists in project_description.json
2021-10-26 14:20:40 +08:00
David Cermak
7b91343ca7
lwip: Fix ping socket create to allow for fd=0
...
0 is a valid socket description, so should be accepted after we create a
socket. In IDF, though, it's just a theoretical issue, as customers have
to configure:
* FD_SETSIZE = CONFIG_LWIP_MAX_SOCKETS (from makefiles)
* CONFIG_VFS_SUPPORT_IO = n (from menuconfig)
(this configuration is currently broken, but if we adjust the IDF here
and there we could reproduce the issue)
2021-10-26 08:19:26 +02:00
Fu Hanxi
ea1005b740
build: create BUILD_DIR/prefix_map_gdbinit when enable reproducible build
...
add project property BUILD_COMPONENT_DIRS
2021-10-26 10:55:00 +08:00
Jakob Hasse
04dc51732b
Merge branch 'feature/spi_cxx' into 'master'
...
[cxx]: simple spi master class
Closes IDF-3750
See merge request espressif/esp-idf!13363
2021-10-26 02:44:35 +00:00
Fu Hanxi
9919b75ec1
build: add CONFIG_APP_REPRODUCIBLE_BUILD menuconfig option to produce reproducible binaries
2021-10-26 10:43:15 +08:00
Fu Hanxi
a65de0ab1f
ldgen: generate ld files with fixed order of entries
2021-10-26 10:43:15 +08:00
Anton Maklakov
c670e17383
Merge branch 'feature/add_esp32-h2_esp32-c6_to_ttfw' into 'master'
...
tools: update ttfw to support ESP32-H2 and ESP32-C6 chips
See merge request espressif/esp-idf!15443
2021-10-26 02:35:29 +00:00
Guo Jia Cheng
a928411ab3
Merge branch 'feature/mdns-subtype' into 'master'
...
mdns: support service subtype
Closes IDFGH-3560
See merge request espressif/esp-idf!15467
2021-10-25 07:50:49 +00:00
Dmitry
1457c42f6f
bugfix/esp-gdbstrub: add missing function for esp32c3/esp32h2.
2021-10-25 10:30:50 +03:00
Jakob Hasse
7efb01846f
[cxx]: simple spi master class
...
* spi cxx unit test (CATCH-based, on host)
* added portmacro.h to driver mocking
* added simple testing app to write/read SPI,
using an MPU9250
2021-10-25 14:56:59 +08:00
Darian
e5f5eb3cbb
Merge branch 'refactor/freertos_deprecate_critical_nested_macros' into 'master'
...
freertos: Deprecate critical nested macros
Closes IDF-4036
See merge request espressif/esp-idf!15539
2021-10-23 07:42:15 +00:00
Alexey Gerenkov
111ba5bbe6
trax: Adds ESP32-S3 support
2021-10-22 23:36:28 +03:00
Alexey Gerenkov
5911eb3f3e
apptrace: Adds ESP32-S3 support
2021-10-22 23:24:00 +03:00
Alex Lisitsyn
bdf0298009
Bugfix/modbus fix copyright headers
2021-10-23 01:23:03 +08:00
David Čermák
fb24a2941c
Merge branch 'feature/add_dhcp_option' into 'master'
...
lwip/dhcp: add configure for enable vendor class identify option
Closes IDFGH-4998
See merge request espressif/esp-idf!13867
2021-10-22 14:37:22 +00:00
Krzysztof
3247f66783
tools: update ttfw to support ESP32-H2 and ESP32-C6 chips
2021-10-22 16:29:46 +08:00
Darian Leung
d6f2fa4bab
freertos: Remove critical nested macros
...
This commit removes the following critical nested macros as follows:
- portENTER_CRITICAL_NESTED()
- portEXIT_CRITICAL_NESTED()
They are replaced with portSET_INTERRUPT_MASK_FROM_ISR() and
portCLEAR_INTERRUPT_MASK_FROM_ISR() which are the proper FreeRTOS interfaces.
Created a portmacro_deprecated.h for each port to contain deprecated API
that were originally from portmacro.h
2021-10-22 13:17:20 +08:00
Guo Jia Cheng
c1d3b295e8
Merge branch 'feature/trel' into 'master'
...
br: support Thread Radio Encapsulation Link (TREL)
See merge request espressif/esp-idf!15106
2021-10-22 03:31:41 +00:00
yuanjm
2fa617e510
ci: remove copyright ignore list
2021-10-22 11:17:59 +08:00
Anton Maklakov
1c44c3b966
Merge branch 'feature/toolchain_2021r2' into 'master'
...
Bring 2021r2 toolchains
Closes GCC-156, IDF-3571, IDF-842, IDFGH-4276, IDFGH-920, and IDFGH-790
See merge request espressif/esp-idf!15149
2021-10-22 01:03:16 +00:00
Jiacheng Guo
1e5c5f38d9
br: support Thread Radio Encapsulation Link (TREL)
...
TREL allows sending 15.4 frames on the backbone link by encapsulating it
in an UDP packet.
2021-10-21 19:55:58 +08:00
Omar Chebib
e7b1640199
Merge branch 'feature/fat_configure_volumes_kconfig' into 'master'
...
FAT: Number of volumes can now be configured through menuconfig
Closes IDFGH-5806
See merge request espressif/esp-idf!15445
2021-10-21 06:49:07 +00:00
Anton Maklakov
a047b15314
Merge branch 'version/v5.0.0' into 'master'
...
version: starting v5.0.0 development
See merge request espressif/esp-idf!15580
2021-10-21 03:37:51 +00:00
Xie Wen Xiang
4b2396e7fc
Merge branch 'bugfix/btdm_fix_some_bluedroid_issues' into 'master'
...
Fix some bluedroid issues
Closes BT-1926 and FCS-743
See merge request espressif/esp-idf!15170
2021-10-21 03:18:22 +00:00
morris
3a530e3311
Merge branch 'refactor/timer_ll_hal_clean_before_ng' into 'master'
...
timer: clean up hal/ll for driver-ng
See merge request espressif/esp-idf!15123
2021-10-20 23:59:30 +00:00
Ivan Grokhotkov
68233f58b4
version: starting v5.0.0 development
2021-10-20 22:25:38 +02:00
Anton Maklakov
414d9d6bc6
Update toolchains to esp-2021r2
...
Updated GDB to 9.2 version for xtensa chips
Fixed coredump work for xtensa chips
Fixed backtrace for xtensa chips
Fixed multilib for riscv32 chips
Fixed running GDB on some RaspberryPi configuration for riscv32 chip
Fixed support of fnmatch(), iconv() and some other posix functions in stdlib
Closes https://github.com/espressif/esp-idf/issues/6124
Closes https://github.com/espressif/esp-idf/issues/2484
Closes https://github.com/espressif/esp-idf/issues/3264
Closes https://github.com/espressif/crosstool-NG/issues/13
Closes https://github.com/espressif/crosstool-NG/pull/16
2021-10-20 22:00:39 +07:00
Anton Maklakov
3e3fa4bff2
test_apps/panic: remove workaround for incorrect GDB backtrace
2021-10-20 22:00:39 +07:00
Anton Maklakov
1d3a47e10a
coredump: update test data for toolchain 2021r2
2021-10-20 22:00:39 +07:00
morris
e2275b1f63
gptimer: clean up hal and ll for driver-ng
2021-10-20 18:40:08 +08:00
Mahavir Jain
11d9faf38c
spi_flash: enable cache access error test for all targets except ESP32-S2
2021-10-20 15:16:25 +05:30
Mahavir Jain
bdeaeb8d7f
esp_system: enable "cache disable but cache accessed" interrupt for ESP32-S3
2021-10-20 15:16:25 +05:30
Michael (XIAO Xufeng)
390f71cbcb
Merge branch 'bugfix/add_support_for_mspi_to_work_with_cpu_clock_switch' into 'master'
...
mspi: make cpu clock source switch safe
Closes IDFCI-902
See merge request espressif/esp-idf!15557
2021-10-20 08:21:53 +00:00
xiewenxiang
5e21788283
component/bt: Modify the bluetooth device name length limits
2021-10-20 16:19:28 +08:00
Roland Dobai
f6c1684664
Merge branch 'bugfix/header_ignore' into 'master'
...
Tools: Permanently ignore some files from header check
See merge request espressif/esp-idf!15559
2021-10-20 07:36:16 +00:00
Li Shuai
e8188e5d8f
ci: replacing old header with new SPDX header style
2021-10-20 11:36:23 +08:00
Armando
c331c85318
mspi: make cpu clock source switch safe
...
For some of the MSPI high frequency setting (e.g. 80M DDR mode Flash or PSRAM), timing tuning is required.
Certain delays will be added to the MSPI RX direction. When system clock switches down, the delays should be
cleared. When system clock switches up, the delays should be restored.
2021-10-19 21:47:27 +08:00
Roland Dobai
0c24913608
Tools: Permanently ignore some header files from header check
2021-10-19 14:41:50 +02:00
Anton Maklakov
308b89acf3
Merge branch 'ci/move_check_tools_files_patterns_to_pre-commit' into 'master'
...
ci: move check_tools_files_patterns to pre-commit
See merge request espressif/esp-idf!15481
2021-10-19 11:55:19 +00:00
Jiacheng Guo
e7e8610f56
mdns: support service subtype
...
* Closes https://github.com/espressif/esp-idf/issues/5508
2021-10-19 17:54:17 +08:00
Shu Chen
dc19bd4e5a
Merge branch 'feature/ot-esp-console' into 'master'
...
openthread: Use esp console for CLI
See merge request espressif/esp-idf!15365
2021-10-19 09:38:40 +00:00
Omar Chebib
63b96d7612
FAT: Number of volumes can now be configured through menuconfig
...
Closes https://github.com/espressif/esp-idf/issues/7513
2021-10-19 12:15:31 +08:00
David Čermák
75e2705269
Merge branch 'bugfix/esp_netif_public_headers' into 'master'
...
esp_netif: Fix implicit includes in public headers (GitHub PR)
Closes IDFGH-6002
See merge request espressif/esp-idf!15535
2021-10-18 16:43:59 +00:00
Roland Dobai
b544b521f4
Merge branch 'feat/idf_monitor_for_linux' into 'master'
...
feature: idf.py flash/monitor for linux target
Closes IDF-2417
See merge request espressif/esp-idf!15264
2021-10-18 12:39:14 +00:00
Zim Kalinowski
a631765333
Merge branch 'bugfix/fixed-cxx-build-include-hal' into 'master'
...
cxx: fixed cxx build failure when including hal
Closes IDFGH-6026
See merge request espressif/esp-idf!15540
2021-10-18 08:38:37 +00:00
0xFEEDC0DE64
822129e234
esp_netif: Fix implicit includes in public headers
...
Merges https://github.com/espressif/esp-idf/pull/7690
2021-10-18 10:01:52 +02:00
Ivan Grokhotkov
89b8830f50
Merge branch 'bugfix/build_spaces_in_path_tools' into 'master'
...
tools: fix issues related to spaces in paths in install and export scripts
Closes IDFGH-5913
See merge request espressif/esp-idf!15430
2021-10-18 06:49:49 +00:00
Jiacheng Guo
be4a45ab70
openthread: Use esp console for CLI
2021-10-18 12:27:50 +08:00
Fu Hanxi
bee690aa8d
idf.py: add linux target support for idf.py flash
and idf.py monitor
2021-10-18 11:50:50 +08:00
Fu Hanxi
ba0481aabd
idf_monitor: fix toggle timestamps also call toggle logging issue
2021-10-18 11:50:50 +08:00
Zim Kalinowski
a7c9949dd9
Fixed build problem when icluding gpio_ll.h from cpp file
2021-10-17 14:29:31 +08:00
Darian Leung
b23de0f8a1
twdt: Fix timeout decimal literals to prevent uint32_t overflow
...
This commit fixes the decimal literals used in calculating task
watchdog timeouts to prevent them from causing a uint32_t oveflow.
Closes https://github.com/espressif/esp-idf/issues/6648
2021-10-15 16:07:27 +08:00
Anton Maklakov
cce5b49b6a
Merge branch 'bugfix/retry_download_submodule' into 'master'
...
ci: retry download from Gitlab on error 500
See merge request espressif/esp-idf!15527
2021-10-15 01:50:08 +00:00
Ivan Grokhotkov
70d1f94739
ci: retry Gitlab operations on error 500
2021-10-14 17:42:48 +02:00
Guo Jia Cheng
484457f02c
Merge branch 'bugfix/ot-log-verbosity' into 'master'
...
openthread: reduce default log verbosity
See merge request espressif/esp-idf!15326
2021-10-14 09:46:49 +00:00
Kevin (Lao Kaiyao)
dc20768913
Merge branch 'feature/add_i2s_es8311_example_and_loop_unit_test' into 'master'
...
example/i2s: add es8311 example and i2s unit-test
Closes IDF-3412
See merge request espressif/esp-idf!14459
2021-10-14 09:28:35 +00:00
Ivan Grokhotkov
79f2e68bc0
tools: update idf_exe to 1.0.2 to fix path quoting issue
2021-10-14 09:45:30 +02:00
Ivan Grokhotkov
ffb708d403
tools: idf_exe: compatibility with MSVC
2021-10-14 09:45:30 +02:00
Ivan Grokhotkov
b8d6985dca
tools: idf_exe: quote idf.py path
2021-10-14 09:45:30 +02:00
Juraj Sadel
eb86d39136
Merge branch 'feature/xtensa-esp32-elf-clang' into 'master'
...
tools: LLVM for Xtensa (ESP32-S2) based on clang
See merge request espressif/esp-idf!15094
2021-10-14 06:40:48 +00:00
Jakob Hasse
4a8bbb4586
Merge branch 'bugfix/newlib_missing_include' into 'master'
...
[newlib]: Added missing includes
Closes IDFGH-5789
See merge request espressif/esp-idf!15387
2021-10-14 05:56:08 +00:00
Li Shuai
c2910c15f4
Merge branch 'bugfix/wifi_bt_power_domain_leakage_current' into 'master'
...
fix wifi and bt power domain leakage current in light sleep
See merge request espressif/esp-idf!15236
2021-10-14 05:10:55 +00:00
Jiacheng Guo
b7fd68c438
openthread: reduce default log verbosity
...
Packet logging increases latency and packet drop rate significantly.
2021-10-14 12:14:17 +08:00
Jakob Hasse
6e59f9e8be
[newlib]: Added missing includes
...
Closes https://github.com/espressif/esp-idf/issues/7498
2021-10-14 11:26:56 +08:00
Li Shuai
46dedca23c
ci: replace old header with new SPDX header style
2021-10-14 10:51:10 +08:00
Marek Fiala
582a39126a
Merge branch 'feature/idfpy_dashes_replace' into 'master'
...
tools: replace _ with - in idf.py
Closes IDFGH-3105
See merge request espressif/esp-idf!14752
2021-10-13 13:14:06 +00:00
Juraj Sadel
1a88d5a736
LLVM for Xtensa (ESP32, ESP32-S2) based on clang
2021-10-13 13:45:56 +02:00
Marek Fiala
ff18a96f7d
tools: replace _ with - in idf.py
...
Closes https://github.com/espressif/esp-idf/issues/5126
2021-10-13 17:30:38 +08:00
chenjianxing
8e49eec076
esp_phy: update esp_phy submodule files copyright
2021-10-13 13:10:50 +08:00
chenjianxing
94c81b71b1
esp_phy: add phy multi init data bin test app
2021-10-13 13:10:49 +08:00
chenjianxing
2a09234957
esp_phy: rename esp_phy component prefix
2021-10-13 13:10:49 +08:00
Jiang Jiang Jian
40cfc91aa2
Merge branch 'feature/192bit_security_' into 'master'
...
ESP_WIFI: Added GCMP, GMAC, WPA3 192 bit Support
Closes WIFI-3907 and WIFI-3778
See merge request espressif/esp-idf!14530
2021-10-13 02:04:25 +00:00
Fu Hanxi
0b7a0d7cbd
ci: move check_tools_files_patterns to pre-commit
2021-10-13 09:13:33 +08:00
Roland Dobai
e55b4ff8e6
Merge branch 'feature/esp32s3_dfu' into 'master'
...
docs, cmake: updates for ESP32-S3 DFU support
Closes IDF-3534
See merge request espressif/esp-idf!15348
2021-10-12 15:44:02 +00:00
Kapil Gupta
f1b4a027aa
esp_examples: Update WiFi enterprise example
2021-10-12 20:48:53 +08:00
Kapil Gupta
54940f58a4
esp_wifi: Add WPA3 192-bit certification support
2021-10-12 20:48:53 +08:00
Kapil Gupta
797c7144bd
esp_wifi: Add support for GCMP and GMAC ciphers
2021-10-12 20:48:51 +08:00
Ivan Grokhotkov
b86fe0c66c
Merge branch 'bugfix/clang-atomics' into 'master'
...
newlib: provide missing atomic libcalls
Closes IDFGH-5896 and IDFGH-5897
See merge request espressif/esp-idf!15332
2021-10-12 10:27:00 +00:00
Fu Hanxi
08dc008d8c
Merge branch 'ci/optional_approve_list' into 'master'
...
ci: make ignore lists optional for approval
See merge request espressif/esp-idf!15336
2021-10-12 09:29:49 +00:00
Chen Yu Dong
f0a96e586d
pre-commit fix
2021-10-12 14:05:19 +08:00
alex.li
26d8b7ee17
Add HW external coexist api.
...
Simplify the external coex flow.
And replace gpio of driver interface with hal one.
2021-10-12 14:05:14 +08:00
Kevin (Lao Kaiyao)
a9faafee3c
Merge branch 'feature/touch_sensor_driver_support_for_esp32s3' into 'master'
...
driver(touch): support touch sensor for esp32s3 platform
Closes IDF-1784 and IDF-3302
See merge request espressif/esp-idf!14102
2021-10-12 05:50:58 +00:00
Isha Pardikar
917d6e17b4
Merge branch 'wifi_prov_mgr_fix' into 'master'
...
Wifi_prov_mgr : Fix for ios device needs to do forget device
See merge request espressif/esp-idf!15117
2021-10-12 05:42:07 +00:00
Mahavir Jain
b94bbdbd9c
Merge branch 'feature/esp_https_server_callback' into 'master'
...
feature: Added user callback for esp_https_server
Closes IDFGH-5771
See merge request espressif/esp-idf!15405
2021-10-12 04:37:50 +00:00
Fu Hanxi
db53d14018
ci: make ignore lists optional for approval
2021-10-12 10:14:23 +08:00
laokaiyao
3eb09287f9
example/i2s: add es8311 example and i2s loop unit-test
2021-10-11 18:32:34 +08:00
Zim Kalinowski
6dc684d2fa
Merge branch 'feature/github-7517' into 'master'
...
[system] fix compiler warning with silent panic option
Closes IDFGH-5812
See merge request espressif/esp-idf!15420
2021-10-11 08:56:57 +00:00
Roland Dobai
b83cd1142f
Merge branch 'update/dockerfile_multiarch' into 'master'
...
Dockerfile working on x64/ARM
Closes IDF-823 and IDFGH-4939
See merge request espressif/esp-idf!14016
2021-10-11 07:19:35 +00:00
Zim Kalinowski
2c4d8ee6fa
Merge branch 'feature/freertos-upgrade-rename-processors-to-cores' into 'master'
...
freertos: Introduce configNUM_CORES
Closes IDF-4119
See merge request espressif/esp-idf!15375
2021-10-11 06:03:41 +00:00
Laukik Hase
1d2b2b5879
feature: Added user callback for esp_https_server
...
- Can be used to get connection or client information (SSL context)
- E.g. Client certificate, Socket FD, Connection state, etc.
- Added example callback for getting client certificate information in 'https_server/simple' example
Closes https://github.com/espressif/esp-idf/issues/7479
2021-10-11 09:41:01 +05:30
Jakob Hasse
f86e154a56
Merge branch 'feature/removed_hyphens_from_examples' into 'master'
...
[examples]: Project names consistent with their directories
Closes IDFGH-3673
See merge request espressif/esp-idf!13570
2021-10-11 03:43:37 +00:00
Zim Kalinowski
584806a78a
updated copyright text
2021-10-11 11:38:35 +08:00
Jakob Hasse
4641b16158
Merge branch 'bugfix/i2c_cxx_warning' into 'master'
...
[cxx]: Added virtual destructor in I2C class
Closes IDFGH-5716
See merge request espressif/esp-idf!15453
2021-10-11 03:13:06 +00:00
Armando (Dou Yiwen)
8ab29b7877
Merge branch 'feature/support_auto_detect_oct_flash_vendor' into 'master'
...
mspi: support auto detect oct flash vendor
Closes IDF-3523 and IDF-3857
See merge request espressif/esp-idf!14741
2021-10-11 02:38:15 +00:00
Mahavir Jain
087d4673dd
Merge branch 'bugfix/client_only_mbedtls' into 'master'
...
mbedtls: fix build fail with client only mbedtls
Closes IDFGH-5842
See merge request espressif/esp-idf!15286
2021-10-10 11:20:24 +00:00
Jiang Jiang Jian
f05351497c
Merge branch 'feature/mbo_support' into 'master'
...
esp_wifi: Add support for MBO certification
Closes WIFI-3777
See merge request espressif/esp-idf!12650
2021-10-09 16:31:31 +00:00
morris
7283e349b9
Merge branch 'refactor/rgb_lcd_callback_add_event_data' into 'master'
...
lcd: modify callback prototype && build API docs
See merge request espressif/esp-idf!15354
2021-10-09 06:26:44 +00:00
Jakob Hasse
d023036be9
[cxx]: Added virtual desctructor in I2C class
...
Closes https://github.com/espressif/esp-idf/issues/7435
2021-10-09 14:00:29 +08:00
Jakob Hasse
81e9266204
[examples]: removed hyphens
...
Replaced hyphens with underscores in examples
project definition for all examples which had
hyphens in their project name. dpp-enrollee is
an exceptions because the name matches the
project directory name while the project
directory also contains hyphens.
2021-10-09 13:58:24 +08:00
Jakob Hasse
669a006bf5
[examples, tools]: added some new license headers
2021-10-09 13:58:24 +08:00
Ivan Grokhotkov
347884aff5
docs, cmake: updates for ESP32-S3 DFU support
2021-10-08 18:24:20 +02:00
Scott Mabin
d93b53b9e5
newlib: provide missing atomic libcalls
...
Provide emulated atomic load & store libcalls for u8, u16 & u32 integer
types. This is required when building with Clang as llvm does not lower
these operations to native load / stores, where as gcc does.
Provide `sync_lock_test_and_set` atomic implementations for all
supported integer types.
Closes https://github.com/espressif/esp-idf/issues/7591 .
Closes https://github.com/espressif/esp-idf/issues/7592 .
2021-10-08 18:46:09 +08:00
Tomas Sebestik
d22795ea56
Update Dockerfile working on both x64 / ARM
...
Closes https://github.com/espressif/esp-idf/issues/6730
2021-10-08 17:11:59 +08:00
Armando
d6caf142d3
ci: add flash psram test under different configs on esp32s3
2021-10-08 15:59:57 +08:00
Armando
2655a506c9
mspi: support auto detect octal flash vendor
2021-10-08 15:59:57 +08:00
Ivan Grokhotkov
a5ba1ac395
Merge branch 'bugfix/build_spaces_in_path_simple_fixes' into 'master'
...
build system: simple fixes for quoting and other minor issues
See merge request espressif/esp-idf!15427
2021-10-08 06:29:23 +00:00
Kevin (Lao Kaiyao)
79cb8e3c52
Merge branch 'fix/example_pdm_mic_recording' into 'master'
...
example: Fixed example I2S PDM microphone recording on sdcard
Closes IDF-3952 and IDFGH-5912
See merge request espressif/esp-idf!14928
2021-10-08 06:25:31 +00:00
laokaiyao
a1cadba191
touch_sensor: apply general check
2021-10-08 11:32:12 +08:00
David Čermák
9711e8e0aa
Merge branch 'bugfix/mdns_fuzz_nullderef' into 'master'
...
mdns: Fix potential null dereference identified by fuzzer tests
See merge request espressif/esp-idf!15108
2021-10-07 15:52:01 +00:00
simon.chupin
57d1e6157b
tools/idf_size: improve readability
2021-10-06 15:28:05 +02:00
David Cermak
2a2b95b9c2
mdns: Update copyright header
2021-10-06 20:39:18 +08:00
isha pardikar
09800028e1
Wifi_prov_mgr:Fix for ios device needs to do forget device
2021-10-06 17:46:22 +08:00
Ivan Grokhotkov
4f3cc319af
cmake: kconfig: sort results of new glob expressions
...
Similar to 2f811b79
, see that commit for the explanation.
2021-10-06 10:16:44 +02:00
Ivan Grokhotkov
4ae1b06082
cmake: kconfig: don't add empty entries to kconfigs list
2021-10-06 10:16:35 +02:00
Ivan Grokhotkov
0ad89536ce
build system: quote values in __build_write_properties
2021-10-06 10:15:10 +02:00
Ivan Grokhotkov
5a6e27b8a1
build system: quote values in __component_write_properties
2021-10-06 10:15:02 +02:00
Ivan Grokhotkov
e39d3b2160
build system: project: quote linker map file argument
2021-10-06 10:14:55 +02:00
Ivan Grokhotkov
83a7ecc7c3
build system: quote LD script search paths in target_linker_script
2021-10-06 10:14:46 +02:00
David Čermák
c0e5c7296d
Merge branch 'docs/deprecate_openssl_api' into 'master'
...
openssl: Add deprecation warning to ssl.h
See merge request espressif/esp-idf!15287
2021-10-06 05:27:59 +00:00
David Cermak
cfc001870c
openssl: Add deprecation warning to ssl.h
...
OpenSSL component will be discontinued in ESP-IDF v5.x. The only official TLS API will be esp-tls
Add docs warning about deprecation in v5.x
Removed all examples demonstrating usage of openssl in IDF
2021-10-05 11:45:52 +02:00
David Cermak
336de29413
Examples/pppos_client: Fix manual parsing to accept unexpected lines
...
Regression from a90817cda0
that caused
parsing exit in case of an unexpected result found (line handler
reported ESP_FAIL). Prevously if any error found in the line handler we
just posted an unexpected event, but continued with parsing. Fixed by
allowing for further parsing.
Related: https://github.com/espressif/esp-idf/issues/7176
2021-10-04 19:34:17 +08:00
Harshit Malpani
be91515488
test_apps: add CLIENT_ONLY_MBEDTLS configuration to build tests
2021-10-04 19:18:45 +08:00
Kapil Gupta
834afad47e
esp_wifi: Add support for MBO certification
2021-10-04 15:56:14 +08:00
morris
e09e39c94f
lcd: unify callback prototype
2021-10-02 14:23:31 +08:00
laokaiyao
7264c0e59a
i2s_rec_example: add support for esp32s3
2021-10-01 16:05:04 +01:00
laokaiyao
f397379c8d
i2s: fix the mono mode of PDM on esp32
2021-10-01 16:05:04 +01:00
Zim Kalinowski
11329a0ce5
rename processors to cores
...
(cherry picked from commit a0d3afcac63bb62516daa3abd316091a1601c08c)
2021-10-01 21:23:17 +08:00
Shubham Patil
8ad9daea7d
espcoredump: Parse bt for instruction fetch prohibited cause
2021-09-29 23:08:54 +05:30
morris
7b8d5562d2
Merge branch 'feature/support_sdspi_on_s2_c3' into 'master'
...
example: support sdspi on s2 c3
Closes IDF-1279
See merge request espressif/esp-idf!15107
2021-09-27 03:48:52 +00:00
morris
03bf1b8ce9
Merge branch 'feature/rmt_new_example_step_motor' into 'master'
...
feature/rmt: new example step motor & support loop auto-stop on s3
Closes IDF-3587
See merge request espressif/esp-idf!14587
2021-09-27 03:47:24 +00:00
Darian
212d936cf5
Merge branch 'refactor/freertos_port_files' into 'master'
...
FreeRTOS: Tidy up existing port files
Closes IDF-3919
See merge request espressif/esp-idf!15199
2021-09-27 03:34:43 +00:00
morris
3e370c4296
Merge branch 'bugfix/filter_out_readme_searching_components' into 'master'
...
cmake: allow to have README file in the components folder
See merge request espressif/esp-idf!15330
2021-09-24 16:12:24 +00:00
Simon Chupin
8d74bf87ec
Merge branch 'bugfix/idf_size_nan_in_json' into 'master'
...
Tools: fix appearing NaN value when calling idf_size.py --json
Closes IDF-3951
See merge request espressif/esp-idf!15245
2021-09-24 13:11:01 +00:00
Roland Dobai
50dc76f388
Merge branch 'refactor/change_idf_size_type_to_pep-484' into 'master'
...
Refactor/change idf_size.py type to pep-484
See merge request espressif/esp-idf!15184
2021-09-24 10:23:53 +00:00
Darian Leung
e194113964
freertos: Tidy up port files
...
- port.c and portmacro.h contents are now logically grouped
- Doxygen API descriptions added
- Added refactor todo markers
- Removed portmacro_priv.h. Contents now in portmacro.h
- Formatted files
2021-09-24 18:14:33 +08:00
Konstantin Kondrashov
0946f9cce6
Merge branch 'feature/esp32c3_eco3_default' into 'master'
...
example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3)
Closes IDF-3090
See merge request espressif/esp-idf!14658
2021-09-24 09:36:06 +00:00
simon.chupin
a7be2cb9bb
Tools: update idf_size.py types to pep-484 format
2021-09-24 15:42:36 +08:00
SalimTerryLi
bd89dcc683
RMT: add loop_autostop driver support for esp32s3
2021-09-24 15:24:45 +08:00
SalimTerryLi
92e337a38c
sdspi: enable UT & ExampleTest for C3/S2
...
Closes https://github.com/espressif/esp-idf/issues/7389
(1) "MMC_RSP_BITS" [sd] [Y]
(2) "probe SD in SPI mode" [sd][test_env=UT_T1_SPIMODE] [Y]
(3) "probe SD in SPI mode, slot 0" [sd][ignore] [N]
(4) "SDMMC performance (SPI mode)" [sdspi][test_env=UT_T1_SPIMODE] [Y]
(5) "SDMMC test read/write with offset (SPI mode)" [sdspi][test_env=UT_T1_SPIMODE] [Y]
(6) "CD input works in SPI mode" [sd][test_env=UT_T1_SPIMODE] [Y]
(7) "WP input works in SPI mode" [sd][test_env=UT_T1_SPIMODE] [Y]
2021-09-24 15:17:18 +08:00
KonstantinKondrashov
fce50ef9e3
unit-test-app/configs(esp32c3): CI sill uses ECO2 for flash_encryption tests
2021-09-24 13:59:42 +08:00
KonstantinKondrashov
709abee65c
example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3)
2021-09-24 13:55:07 +08:00
morris
0f7b90d205
cmake: don't treat the readme file as a component
2021-09-24 10:56:58 +08:00
Jan Brudný
3ce35ae455
tools: precommit copyright check fails on windows
2021-09-23 22:47:56 +08:00
Roland Dobai
bc8c191357
Merge branch 'bugfix/idf_tools_virtualenv_seeder' into 'master'
...
tools/idf_tools.py: Changed default AppData seeder to seeder pip
Closes IDF-3879
See merge request espressif/esp-idf!15247
2021-09-23 13:17:24 +00:00
Ivan Grokhotkov
8f0ee18931
Merge branch 'feature/clang_toolchain_compat' into 'master'
...
Build system: minimal changes for clang compatibility
See merge request espressif/esp-idf!15168
2021-09-23 08:19:09 +00:00
Mahavir Jain
9c18da3466
Merge branch 'fix/mqtt_test_app' into 'master'
...
mqtt_test_app: Fix the error code values in mqtt test app
See merge request espressif/esp-idf!15289
2021-09-22 07:16:34 +00:00
Zim Kalinowski
b857c86535
Merge branch 'feature/freertos-upgrade-to-10.4.3-port-dont-discard' into 'master'
...
freertos: upgrade to 10.4.3 - try to add portDONT_DISCARD
See merge request espressif/esp-idf!15148
2021-09-22 01:11:54 +00:00
Zim Kalinowski
d37ed3e05b
freertos: upgrade to 10.4.3 - try to add portDONT_DISCARD
2021-09-22 09:11:44 +08:00
Aditya Patwardhan
760d359276
mqtt_test_app: Fix the invalid esp-tls error code values in mqtt test app
2021-09-22 07:14:02 +08:00
simon.chupin
bfd8e0eac6
Tools: fix appearing NaN value when calling idf_size.py --json
2021-09-21 16:12:42 +02:00
Jan Brudný
798a174686
Add copyright check to pre-commit-config
2021-09-20 17:50:55 +08:00
morris
ce969ad7fe
Merge branch 'feature/lcd_lvgl_example' into 'master'
...
lcd: lvgl porting example
See merge request espressif/esp-idf!15042
2021-09-18 09:52:28 +00:00
Juraj Sadel
600f3b89a2
tools/idf_tools.py: Changed default AppData seeder to seeder pip
2021-09-17 15:36:44 +02:00
Bao Hong De
eccb1f85d8
Merge branch 'bugfix/btdm_link_error_of_kconfig' into 'master'
...
Bugfix/btdm link error of kconfig
See merge request espressif/esp-idf!15176
2021-09-17 06:26:37 +00:00
Roland Dobai
9f00a186f2
Merge branch 'feature/run_idf_size_with_overflow' into 'master'
...
Tools: make idf_size work with overflow
Closes IDF-3152 and IDFGH-5133
See merge request espressif/esp-idf!14853
2021-09-16 15:50:53 +00:00
baohongde
b310c062cd
components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller
2021-09-16 20:26:35 +08:00
simon.chupin
844dd5075f
Tools: make idf_size work with overflow
...
Closes https://github.com/espressif/esp-idf/issues/6914
closes https://github.com/espressif/esp-idf/issues/4234
2021-09-16 14:12:46 +02:00
Roland Dobai
aaa7bc2504
Merge branch 'bugfix/monitor_backtrace_esp32h2' into 'master'
...
tools: gdb_panic_server: enable esp32h2 support
Closes IDF-3795
See merge request espressif/esp-idf!15206
2021-09-16 10:30:38 +00:00
Roland Dobai
05d5fa1863
Merge branch 'feature/idf_tools_support_xz' into 'master'
...
tools: idf_tools.py: add support for .tar.xz archives
See merge request espressif/esp-idf!15167
2021-09-16 09:59:21 +00:00
Ivan Grokhotkov
6bba3ea034
cmake: only add GCC-specific flags when building with GCC
...
There are probably more GCC-specific flags in component CMakeLists.txt
files; these are just the one being added for all the files.
2021-09-16 11:07:54 +02:00
Ivan Grokhotkov
06c0b8a5d0
cmake: don't search for toolchain files in component directory
...
This feature was added when we thought that target components might be
added out of IDF tree. That never became possible, and with recent
changes in IDF architecture it is unlikely that this feature will be
necessary any time soon. Remove it, simplifying the code.
2021-09-16 10:54:27 +02:00
Ivan Grokhotkov
14e600801e
cmake: allow selection of clang based toolchain
...
This is an experimental feature intended at the moment for ESP-IDF
developers only.
If IDF_TOOLCHAIN=clang environment variable or CMake variable is set,
use toolchain-clang-esp32xx.cmake instead of toolchain-esp32xx.cmake.
These changes aren't sufficient to actually build any IDF project with
clang; subsequent commits add a few workarounds required to do this.
Toolchain files are added for esp32 and esp32s2, which are the targets
supported in our llvm-project fork at the moment.
2021-09-16 10:54:27 +02:00
David Čermák
09509e1bbe
Merge branch 'bugfix/mqtt_pubconnect_test' into 'master'
...
MQTT: Publish connect test fix
See merge request espressif/esp-idf!14292
2021-09-15 13:34:58 +00:00
Ivan Grokhotkov
28a89d9c29
tools: gdb_panic_server: enable esp32h2 support
2021-09-15 19:24:14 +08:00
Sudeep Mohanty
7eb75428d5
Merge branch 'feature/freertos-upgrade-to-10.4.3-FreeRTOSConfig.h-location-update' into 'master'
...
freertos: updated the location of FreeRTOSConfig.h
Closes IDF-3721
See merge request espressif/esp-idf!15119
2021-09-15 07:11:12 +00:00
David Cermak
00b1170588
CI: Update mqtt test to cleanup connect-publish-URI interaction
2021-09-15 15:07:12 +08:00
Euripedes Rocha
307eb5f17f
[MQTT/test] Fix publish connect test
...
- Mqtt client will return error on wrong parameters. This fix the test
code to setup the client for each test case.
2021-09-15 15:07:12 +08:00
Sudeep Mohanty
0912df611f
freertos: updated the location of FreeRTOSConfig.h
...
Moved FreeRTOSConfig.h from include/freertos to include/esp_additions/freertos.
Updated FreeRTOS.h file to include FreeRTOSConfig.h without the
freertos/ prefix to match with the upstream file.
Renamed architecture specific FreeRTOSConfig.h files to FreeRTOSConfig_arch.h
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-09-14 08:46:01 +05:30
morris
9240fb03d8
lcd: lvgl porting example
2021-09-13 15:08:48 +08:00
Andrei Safronov
9159aa58d3
tests: refactoring of the gcc's inner functions, because clang doesn't support them
2021-09-10 19:51:27 +03:00
Ivan Grokhotkov
57a32a8615
tools: idf_tools.py: add support for .tar.xz archives
2021-09-10 13:24:02 +02:00
Yuan Jian Min
8fd591390a
Merge branch 'bugfix/fix_cplusplus_miss_in_dhcp' into 'master'
...
dhcpserver: support cplusplus
Closes IDFGH-5786 and IDFGH-5821
See merge request espressif/esp-idf!15018
2021-09-09 06:11:56 +00:00
SalimTerryLi
4c7b31f6ff
ci: test_apps: add option to parse original unity output
2021-09-08 18:54:20 +08:00
yuanjm
8560b7d929
ci: Remove public headers check exceptions for dhcp
2021-09-08 15:53:32 +08:00
Roland Dobai
02b6436644
Merge branch 'feature/oocd_ver_upgrade' into 'master'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210902'
See merge request espressif/esp-idf!15054
2021-09-08 07:34:24 +00:00
David Cermak
8e30d8c410
CI: Ignore esp_modem cxx example make build
2021-09-07 13:32:34 +02:00
Roland Dobai
41ee7738f3
CI: Fix idf_tools.py tests with the updated openocd version
2021-09-06 21:52:43 +03:00
Alexey Gerenkov
04fff15864
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210902'
2021-09-03 00:17:30 +03:00
Fu Hanxi
5671039154
ci(sonarqube): pass "sonar.exclusions" in CI
...
also increase the jvm size
2021-09-02 14:28:22 +08:00
laokaiyao
04970fe487
iperfUtility: add udp rx bandwidth scan
2021-09-01 19:11:28 +08:00
Sergei Silnov
37b791e242
Build System: Don't track dependencies.lock
2021-08-30 13:23:23 +02:00
Sergei Silnov
c6f6bd6a42
Add idf-component-manager python dependency
2021-08-30 13:23:23 +02:00
morris
2e0ffbd543
Merge branch 'bugfix/fix-driver-8_16bit-reg-access' into 'master'
...
bugfix/driver: fix and cleanup soc/ll stuffs
Closes IDF-3722
See merge request espressif/esp-idf!14829
2021-08-30 10:27:05 +00:00
Mahavir Jain
f1c6c68f19
Merge branch 'feature/ttfw_esp32c3fpgadut' into 'master'
...
Automate flash encryption and secure boot tests on FPGA
See merge request espressif/esp-idf!12367
2021-08-30 10:24:24 +00:00
SalimTerryLi
874a720286
soc/ll: workaround compiler bug that generate 8/16 bits inst instead of 32 bits one
...
update all struct headers to be more "standardized":
- bit fields are properly wrapped with struct
- bitwidth sum should be 32 within same struct, so that it's correctly padded with reserved bits
- bit field should be uint32_t
- typedef volatile struct xxx{} yyy;: xxx must exists. refer: https://github.com/espressif/esp-idf/pull/3199
added helper macros to force peripheral registers being accessed in 32 bitwidth
added a check script into ci
2021-08-30 13:50:58 +08:00
Mahavir Jain
f7d2f283b3
Merge branch 'bugfix/bugfix/esp32s2_memprot_no_logging_2' into 'master'
...
System/Security: ESP32S2 Memprot uses no abort() calls neither does logging
Closes IDF-3634
See merge request espressif/esp-idf!14852
2021-08-27 11:17:31 +00:00
Mahavir Jain
3850eba152
Merge branch 'feature/local_control_sec1' into 'master'
...
Added support for security1 in local control
See merge request espressif/esp-idf!13684
2021-08-27 08:31:33 +00:00
Sachin Parekh
cfcb893289
ttfw_idf: Added ESP32-S3 FPGA support
...
Provision to burn and reset efuses of ESP32S3 on FPGA
test_app: Enabled automated test cases for ESP32S3
2021-08-27 10:41:31 +05:30
Sachin Parekh
3f7fed7872
test_app: Added automated test cases for secure_boot
2021-08-27 10:41:31 +05:30
Sachin Parekh
65db2d3d80
ttfw_idf: Added IDFFPGADUT class
...
Provision to burn and reset efuses of ESP32C3 chip on FPGA
2021-08-27 09:58:26 +05:30
Vikram Dattu
5691c9a8e8
Added support for security1 in local control
...
1. Added config options to chose from protocom security.
It can be chosen 0/1 or custom.
Possible to set POP as well
2. Added support in `esp_local_ctrl.py` test script for sec_ver selection
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-08-26 17:35:09 +08:00
Martin Vychodil
58aed7df98
ESP32S2: No assert()/abort() in Memprot API, use esp_err_t instead
...
JIRA IDF-3634
2021-08-26 09:20:00 +02:00
Jakob Hasse
376559d14c
[cmake]: fixed FPGA setting during early build
2021-08-26 10:11:56 +08:00
David Cermak
0b3476fdd0
CI: mqtt test apps: removed unnecessary env.yml
2021-08-25 16:41:33 +08:00
Wu Zheng Hui
3128a2544b
Adjust the variable name &
...
Add mapping support for different sizes of spi ram
2021-08-25 16:06:28 +08:00
Zim Kalinowski
f65c8249af
Merge branch 'feature/esp_docs' into 'master'
...
docs: update to use esp-docs
Closes IDF-3105
See merge request espressif/esp-idf!13333
2021-08-24 00:56:57 +00:00
Marius Vikhammer
7411321603
docs: update to use esp-docs
2021-08-24 08:56:48 +08:00
Mahavir Jain
b2c1f6c719
Merge branch 'bugfix/fix_disable_https_client_build_error' into 'master'
...
esp_http_client: Fix disable CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS will build error
Closes IDFGH-5640
See merge request espressif/esp-idf!14833
2021-08-23 06:30:46 +00:00
Jakob Hasse
1151fdf9ae
[mocks]: fixed strippables patterns for CMock
2021-08-20 15:52:12 +08:00
morris
bb87fd8f08
Merge branch 'refactor/pcnt_driver_esp32s3' into 'master'
...
pcnt: soc update and hal refactor
See merge request espressif/esp-idf!14698
2021-08-20 04:23:15 +00:00
Jakob Hasse
c81d45280e
Merge branch 'feature/change_spi_flash_mock_impl' into 'master'
...
Added spi_flash mocks
See merge request espressif/esp-idf!14235
2021-08-19 07:06:38 +00:00
Zim Kalinowski
33ec53f431
Merge branch 'ci/clang_tidy_check_for_more_components' into 'master'
...
CI: clang-tidy check for more components
Closes IDF-2736
See merge request espressif/esp-idf!10443
2021-08-19 01:26:26 +00:00
Fu Hanxi
d66a407eb3
ci: enable clang-tidy check for more components
...
Use internal project clang-tidy-runner
Move sonarqube related configs to sonar-project.properties
2021-08-19 09:26:20 +08:00
Jakob Hasse
46e59e7194
[mocks]: moved already added spi_flash mocks
...
[nvs]: page test works with new overriden mock
[spi_flash]: Removed mocking code from CMake
* Renamed nvs test to be consistent with other
host test
2021-08-18 11:05:51 +08:00
yuanjm
316cdd34e2
ci: Add disable CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS ci build file
2021-08-17 19:56:15 +08:00
Jakob Hasse
b3271a51af
Merge branch 'bugfix/common_components_linux' into 'master'
...
[build system]: Fixed common requirement for Linux target
Closes IDF-3638
See merge request espressif/esp-idf!14743
2021-08-17 08:48:38 +00:00
Cao Sen Miao
030da50762
i2c_app_test: Add i2c work together with wifi test
2021-08-17 14:46:06 +08:00
Omar Chebib
32067f9b6b
Merge branch 'feature/freertos_snapshot_extraction' into 'master'
...
freertos: take tasks snapshot out of tasks.c source code
Closes IDF-3334
See merge request espressif/esp-idf!14675
2021-08-16 11:04:51 +00:00
Zim Kalinowski
1c690aa5d2
Merge branch 'feature/bootloader_components_kconfig_in_menuconfig' into 'master'
...
bootloader: Kconfig files in bootloader_components is now part of menuconfig
Closes IDF-3696
See merge request espressif/esp-idf!14740
2021-08-16 06:01:50 +00:00
Jakob Hasse
f78c8f90c0
Merge branch 'feature/esp_timer_mock' into 'master'
...
[esp_timer]: created mock override component
See merge request espressif/esp-idf!14526
2021-08-13 11:01:53 +00:00
Jakob Hasse
7029f0537e
[build system]: Fixed common requirement for Linux
2021-08-13 16:50:29 +08:00
Jakob Hasse
ca12c92877
[esp_timer]: created mock override component
2021-08-13 15:00:39 +08:00
Jakob Hasse
dd3f43ca2d
[build system]: add ruby check before mocking
2021-08-13 14:31:44 +08:00
Roland Dobai
26bc4971ac
Merge branch 'bugfix/idf_size_wrong_memory_calculations' into 'master'
...
Tools: Fix memory calculations of idf_size.py
Closes IDF-3246 and IDF-2434
See merge request espressif/esp-idf!14347
2021-08-12 11:36:36 +00:00
Jakob Hasse
1282f0e528
[tools]: add mocks dir to pattern check exclude
2021-08-12 11:02:43 +08:00
Omar Chebib
339454ff19
bootloader: Kconfig files in bootloader_components is now part of menuconfig
...
It is now possible to configure the options (Kconfig) of bootloader components
directly from the menuconfig
2021-08-12 10:43:00 +08:00
simon.chupin
294f9783fc
Tools: Fix memory calculations of idf_size.py
2021-08-11 17:51:51 +02:00
Michael (XIAO Xufeng)
064f12cb90
idf_size.py: fixed diram counted twice issue, and improve display
...
Currently static RAM usage are listed under corresponding physical
memory.
ld: fix linker script for C3 and S3
2021-08-11 17:51:50 +02:00
Tomas Rezucha
57b243a699
Update Ubuntu to v20.04
2021-08-11 20:34:02 +08:00
morris
56760c9669
pcnt: refactor hal driver
2021-08-10 17:19:21 +08:00
Jakob Hasse
88eb4fa6a6
[mocks]: moved mocks dir to tools/
2021-08-10 14:45:42 +08:00
Ivan Grokhotkov
95699a9260
Merge branch 'bugfix/libsodium_build_with_gnu_make' into 'master'
...
libsodium: fix build issues with GNU Make
Closes IDF-3673
See merge request espressif/esp-idf!14661
2021-08-08 07:20:02 +00:00
Alexey Gerenkov
bf0431f026
Merge branch 'feature/oocd_ver_upgrade' into 'master'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210721'
See merge request espressif/esp-idf!14514
2021-08-06 11:55:00 +00:00
Alexey Gerenkov
58ca48313f
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210721'
2021-08-05 21:54:49 +03:00
Sachin Parekh
6582f7070e
Update tests for assert and abort
...
- Place panic_abort in IRAM
- Added abort, assert test case in case of cache disabled
- Expect assert instead of abort in a freertos_mutex test
2021-08-05 11:09:22 +05:30
Mahavir Jain
603e915d55
tools/unit_test_app: fixes to build this application with Make build
2021-08-05 12:28:09 +08:00
Zim Kalinowski
1fd56e0b87
Merge branch 'feature/systimer_generate_rtos_tick' into 'master'
...
freertos(esp32s3): SysTick uses systimer
Closes IDF-2613
See merge request espressif/esp-idf!12246
2021-08-04 12:33:52 +00:00
Konstantin Kondrashov
29f581fc70
freertos(esp32s3): SysTick uses systimer
2021-08-04 20:33:44 +08:00
Jakob Hasse
847e3d7e46
Merge branch 'feature/gpio_cxx' into 'master'
...
CXX GPIO classes
See merge request espressif/esp-idf!13989
2021-08-04 02:45:57 +00:00
Jakob Hasse
06956d46c1
[cxx]: GPIO CXX wrappers, experiemental CI rule
...
* Wrapper class for simple GPIO interaction
like read/write without ISRs.
* Added rule to provoke builds after changes in
the experimental C++ component.
2021-08-03 19:51:21 +08:00
Martin Gaňo
2452dc57f0
Tools: extracted functionality out of idf_monitor
2021-08-03 19:18:17 +08:00
Angus Gratton
dea52a92b9
make: Fix COMPONENT_OWNBUILDTARGET
...
Add build system test to match
Partial fix for https://github.com/espressif/esp-idf/issues/3664
2021-08-03 10:40:39 +08:00
Marius Vikhammer
a0c548ccd4
Merge branch 'bugfix/coredump_elf_py_section' into 'master'
...
coredump: fix section name parsing in python utility
See merge request espressif/esp-idf!14597
2021-08-02 07:26:47 +00:00
Marius Vikhammer
8b259d15f6
coredump: fix section name parsing in python utility
...
elf.py assumed every section header name had its own string in
shstrtab, but multiple sections may reuse the same substring with
different offsets.
2021-08-02 13:15:30 +08:00
Cao Sen Miao
247866261f
Merge branch 'feature/flash_support_on_esp32s3' into 'master'
...
esp_flash: bringup ext flash chip on ESP32-S3
Closes IDF-2021 and IDF-3230
See merge request espressif/esp-idf!14523
2021-08-02 03:59:14 +00:00
Armando (Dou Yiwen)
0dad76329f
Merge branch 'feature/support_noinit_section_in_psram_on_esp32' into 'master'
...
memory: support noinit section in psram on esp32
Closes IDFGH-2621
See merge request espressif/esp-idf!14088
2021-07-31 09:58:59 +00:00
Cao Sen Miao
992de2750e
spi_flash: add support for ext flash
2021-07-31 14:11:35 +08:00
Armando
f2bfdec20f
ci: enable external bss and external noinit test cases
2021-07-31 11:02:13 +08:00
Fu Hanxi
1eb35eda77
ci: bypass wpa_supplicant upstream codes
2021-07-29 13:04:48 +08:00
Jakob Hasse
e8082ed6c7
[cmake]: fix idf_component_mock requirement macro
2021-07-28 18:50:43 +08:00
Martin Gaňo
f25ed8bbdf
Tools: Fixed typo in idf_tools.py
2021-07-28 16:43:02 +08:00
He Yin Ling
2849f3bf44
Merge branch 'test/add_ethernet_iperf_example_test_case' into 'master'
...
Test: add ethernet iperf example test case
Closes TCI-463
See merge request espressif/esp-idf!13696
2021-07-28 01:39:12 +00:00
Lu Ai Jun
d29335710d
test: add ethernet iperf example test case
2021-07-28 09:39:02 +08:00
Roland Dobai
6b8760784d
Merge branch 'bugfix/ci_debug_gdb_issues' into 'master'
...
CI: Wait for the GDB process to start and print more debugging information
Closes IDFCI-510
See merge request espressif/esp-idf!14485
2021-07-27 17:49:26 +00:00
Ivan Grokhotkov
da871e3dad
Merge branch 'bugfix/tools_tests' into 'master'
...
tools: fix failing idf_tools tests
See merge request espressif/esp-idf!14532
2021-07-27 15:32:17 +00:00
Shubham Patil
3e84e5e668
Merge branch 'bugfix/xtensa_extra_info_register_values' into 'master'
...
espcoredump.py: Parse EPS and EPC register values using register index
See merge request espressif/esp-idf!14448
2021-07-27 10:22:41 +00:00
Ivan Grokhotkov
100a80556f
tools: test_idf_tools: fix failing tests and improve readability
...
* fix failing tests: expect s2 binutils to be installed on s3,
expect risc-v toolchain to be installed on s2 and s3.
* improve readability by adding assert_tool_installed and
assert_tool_not_installed functions, instead of using an optional
assertIn argument
* rename "RISC" to "RISCV_ELF" as ULP is arguably very much "R" as in
"RISC"!
2021-07-27 12:19:16 +02:00
Ivan Grokhotkov
d9f3b1fa8e
tools: install esp32s2 ULP binutils for esp32s3 as well
...
ESP32-S3 uses same ULP coprocessor as ESP32-S2, so the same binutils
package is used.
2021-07-27 12:15:03 +02:00
Roland Dobai
d3b67971a4
Merge branch 'bugfix/tools_fix_cmake_url' into 'master'
...
tools: fix cmake url
See merge request espressif/esp-idf!14521
2021-07-27 09:52:49 +00:00
Jiang Jiang Jian
4d7f356f04
Merge branch 'bugfix/bypass_supplicant_from_sonar' into 'master'
...
wpa_supplicant: bypass sonar checks for upstream code
See merge request espressif/esp-idf!13472
2021-07-27 06:14:17 +00:00
Anton Maklakov
5b484835d7
tools: fix cmake url
2021-07-27 13:05:32 +07:00
Ivan Grokhotkov
b23201b6c9
Merge branch 'bugfix/tools_json_s2_ulp_toolchain' into 'master'
...
tools: install riscv32-esp-elf for ESP32-S2 and ESP32-S3 as well
See merge request espressif/esp-idf!14509
2021-07-27 05:46:33 +00:00
Ivan Grokhotkov
3fa8e8d1e3
Merge branch 'feature/windows_installer_moved_to_github' into 'master'
...
tools: Windows Installer project moved to github.com/espressif/idf-installer
Closes IDF-3147
See merge request espressif/esp-idf!14120
2021-07-26 21:41:38 +00:00
Martina
1e5a2f92c3
feature/update_cmake: Update of outdated CMake version 3.16.4->3.20.3 and CCache version 3.7->4.3 in tools.json
...
Closes https://github.com/espressif/esp-idf/issues/7083
2021-07-26 21:30:59 +08:00
Ivan Grokhotkov
8940f0ff2c
tools: install riscv32-esp-elf for ESP32-S2 as well
...
riscv32-esp-elf-gcc is used for RISC-V ULP programming.
2021-07-26 09:58:48 +02:00
Roland Dobai
1ecdab3a70
CI: Debug GDB issues
2021-07-23 02:00:00 +08:00
Roland Dobai
e1c978a03b
Merge branch 'feature/use_lin_bin_on_freebsd' into 'master'
...
Tools: Use Linux i386/AMD64 binaries on FreeBSD
Closes IDFGH-5492
See merge request espressif/esp-idf!14442
2021-07-22 14:31:20 +00:00
He Yin Ling
35f8caf1cb
Merge branch 'bugfix/ttfw_fix_flush_index_error' into 'master'
...
test: TTFW fix flush index error
See merge request espressif/esp-idf!14217
2021-07-22 12:55:27 +00:00
Roland Dobai
0ac685d094
Merge branch 'bugfix/monitor_reset_start' into 'master'
...
Tools: Fix chip reset on IDF Monitor connection
Closes IDFGH-5451, IDFCI-690, IDF-3455, and IDF-287
See merge request espressif/esp-idf!14349
2021-07-22 12:19:25 +00:00
Juraj Michálek
76544b053a
tools: Windows Installer project moved to github.com/espressif/idf-installer
2021-07-22 12:13:38 +02:00
Kapil Gupta
e667d1af2e
wpa_supplicant: bypass sonar checks for upstream code
2021-07-22 14:12:22 +08:00
Fu Hanxi
69650e0c18
Merge branch 'feature/espcoredump_test_refactor' into 'master'
...
Feature: espcoredump test refactor
See merge request espressif/esp-idf!13092
2021-07-22 04:35:58 +00:00
Fu Hanxi
a6068ef259
Merge branch 'feature/pass_idf_version_to_component_manager' into 'master'
...
feat: pass idf version to component manager
See merge request espressif/esp-idf!14343
2021-07-22 04:04:19 +00:00
Fu Hanxi
12f0b55ca9
test(coredump): refactor coredump test and add esp32s2/esp32c3 tests
2021-07-22 10:17:59 +08:00
Ivan Grokhotkov
2f811b7975
cmake: sort lists obtained from file(GLOB)
...
CMake sorts result of file(GLOB) command since version 3.6.0:
https://gitlab.kitware.com/cmake/cmake/-/commit/edcccde7d
Since ESP-IDF sets cmake_minimum_required version to 3.5, and version
3.5.1 is used in CI, sort file lists obtained from file(GLOB)
manually.
This helps obtain reproducible order of libraries passed to the linker
and to ldgen.
2021-07-22 10:14:33 +08:00
Shubham Patil
df12f22e37
espcoredump.py: Parse EPS and EPC register values using register index
2021-07-21 20:24:47 +05:30
morris
fd568ce2c0
Merge branch 'bugfix/add_requires_to_mock_register' into 'master'
...
[cmake]: Fixed mock register function
See merge request espressif/esp-idf!14396
2021-07-21 06:54:20 +00:00
Roland Dobai
31f45f7200
Tools: Fix chip reset on IDF Monitor connection
...
Closes https://github.com/espressif/esp-idf/issues/7190
2021-07-20 20:48:08 +08:00
Dmitry
dbf5c6fd58
Tools: Fix chip reset on IDF Monitor connection
...
Closes https://github.com/espressif/esp-idf/issues/7190
2021-07-20 20:48:08 +08:00
Anton Maklakov
be8ef09a59
Merge branch 'feature/exception_emergency_pool_test_ci' into 'master'
...
[cxx]: Activate emergency exception memory pool test in CI
Closes IDF-1610
See merge request espressif/esp-idf!14143
2021-07-20 02:22:32 +00:00
Roland Dobai
7c3a4bc26b
Merge branch 'feature/installing_tools_for_IDF_TARGET' into 'master'
...
tools: Installing tools for given IDF_TARGET
Closes IDF-814 and IDFGH-3092
See merge request espressif/esp-idf!13351
2021-07-19 06:53:01 +00:00
Jakob Hasse
366ede3ffb
[cmake]: Fixed mock register function
...
* REQUIRES was missing from multi value args
2021-07-19 13:57:19 +08:00
Michael (XIAO Xufeng)
59195b6fb3
Merge branch 'bugfix/update_gdma_soc' into 'master'
...
gdma: alignment setting for PSRAM transfer
Closes IDF-1524
See merge request espressif/esp-idf!13976
2021-07-17 14:04:03 +00:00
Marek Fiala
f6c2198a21
tools: Installing tools for given IDF_TARGET
...
Allow user to select specific ESP_TARGET while setting up ESD_IDF.
Only necessary tools for given target will be downloaded and installed.
Closes https://github.com/espressif/esp-idf/issues/5113
2021-07-16 15:03:19 +02:00
Angus Gratton
f9d958a65d
ut configs: Replace target component with esp_hw_support
...
No tests remaining in the target components.
Some further consolidations can be made here later, to combine target-specific
configs that don't need to be target-specific any more.
2021-07-16 20:14:28 +08:00
Angus Gratton
1e628c0f30
esp32h2: Build unit test app
2021-07-16 20:14:27 +08:00
Angus Gratton
867f13c6b7
tests gen_digital_signature_tests: Fix mypy issues
2021-07-16 20:14:27 +08:00
Renz Bagaporo
b06dba7823
esp32: move app linker scripts
2021-07-16 20:14:27 +08:00
Renz Bagaporo
7c22cccb9c
esp32: cleanup build script
2021-07-16 20:14:27 +08:00
Renz Bagaporo
702e41e1c8
esp32s2: move crypto related functions
2021-07-16 20:14:26 +08:00
morris
d9819bc7ae
gdma: set transfer ability
2021-07-16 14:47:09 +08:00
Fu Hanxi
b26b6d7dc9
feat: set IDF_VERSION to environment variable
2021-07-16 12:01:57 +08:00
Mahavir Jain
f45b60b28b
Merge branch 'bugfix/esp_prov_default_pop' into 'master'
...
Change default PoP argument of esp_prov.get_security from None to string
Closes IDFGH-5381 and IDFGH-5380
See merge request espressif/esp-idf!14353
2021-07-15 18:00:03 +00:00
Marius Vikhammer
126c6405f1
Merge branch 'feature/s3_default_2_config' into 'master'
...
CI: add S3 default_2 unit test config
See merge request espressif/esp-idf!14279
2021-07-15 09:29:31 +00:00
Alex Henrie
5ed53c272b
Change default PoP argument of esp_prov.get_security from None to string
...
Signed-off-by: Shivani Tipnis <shivani@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7130
Closes IDFGH-5380
2021-07-15 13:06:53 +05:30
Ivan Grokhotkov
afe14a5ed2
Merge branch 'bugfix/newlib_dirent_decls' into 'master'
...
newlib: add C++ guards to the platform-specific dirent.h
Closes IDFGH-5465
See merge request espressif/esp-idf!14308
2021-07-15 07:27:14 +00:00
Ivan Grokhotkov
da3038cd7a
Merge branch 'bugfix/tools_fix_win_c3_gdb' into 'master'
...
tools: Update ESP32-C3 toolchain for Windows, added some missed DLLs for GDB
Closes IDFGH-5410
See merge request espressif/esp-idf!14276
2021-07-14 23:57:05 +00:00
morris
3e2d98500f
Merge branch 'refactor/common_rom_rtc_apis' into 'master'
...
soc: define reset reasons in soc component
Closes IDF-1993
See merge request espressif/esp-idf!9829
2021-07-13 07:05:25 +00:00
Angus Gratton
d7d28786b2
Merge branch 'bugfix/secure_boot_sig_verify' into 'master'
...
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification
See merge request espressif/esp-idf!14300
2021-07-13 06:48:25 +00:00
Angus Gratton
4fe4df8770
Merge branch 'feature/bootloader_pin_level_pr7089' into 'master'
...
bootloader: Add configurable pin level for factory reset (PR)
Closes IDFGH-5337
See merge request espressif/esp-idf!13956
2021-07-13 05:39:25 +00:00
He Yin Ling
1708febe48
ttfw: fix incorrect length when flush data cache after expect:
...
data cache is unicode. while we use bytes in RegEx expect. The index of
matched pattern is calculated with bytes, could be different from
unicode. Now we fix this issue by using unicode in expect.
2021-07-13 13:07:08 +08:00
He Yin Ling
b79778d273
ttfw: full_stdout should not return data after pattern in expect
2021-07-13 13:07:08 +08:00
Angus Gratton
e92c4106b9
ci: Enable ESP32-S2 and later support for Secure Boot test app
2021-07-13 14:03:45 +10:00
Angus Gratton
4502a6a5ae
Merge branch 'ci/test_apps_codeowners' into 'master'
...
ci: Add codeowners for test_apps categories
See merge request espressif/esp-idf!14312
2021-07-13 03:56:02 +00:00
morris
1560d6f1ba
soc: add reset reasons in soc component
2021-07-13 10:45:38 +08:00
Simon
0b9afa509f
tools: Add docs subcommand docs which opens browser with documentation for current version of idf and model of your target
...
Add docs subcommand with options:
--no-browser - Prints url for current documentation instead of opens browser with documentation
--language - Select documentation language
--starting-page - Choice section of documentation to open
--version - Choice version of esp-idf
--target - Choice model of your target
2021-07-12 10:56:37 +02:00
Angus Gratton
a06929cf29
ci: Fix example Python matching, update ordering check
...
For matches like **/*.py we need to place the wildcard last, so that
it can override previous directory matches (otherwise the directory
matches override the wildcard). Relax the check_codeowners.py order
check to allow this.
2021-07-12 11:30:11 +10:00
Ivan Grokhotkov
cbf207bfb8
newlib: add C++ guards to the platform-specific dirent.h
...
Before newlib 3.3.0, <dirent.h> bundled in newlib did not include any
function declarations. Instead, the file included the platform-
specific <sys/dirent.h>. This inclusion was inside a C++ guard block.
ESP-IDF provided sys/dirent.h inside newlib component, and this file
contained all the necessary function and structure declarations.
Since da418955f5
,
common function declarations have been added to <dirent.h> in newlib.
However, the inclusion of sys/dirent.h has been moved out of the C++
guard block. However we didn't notice this change and did not update
sys/dirent.h in ESP-IDF newlib component to and the now-required
C++ guards there.
This commit adds the missing C++ guards to the platform-specific
sys/dirent.h.
The declarations of common dirent.h functions are now present both in
<dirent.h> (provided by newlib) and in sys/dirent.h (provided by IDF).
We keep the declarations in sys/dirent.h for compatibility, since some
ESP-IDF files and applications may include <sys/dirent.h> directly,
rather than <dirent.h>.
Closes https://github.com/espressif/esp-idf/issues/7204
2021-07-08 15:53:58 +02:00
Marius Vikhammer
80acc1a002
CI: add S3 default_2 unit test config
2021-07-08 18:39:57 +08:00
Jakob Hasse
7edb808592
[cxx]: Activated emergency pool test to CI
2021-07-08 17:26:49 +08:00
Angus Gratton
e3ca61a200
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification
...
Increase the test app optimization level to one that would find this issue.
2021-07-08 19:17:04 +10:00
David Čermák
cd47ba03bc
Merge branch 'bugfix/mdns_lwip_agnostic' into 'master'
...
mdns: Clean the main mdns module from lwip dependencies
See merge request espressif/esp-idf!14187
2021-07-07 11:58:18 +00:00
Anton Maklakov
2b81fce227
tools: Update ESP32-C3 toolchain for Windows - add some missed DLLs for GDB
2021-07-06 16:26:47 +07:00
Angus Gratton
bfb602d0fc
ci: Fix error message if insufficient jobs for test case tag
2021-07-05 12:08:36 +08:00
Tomasz 'CeDeROM' CEDRO
05f0fa6ebd
Use Linux i386/AMD64 binaries on FreeBSD.
...
FreeBSD can natively emulate Linux ELF binaries.
This commit allows automated Linux tools deployment on FreeBSD.
Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
2021-07-02 16:08:49 +02:00
David Cermak
0a878f0e85
CI: esp_err_t check: Ignore esp32_mock.h per mdns mock update
2021-07-01 15:45:17 +02:00
Shu Chen
75bd02bd46
esp32h2: add some more fixes and TODOs
2021-07-01 20:36:39 +08:00
Shu Chen
15a907da48
esp32h2: enable fast template app CI
2021-07-01 19:53:50 +08:00
Shu Chen
ee23a489b9
esp32h2: code clean up
2021-07-01 19:53:50 +08:00
Shu Chen
2b9e8fed71
esp32h2: add esp32h2 build target
...
Add esp32h2 support in the following components:
* Kconfig
* components/esptool_py
* components/riscv
* components/xtensa
* tools
2021-07-01 19:51:33 +08:00
Ivan Grokhotkov
969904cba6
unit-test-app: increase timer task size
...
FreeRTOS timer tests use quite a lot of stack, close to the limit on
the ESP32. ESP32-S3 has larger coprocessor save area, so there is less
space left for the actual stack, and the tests fail with a stack
overflow. Increase the stack size to make the tests work reliably.
2021-06-29 16:56:35 +02:00
Anton Maklakov
f01002d2fc
tools: stop building if compiler is unsupported
2021-06-28 23:36:15 +08:00
Martin Gaňo
5874fceb0d
Moved coredump utils out of idf_monitor
2021-06-28 13:56:39 +02:00
Michael (XIAO Xufeng)
afc2bc94b3
Merge branch 'feature/add_opi_flash_psram_support' into 'master'
...
spi flash: opi flash psram support and spi timing tuning support on 727
Closes IDF-3097
See merge request espressif/esp-idf!12946
2021-06-28 01:59:19 +00:00
Angus Gratton
c9287888a5
Merge branch 'feature/driver_mock' into 'master'
...
[driver]: added mocking of spi master and gpio
See merge request espressif/esp-idf!12054
2021-06-28 00:38:44 +00:00
Angus Gratton
a041faec77
Merge branch 'feature/ulp_riscv_delay' into 'master'
...
riscv-ulp: Add DS18B20 1wire RISCV-ULP example
Closes IDF-1746 and IDF-3456
See merge request espressif/esp-idf!14115
2021-06-27 23:45:38 +00:00
David Cermak
07de534191
examples: Move non-block socket examples to a single app
...
To simplify the examples, reused the boiler plate and statics and mainly
for testing on localhost interface with no physical network.
2021-06-25 20:46:49 +08:00
suren.gabrielyan
e8bbe2f94f
examples: Added non blocking sockets example tests
...
Closes https://github.com/espressif/esp-idf/issues/6675
2021-06-25 20:46:49 +08:00
Armando
1962574cd8
spi_flash: make spi_flash_private.h ci check fail known issue
2021-06-25 19:41:57 +08:00
Marius Vikhammer
386739595f
RISCV-ULP: Add DS18B20 1wire RISCV-ULP example
2021-06-25 11:26:39 +08:00
Jakob Hasse
79b0256d63
[driver]: partial mocking of driver component
...
* added mocking of spi master and gpio
* mock registering in one function in
component.cmake
2021-06-24 10:10:29 +08:00
Roland Dobai
a71a74cd9d
tools: Catch OSError which is raised when the tool is not available
...
Closes https://github.com/espressif/esp-idf/issues/7140
2021-06-23 11:48:45 +02:00
Mahavir Jain
e31049eacc
Merge branch 'bugfix/heap_tracing_build_issue_for_c3' into 'master'
...
heap: fix build issue with HEAP_TRACING config for C3
See merge request espressif/esp-idf!13948
2021-06-23 03:44:46 +00:00
Roland Dobai
b22fcbef96
Merge branch 'feature/drop_py2_support' into 'master'
...
Drop support for unsupported Python versions
Closes IDF-1676
See merge request espressif/esp-idf!13622
2021-06-22 09:28:49 +00:00
Michael (XIAO Xufeng)
c82087610a
Merge branch 'feature/hal_assert' into 'master'
...
hal: added platform port layer
Closes IDF-1341
See merge request espressif/esp-idf!13608
2021-06-22 08:05:10 +00:00
Mahavir Jain
d5cc79db48
test_apps: add HEAP_TRACING configuration to build tests
2021-06-22 14:14:10 +08:00
Ivan Grokhotkov
bdb01b8285
Merge branch 'bugfix/longjmp_s3' into 'master'
...
[esp_rom]: fixed S3 longjmp patch
Closes IDF-3391
See merge request espressif/esp-idf!13946
2021-06-22 04:00:51 +00:00
morris
4c0ddd34b4
ci: added script to check api violations
2021-06-22 11:28:01 +08:00
Michael (XIAO Xufeng)
b727dca308
Merge branch 'ci/sdmmc_performance_log' into 'master'
...
ci: add log output for the sdmmc performance test
See merge request espressif/esp-idf!13753
2021-06-22 02:45:05 +00:00
Roland Dobai
407053592e
Drop support for unsupported Python versions
2021-06-21 21:48:49 +02:00
Angus Gratton
d127a1fa75
ci panic test: Update the panic test timeout from 3s to 10s
...
If it takes longer than 10s to respond, it's probably not because of the
runner...
2021-06-21 17:08:02 +10:00
He Yin Ling
0f2052ca36
Merge branch 'bugfix/ttfw_dut_check_function_called_after_case_finished' into 'master'
...
ttfw: fix DUT check functions are called after case finished:
Closes IDFCI-672
See merge request espressif/esp-idf!13990
2021-06-21 02:54:39 +00:00
Michael (XIAO Xufeng)
dbd9bfb280
test_utils: allow printint multiple argument in the performance log
2021-06-19 14:19:50 +08:00
Ivan Grokhotkov
ae0657083b
Merge branch 'feature/move-filters-from-idf-monitor' into 'master'
...
Moved GDB utils and logging utils out of idf_monitor.py
See merge request espressif/esp-idf!13555
2021-06-18 10:27:14 +00:00
Jakob Hasse
e32831033a
[esp_rom]: fixed S3 longjmp patch
...
* On S3, the placement of ROM functions is
ECO-dependent. Hence, we don't jump into
the middle of the longjmp function in ROM
on S3 anymore.
Instead, the whole longjump function is used
in the patch.
* Also properly excluded the patch from
bootloader build with Makefiles
Closes IDF-3391
2021-06-18 15:47:41 +08:00
Konstantin Kondrashov
4c0cf40a39
efuse: Burn operation does not block reading
2021-06-18 11:52:47 +08:00
He Yin Ling
31773b8ed2
ttfw: fix DUT check functions are called after case finished:
...
DUT check functions are executed in receive thread. If we put data to
data cache before execute the check functions, the main thread could
handle the data cache first and mark test case finished. We will execute
check functions first to make sure it's executed before case finished.
2021-06-18 09:58:19 +08:00
Martin Gaňo
252036567c
Moved filters out of idf_monitor.py
2021-06-17 21:38:38 +02:00
David Čermák
4d604ee6d2
Merge branch 'bugfix/remove_unstable_network_tests' into 'master'
...
CI: Move mqtt publish tests from regular pipeline to weekend tests
Closes IDFCI-653
See merge request espressif/esp-idf!13891
2021-06-17 07:04:51 +00:00
Angus Gratton
059353b0c2
Merge branch 'feature/refactor_common_secure_boot_code' into 'master'
...
secure_boot/flash_encryption: Refactoring
Closes IDF-2582 and IDF-2035
See merge request espressif/esp-idf!12963
2021-06-16 23:21:45 +00:00
Konstantin Kondrashov
f339b3fc96
efuse(esp32): Deprecate esp_efuse_burn_new_values() & esp_efuse_write_random_key()
...
These functions were used only for esp32 in secure_boot and flash encryption.
Use idf efuse APIs instead of efuse regs.
2021-06-17 07:21:36 +08:00
David Cermak
49ee304161
CI: Prepare mqtt app test for QEMU tests
...
Adds qemu configuration
Generalize the get_dut() to enable choosing DUT class per configuration
2021-06-16 14:30:20 +02:00
Angus Gratton
e7f3099541
Merge branch 'bugfix/missing_extern_c' into 'master'
...
[test_utils]: added extern C decl to ccomp
See merge request espressif/esp-idf!13919
2021-06-16 01:47:27 +00:00
Michael (XIAO Xufeng)
69e26fbcd7
Merge branch 'feature/s3_ci_enable' into 'master'
...
CI: Enable unit tests for S3
See merge request espressif/esp-idf!13875
2021-06-15 16:15:11 +00:00
Marius Vikhammer
d9f5126d24
CI: enable running unit tests in CI for S3
2021-06-15 11:13:50 +08:00
Roland Dobai
483f51cdd0
tools: Some additions to IDF Monitor's timestamps
...
Additions to https://github.com/espressif/esp-idf/pull/7021
2021-06-13 12:13:39 +02:00
David Cermak
74fd8d7af8
CI: Enable publish tests only when started from weekend pipeline
2021-06-11 16:52:43 +02:00
Andrey Starodubtsev
f91bde97c1
Add timestamps for idf_monitor.py
...
Closes https://github.com/espressif/esp-idf/pull/7021
2021-06-11 16:46:52 +02:00
Anton Maklakov
6d9740bc5d
Merge branch 'ci/retry_downlad_for_artifacts' into 'master'
...
ci: retry download artifacts
See merge request espressif/esp-idf!13517
2021-06-11 09:46:29 +00:00
David Cermak
badcbe0fcb
mqtt: Moved weekend tests to test apps
2021-06-10 09:09:14 +02:00
Jakob Hasse
468b7ac6eb
[test_utils]: added extern C decl to ccomp
...
Closes https://github.com/espressif/esp-idf/issues/7121
2021-06-09 15:37:21 +08:00
Angus Gratton
bc4eb2071c
Merge branch 'feature/toolchain_2021r1' into 'master'
...
Bring 2021r1 toolchains
Closes IDFGH-5009
See merge request espressif/esp-idf!13554
2021-06-09 05:06:23 +00:00
Marius Vikhammer
bdfda351bd
build docs: enable building of S3 docs
...
* Added suport for building esp32s3 docs
* Fixed all related warnings
* Activated building of S3 docs for build HTML fast CI job
2021-06-09 09:30:36 +08:00
Fu Hanxi
a624d3bf32
ci: retry download artifacts
2021-06-08 15:04:06 +08:00
Anton Maklakov
3b60c2e131
ci: add debug artifacts for test_idf_tools
2021-06-07 18:48:38 +07:00
Anton Maklakov
f6a91bff87
Update toolchains to esp-2021r1
...
Adds ESP32-C3 support
Updates ESP32-S3 overlay
GDB 9.2 for ESP32-C3 with core dump support
Linker supports eh-frame-hdr for ESP32-C3
Newlib 3.3.0 includes fixes for <cmath> funcs, for overflow when TZ calculating, for malloc checks
Binutils 2.35.1
Closes https://github.com/espressif/esp-idf/issues/6795
2021-06-07 18:46:42 +07:00
Anton Maklakov
0ed7af2c4c
tools: promote ESP32-S3 from preview to supported target
2021-06-07 12:52:28 +07:00
Anton Maklakov
4bb09900ab
tools: fix parsing regex
2021-06-07 12:35:55 +07:00
Shu Chen
6061a547e5
esp_phy: decouple esp_phy component from esp_wifi and bt
...
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00
Anton Maklakov
37b058dfcf
Merge branch 'tools/update_mypy_rules' into 'master'
...
Change logic for MYPY checker
See merge request espressif/esp-idf!13509
2021-06-02 10:16:05 +00:00
Ivan Grokhotkov
0e68c222ac
Merge branch 'bugfix/dfu_split_large_bins' into 'master'
...
tools: Split up large binaries into smaller chunks in the DFU binary
Closes IDFGH-5227
See merge request espressif/esp-idf!13556
2021-05-31 17:19:28 +00:00
Shivani Tipnis
2d22374460
ble-wifi-example-tests: Add fixes and cleanups to ble and wifi tests
2021-05-28 19:50:28 +05:30
He Yin Ling
201018da43
Merge branch 'ci/shorter_performance_test_log' into 'master'
...
ci: optimize performance test log
See merge request espressif/esp-idf!13607
2021-05-21 06:48:16 +00:00
He Yin Ling
79cd45fdee
Merge branch 'test/support_multiple_targets_for_iperf_example_test' into 'master'
...
test: support multiple targets for iperf example test
Closes TCI-656
See merge request espressif/esp-idf!13527
2021-05-21 06:43:21 +00:00
He Yin Ling
016a37c8ad
ci: save built binaries could be tested locally:
...
we have some test cases not executed in CI. we need to save those
binaries as artifacts so we can test locally.
2021-05-20 16:58:39 +08:00
He Yin Ling
8434c0c731
ttfw: fix DUT exception not added to junit report
2021-05-20 16:28:20 +08:00
Fu Hanxi
bccaab7e6c
fix(ci): fix missing [Performance] prefix in junit report
2021-05-20 14:13:54 +08:00
Fu Hanxi
4304866780
ci: shorter performance test log
2021-05-20 14:13:54 +08:00
Roland Dobai
6b75bad2b1
tools: Split up large binaries into smaller chunks in the DFU binary
...
ROM will erase the region a partition is in as soon as it receives the
first bit of the data that is in the partition. For large partitions it
takes more than 5 seconds to erase which is a hard-coded limit in
dfu-utils.
This splits large binaries and adds them by chunks which should avoid
timing-out during flashing.
Closes https://github.com/espressif/esp-idf/issues/6999
2021-05-19 15:15:50 +02:00
Ivan Grokhotkov
38d902f544
Merge branch 'feature/gdbstubs_rt' into 'master'
...
Extension of GDBStub component for handling GDB by serial port at runtime.
See merge request espressif/esp-idf!10312
2021-05-18 17:14:51 +00:00
Angus Gratton
0fc9253ed9
lwip: Update public port-layer headers with c++ guards, sdkconfig include
...
This doesn't fix any particular bug, just to meet best practices. Although
including some LWIP headers from C++ files may have caused linker issues.
2021-05-18 16:09:17 +10:00
Dmitry
00a7ecb5a3
Code cleanup. Bugfix after rebase with master. Formating.
2021-05-13 15:03:40 +03:00
Angus Gratton
3ce98690e6
Merge branch 'bugfix/stdatomic_64bit' into 'master'
...
newlib: define 64-bit stdatomic operations on 32-bit SMP SoCs
Closes IDFGH-703
See merge request espressif/esp-idf!13463
2021-05-12 23:44:11 +00:00
Dmitry
a16ae6c737
IDF monitor update
2021-05-11 16:08:44 +03:00
Dmitry
c6e3eb0922
idf.py.exe changes to handle Ctrl+C in correct way.
...
Handling Ctrl+C in correct way for gdbstubs.
2021-05-11 16:04:44 +03:00
Tomas Sebestik
396acc5b31
Change logic for MYPY checker
2021-05-11 08:45:14 +02:00
Ivan Grokhotkov
2c6f9c4d50
Merge branch 'feature/oocd_ver_upgrade' into 'master'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'
See merge request espressif/esp-idf!11377
2021-05-10 16:20:14 +00:00
Ivan Grokhotkov
1fb58684a2
unity: add UNITY_MAIN_FUNC helper macro to run multiple test groups
2021-05-10 18:13:35 +02:00
Angus Gratton
84f2f2932d
Merge branch 'bugfix/esp_partition_get_sha256' into 'master'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition when CHECK_SIGNATURE is on
Closes IDFGH-5089
See merge request espressif/esp-idf!12795
2021-05-07 23:34:56 +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
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
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
KonstantinKondrashov
2e4b625f59
simple_ota_example: Adds sha256 check for app images
2021-05-05 22:18:40 +08:00
Ivan Grokhotkov
2887c88f56
spiram: add header guards to esp32s3/spiram.h and remove the exception
2021-05-05 15:27:19 +02:00
Ivan Grokhotkov
6d2e0c3eae
tests: gdb_loadable_elf: adjust the breakpoint location for ESP32 ECO3
...
The previous location was the return from the first ets_printf call
that prints ROM sign-on message. Since the main function was patched
in ECO3, the new address no longer works — there is no instruction at
0x40007901 in ECO3 ROM. This could be solved by setting two
breakpoints (one would work for ECO <=2, the other for ECO3), but we
would need to remove the unused breakpoint later.
Fix this by setting the breakpoint at ets_printf. This means that when
debugging a loadable ELF the ROM sign-on message will no longer be
shown, but this doesn't seem to be an issue.
2021-05-04 16:22:50 +02:00
Ivan Grokhotkov
0bd9f6fe12
tools: spiffsgen: fix length error, add test case
2021-05-03 11:37:42 +02:00
Alexey Gerenkov
500a45fb1e
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210401'
2021-05-03 09:33:51 +00: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
d936d137c7
Merge branch 'bugfix/gdbgui' into 'master'
...
tools: Add various fixes for idf.py gdbgui
Closes IDFGH-4098
See merge request espressif/esp-idf!13371
2021-05-03 09:31:13 +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
Ivan Grokhotkov
9f20eeb1c0
tools: spiffsgen.py: add type annotations
2021-04-30 18:07:48 +02:00
Krzysztof Budzynski
f05d9a1de0
Merge branch 'bugfix/check_readme_links_no_exception' into 'master'
...
check_readme_links: remove throwing of exception before exit
See merge request espressif/esp-idf!13341
2021-04-30 03:50:10 +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
Jeroen Domburg
2c75f63f89
* ets_delay_us(1) has too much overhead; change logic
...
* Fix MR comments
2021-04-28 16:38:24 +08:00
Roland Dobai
0102cbf334
tools: Add various fixes for idf.py gdbgui
...
Closes https://github.com/espressif/esp-idf/issues/5968
2021-04-27 17:34:31 +02: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
Fu Hanxi
cba0725aac
Merge branch 'bugfix/ci_check_executable_windows' into 'master'
...
ci: fix check_executables issue on Windows
See merge request espressif/esp-idf!13342
2021-04-27 07:14:59 +00:00
Fu Hanxi
b972631658
feat(coredump): add esp32s2 and esp32c3 support
2021-04-26 20:44:23 +08:00
Michael (XIAO Xufeng)
9aebd01aeb
ci: fix check_executables issue on Windows
2021-04-26 15:55:31 +08:00
Marius Vikhammer
4bf7b16358
check_readme_links: remove throwing of exception before exit
...
Reraising the exception before exiting was intended to help troubleshoot,
but turned out to be more confusing than helpful as it might look like the script was failing
2021-04-26 15:36:30 +08: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
Martin Gaňo
74448df9f1
Put typing import into try block
2021-04-25 21:21:35 +02:00
Cao Sen Miao
2059990c94
ci: Add more information for flash performance test
2021-04-25 17:59:10 +08:00
Michael (XIAO Xufeng)
0adc6fa17d
Merge branch 'example/i2s_sound_record' into 'master'
...
Added I2S example for microphone recording to WAV file and I2S examples folder moved
See merge request espressif/esp-idf!12835
2021-04-24 10:41:26 +00:00
pedro.minatel
86fa666343
Added I2S example for microphone recording to WAV file and I2S examples folder moved
...
Added import module check on generate_audio_file.py and removed from mypy ignore list
Added sugestions and minor changes on the README
2021-04-23 15:06:26 +01: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
cdef1ea38a
examples: Add example for fastest startup time
...
Example includes README and sdkconfig.defaults with notes about trade-offs
made for minimum boot time.
2021-04-23 18:27:20 +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
Ivan Grokhotkov
e3c8ea00d9
test_apps/panic: apply pre-commit fixes in python scripts
2021-04-22 23:33:46 +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
suren.gabrielyan
823abfdfd5
examples: Add esp-ssl example tests server/client
...
Closes IDF-1156
2021-04-21 16:18:03 +04: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
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
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
Shu Chen
f8addc5b3d
Merge branch 'bugfix/add-ci-allow-line' into 'master'
...
tools: Add /*error*.o and /*error*.d to allowed build lines
See merge request espressif/esp-idf!13251
2021-04-20 12:05:27 +00:00
Fu Hanxi
af2139e0b6
Merge branch 'bugfix/ci/runner_py_consider_no_junit_report_as_succeeded' into 'master'
...
CI: runner py consider no test case as succeeded
See merge request espressif/esp-idf!13098
2021-04-20 10:13:02 +00:00
Jiacheng Guo
9c9838f229
tools: Add /*error*.o and /*error*.d to allowed build lines
2021-04-20 18:09:40 +08:00
Mahavir Jain
6f81428013
test_apps: increase partition table offset to fix build errors
2021-04-20 14:23:13 +05:30
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
Shu Chen
809832f3bc
Merge branch 'bugfix/add-ci-allow-file-filter' into 'master'
...
tools: Add *error*.cpp to allowed build lines
See merge request espressif/esp-idf!13176
2021-04-20 03:25:58 +00:00
Fu Hanxi
9b8d1e7826
fix(ci): return as failed when no test case result generated
2021-04-20 11:18:12 +08:00
Fu Hanxi
15b6389ca7
fix(ci): ci_fetch_submodule return full match name first
2021-04-19 19:34:11 +08:00
Ivan Grokhotkov
8d852decf1
Merge branch 'bugfix/failing_python_wheels_download' into 'master'
...
tools: remove dependency of idf-python and idf-python-wheels
Closes IDFGH-5097
See merge request espressif/esp-idf!13165
2021-04-19 08:12:29 +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
Juraj Michálek
7cc6e6e813
tools: remove dependency of idf-python and idf-python-wheels
...
Closes IDFGH-5097
Closes https://github.com/espressif/esp-idf/issues/6881
2021-04-19 07:27:40 +02: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
Jiacheng Guo
4253d9ee49
tools: Add *error*.cpp to allowed build lines
2021-04-19 10:19:59 +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
Angus Gratton
e1ebe3d7ac
ci: Move partition table offset in secure boot test app
2021-04-16 16:40:47 +10:00
Angus Gratton
bed8b29d9a
ci: Move partition table offset for -O0 build of template app
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
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
Roland Dobai
0dc3da6dce
tools: Fix ANSI color converter on Windows
...
Fix a regression of b77addea2f
: The ANSI
color converter returns a class on Windows instead of an object so its
methods won't be callable and will result in a not so helpful error
message: "idf_monitor failed with exit code 120"
2021-04-15 19:56:39 +02:00
Ivan Grokhotkov
9d093d3a04
Merge branch 'feature/installed_tool_failed' into 'master'
...
tools: Warning about tool being installed but failed to run.
Closes IDF-2819
See merge request espressif/esp-idf!12855
2021-04-15 08:17:54 +00:00
Angus Gratton
7f0fc3a37b
ci: Consolidate deep sleep example test configs
2021-04-15 16:24:44 +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
He Yin Ling
d1ab7fbd5a
Merge branch 'bugfix/ttfw_idf_port_detecting_hang' into 'master'
...
fix: running ttfw tests locally hang forever while detecting ports
See merge request espressif/esp-idf!13048
2021-04-15 02:27:36 +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
Ivan Grokhotkov
996e84f97a
Merge branch 'docs/fix_custom_test_doc' into 'master'
...
[system]: Running panic test app locally doc
See merge request espressif/esp-idf!13052
2021-04-14 11:35:12 +00:00
Angus Gratton
16d5277bd5
Merge branch 'ci/include_failed_build_output_in_log' into 'master'
...
CI: Include failed build output in job log
Closes IDF-2220
See merge request espressif/esp-idf!12399
2021-04-14 08:34:26 +00:00
Fu Hanxi
7651e031cb
fix: running ttfw tests locally hang forever while detecting ports
2021-04-14 11:43:13 +08:00
Angus Gratton
ec01a66557
Merge branch 'feature/esp32c3_memprot_test3' into 'master'
...
ESP32C3/ESP32S2: memprot API upgrade and test application
Closes IDF-2641
See merge request espressif/esp-idf!12941
2021-04-13 18:42:46 +00:00
Martin Gano
1546e970db
Merge branch 'master' into 'feature/refactor-idf-monitor'
...
# Conflicts:
# tools/ci/mypy_ignore_list.txt
2021-04-13 20:55:19 +08:00
Anton Maklakov
8db9a93e55
Merge branch 'fix/reordering_mypy_ignorelist' into 'master'
...
CI: Fix reordering content of MYPY ignorelist
Closes IDF-3101
See merge request espressif/esp-idf!13110
2021-04-13 10:01:23 +00:00
Tomas Sebestik
e408915ff0
Remove sorting of MYPY ignore list from py script
...
Add sorting of mypy ignore list to pre-cm hook 'file-contents-sorter'
2021-04-13 10:35:56 +02:00
Angus Gratton
a5faf86934
Merge branch 'bugfix/override_cmake_python' into 'master'
...
cmake: Minor Python CMake build fixes
Closes IDFGH-4454
See merge request espressif/esp-idf!12975
2021-04-13 03:39:16 +00:00
Marek Fiala
ae6f602b6b
tools: Warning about tool beiing installed but failed to run.
...
idf_tool.py runs "<tool> --version" which returns the error message but it is not used
This improves the error printing.
2021-04-12 20:51:32 +02:00
Martin Gaňo
b77addea2f
Decompose idf_monitor.py
2021-04-12 10:47:33 +02:00
Ivan Grokhotkov
b51a7e0cc7
Merge branch 'feature/win_inst_offline' into 'master'
...
Feature/win inst offline
Closes IDF-2636, IDF-2664, IDFGH-4549, IDFGH-3424, IDFGH-4260, IDFGH-4664, IDFGH-2202, IDFGH-4697, IDF-2742, and IDF-2955
See merge request espressif/esp-idf!12003
2021-04-12 06:54:24 +00:00
Angus Gratton
2a33dbb5a7
ci: Include context from failed build logs in the CI job log
...
This is faster to look up than browsing or downloading artifacts, and will often
contain the root cause.
Context includes the last 25 lines of the log, and any lines contaiing 'error:'
or 'warning:'
2021-04-12 05:48:40 +00:00
Martin Vychodil
f27c9c5139
esp32c3: memprot API upgrade and test application
...
Closes IDF-2641
2021-04-12 13:44:11 +10:00
Angus Gratton
936523b904
Merge branch 'feature/secure_bootv2_c3' into 'master'
...
secure_boot_v2: Support SB_V2 for ESP32-C3 ECO3
Closes IDF-2647
See merge request espressif/esp-idf!13040
2021-04-12 01:31:25 +00:00
KonstantinKondrashov
4fbfb03fe1
unit-test-app(config): CI uses ECO0 for esp32c3 UTs
2021-04-09 14:26:08 +08:00
Angus Gratton
202154ff1c
ut: Exclude test_utils component from default_2_c3 config
...
Theory is that the large alignments in this test component are triggering linker
bug (to be fixed in next toolchain update). This component is already tested
in a dedicated config, so it doesn't need to be included in this config.
2021-04-08 13:33:28 +10:00