Armando (Dou Yiwen)
0b80546f8e
Merge branch 'feature/new_esp_psram_component' into 'master'
...
esp_psram: new esp psram component
Closes IDF-4318, IDF-4382, IDF-4841, and IDFGH-7192
See merge request espressif/esp-idf!18050
2022-06-15 19:16:56 +08:00
Jing Li
074c708cf0
Merge branch 'refactor/simplify_code_for_time_compensation_when_sleep' into 'master'
...
system/sleep: simplify code for time compensation when wakeup from light sleep
See merge request espressif/esp-idf!18491
2022-06-15 14:38:40 +08:00
laokaiyao
621d0aa942
i2s: Introduced a brand new driver
2022-06-15 10:29:06 +08:00
Darian
e213e66ba3
Merge branch 'refactor/esp_hw_support_cpu' into 'master'
...
esp_hw_support: Add new esp_cpu.h abstraction
Closes IDF-4769
See merge request espressif/esp-idf!17091
2022-06-14 21:11:30 +08:00
Michael (XIAO Xufeng)
7b8e5888ca
Merge branch 'refactor/add_clk_tree_ll' into 'master'
...
clk_tree: Stage3 - HAL for clock subsystem
Closes IDF-4334
See merge request espressif/esp-idf!18270
2022-06-14 17:16:29 +08:00
Armando
cdad8a02fe
esp_psram: remove g_spiram_ok
2022-06-14 15:44:27 +08:00
jingli
30e7af2ffb
system/sleep: simplify code for time compensation when wakeup from light sleep
2022-06-14 14:49:26 +08:00
Darian Leung
a8a3756b38
hal: Route CPU and Interrupt Controller HAL/LL to esp_cpu calls
...
This commit makes changes to cpu_ll.h, cpu_hal.h, and interrupt_controller_hal.h:
- Moved to esp_hw_support in order to be deprecated in the future
- HAL/LL API now route their calls to esp_cpu.h functions instead
Also updated soc_hal.h as follows:
- Removed __SOC_HAL_..._OTHER_CORES() macros as they dependend on cpu_hal.h
- Made soc_hal.h and soc_ll.h interfaces always inline, and removed soc_hal.c.
This commit also updates the XCHAL_ERRATUM_572 workaround by
- Removing it's HAL function and invoking the workaround it directly the bootloader
- Added missing workaround for the ESP32-S3
2022-06-14 14:40:03 +08:00
Darian Leung
61eb7baa6b
esp_hw_support: Add esp_cpu.h abstraction and API
...
This commit updates the esp_cpu.h API. The new API presents a new
abstraction of the CPU where CPU presents the following interfaces:
- CPU Control (to stall/unstall/reset the CPU)
- CPU Registers (to read registers commonly used in SW such as SP, PC)
- CPU Interrupts (to inquire/allocate/control the CPUs 32 interrupts)
- Memory Port (to configure the CPU's memory bus for memory protection)
- Debugging (to configure/control the CPU's debugging port)
Note: Also added FORCE_INLINE_ATTR to the DoxyFile in order to pass doc
builds for esp_cpu.h
2022-06-14 14:30:58 +08:00
Fu Hanxi
3bb9d37863
ci: fix bash shell array incompatibility in dash
2022-06-14 09:46:55 +08:00
Konstantin Kondrashov
7d942e0a5d
Merge branch 'feature/efuse_rst_is_treated_as_poweron_rst' into 'master'
...
reset_reasons: EFUSE_RST is treated as POWERON_RST + checks errors of eFuse BLOCK0
Closes IDF-3702
See merge request espressif/esp-idf!14742
2022-06-13 21:26:13 +08:00
songruojing
6f6251f369
hal: Limit the HAL_ASSERTION_LEVEL in bootloader to be no larger than 1 (i.e. silent)
2022-06-13 17:47:51 +08:00
songruojing
c8752cee6a
clk_tree: Refactor rtc_clk.c by adding HAL layer for clock subsystem
2022-06-13 17:47:50 +08:00
Martin Vychodil
7f884dc966
Merge branch 'fix/ff_sdmmc_status_check_optional' into 'master'
...
fatfs: Add option to mock ff_sdmmc_status output to increase IO speed
Closes IDF-4788
See merge request espressif/esp-idf!18300
2022-06-13 14:42:12 +08:00
Fu Hanxi
e8329f179d
Merge branch 'ci/pytest_with_multi_runner_tags' into 'master'
...
ci: use tags as markers
Closes IDFCI-1271 and IDFCI-1287
See merge request espressif/esp-idf!18221
2022-06-13 11:43:42 +08:00
David Čermák
2c1f7a044e
Merge branch 'bugfix/esp_netif_clean_deps' into 'master'
...
esp-netif: Make dependency on esp-eth optional
Closes IDF-4459
See merge request espressif/esp-idf!17980
2022-06-11 14:12:52 +08:00
morris
5daa73d236
Merge branch 'refactor/mcpwm_hal_driver_doc' into 'master'
...
mcpwm: don't support disable carrier one-shot pulse
Closes IDFGH-7406
See merge request espressif/esp-idf!18295
2022-06-10 10:28:59 +08:00
Fu Hanxi
7e0bb1dabd
ci: use tags as markers
2022-06-10 09:13:23 +08:00
Adam Múdry
8af790da45
fatfs: Add mock option to ff_sdmmc_status function to increase IO speed
...
Adds `disk_status_check_enable` field to `esp_vfs_fat_mount_config_t` struct to control if ff_sdmmc_status is mocked or not.
2022-06-09 20:09:32 +00:00
KonstantinKondrashov
46f0313d6b
reset_reasons: EFUSE_RST is treated as POWERON_RST
...
ESP32 does not have the EFUSE_RST, the rest chips has this reset reason.
2022-06-09 17:49:03 +08:00
David Cermak
343cf2696e
esp_eth: Reduce internal deps onto netif-glue
2022-06-09 07:55:40 +00:00
Cao Sen Miao
6589daabb9
MMU: Add configurable mmu page size support on ESP32C2
2022-06-08 19:34:31 +08:00
Mahavir Jain
34fb03b049
Merge branch 'feature/http_example_pytest_migration' into 'master'
...
http example pytest migration
See merge request espressif/esp-idf!18053
2022-06-06 20:13:01 +08:00
Michael (XIAO Xufeng)
773715d900
Merge branch 'feature/support_refresh_brownout_v1' into 'master'
...
spi_flash: send reset when brownout detected on XMC flash
Closes IDF-3882
See merge request espressif/esp-idf!16873
2022-06-06 16:27:58 +08:00
Harshit Malpani
767125a051
Remove tiny_test_fw dependency from idf_http_server_test package
2022-06-03 16:00:52 +05:30
morris
aa3ddbc3c6
Merge branch 'test/enable_c2_target_tests' into 'master'
...
ci: enable target tests for ESP32-C2
Closes IDF-4989
See merge request espressif/esp-idf!18182
2022-06-03 16:41:24 +08:00
David Čermák
46e599c56d
Merge branch 'feature/lwip_rework_patches' into 'master'
...
lw-IP: Reworked patches
Closes IDFGH-6197
See merge request espressif/esp-idf!17388
2022-06-03 15:26:55 +08:00
Anton Maklakov
bc932c646e
Merge branch 'bugfix/dirent-definition' into 'master'
...
newlib: dirent d_ino type fix
See merge request espressif/esp-idf!18336
2022-06-02 19:48:53 +08:00
morris
3247335770
mcpwm: don't support disable carrier first pulse
...
The first pulse of MCPWM carrier can not be disabled, this commit will
remove the feature.
Closes https://github.com/espressif/esp-idf/issues/8984
2022-06-02 15:01:18 +08:00
morris
f7ff7ac4d0
mcpwm: clean up hal driver and add doc
2022-06-02 15:01:18 +08:00
Michael (XIAO Xufeng)
6a8aed12ee
ci: partially enable ut tests for esp32c2
...
Disabled test cases are tracked in:
IDF-4465, IDF-5045, IDF-5057, IDF-5058, IDF-5059, IDF-5060, IDF-5061, IDF-5131
- test_fatfs: IDF-5136
- test_pm: IDF-5053
- test_cache_mmu: IDF-5138
- test_partitions: IDF-5137
- test_vfs: IDF-5139
- test_freertos: IDF-5140
- test_wpa_supplicant: IDF-5046
- test_mbedtls: IDF-5141
- test_pthread: IDF-5142
- test_protocomm: IDF-5143
- test_lightsleep: IDF-5053
- test_taskwdt: IDF-5055
- test_tcp_transport: IDF-5144
- test_app_update: IDF-5145
- test_timer: IDF-5052
- test_spi: IDF-5146
- test_rtc_clk: IDF-5060
- test_heap: IDF-5167
ci: fixed issues for tests of libgcc, ets_timer, newlib
test_pm: support on C2
2022-06-02 14:23:35 +08:00
Michael (XIAO Xufeng)
b9f37be868
ci: enable target tests for ESP32-C2
...
reduce parallel num of unused jobs
2022-06-02 11:10:29 +08:00
Cao Sen Miao
6a2d3509dc
spi_flash: Making XMC flash works more stable when brownout detected
2022-06-02 10:38:55 +08:00
David Cermak
7efcb5e625
lwip: Add missing null-checks, rename to vanilla-lwip
2022-06-01 20:38:40 +02:00
Scott Mabin
c947585ee4
newlib: dirent d_ino type fix
...
As per the posix spec, `d_ino` should be defined as `ino_t`. See the
reference:
http://pubs.opengroup.org/onlinepubs/7908799/xsh/dirent.h.html .
2022-06-01 13:49:32 +01:00
David Cermak
00377cf2e5
lwip/ci: Cleanup public header checker ignore list
2022-06-01 14:36:58 +02:00
David Cermak
0e71a325de
lwip/wifi: Improve Rx throughput on the wifi defaults (sta+ap)
2022-05-31 15:23:06 +02:00
KonstantinKondrashov
ac4c7d99fe
dport: Move DPORT workaround to G0
2022-05-31 13:44:18 +08:00
Anton Maklakov
b965264e68
Merge branch 'bugfix/coredump_warnings' into 'master'
...
coredump: minor fixes of warnings
See merge request espressif/esp-idf!18306
2022-05-31 11:43:51 +08:00
Jakob Hasse
97c149f73d
Merge branch 'refactor/nvs_iterator_api' into 'master'
...
NVS: New interface for iterator functions
Closes IDFGH-6149
See merge request espressif/esp-idf!18081
2022-05-31 07:47:26 +08:00
Laukik Hase
1ee3ee6854
protobuf: Fix v4.21.0 (python) compatibility issue
...
- Added auto-generated protobuf files (proto-c and python to
pre-commit hook ignore lists
2022-05-30 09:54:31 +05:30
Anton Maklakov
45f267390b
espcoredump: fix unsigned arithmetic
2022-05-30 11:21:30 +07:00
Jiang Jiang Jian
8efa4d64e0
Merge branch 'feature/add_task_wrappers' into 'master'
...
wpa_supplicant: Add osi layer for FreeRTOS calls
Closes WIFI-2996
See merge request espressif/esp-idf!11734
2022-05-30 10:29:50 +08:00
Jakob Hasse
ad184e979a
refactor (nvs)!: New interface for iterator functions
...
Closes https://github.com/espressif/esp-idf/issues/7826
* nvs_entry_find(), nvs_entry_next() and nvs_entry_info()
return error codes now
* nvs_entry_find() and nvs_entry_next() access/modify iterator via
parameters, instead of returning an new iterator.
Added appropriate documentation in Chinese and English
2022-05-30 09:28:42 +08:00
Martin Vychodil
d1ec5580ee
Merge branch 'nvs/remove_asserts' into 'master'
...
change: NVS assertions as runtime errorcodes
Closes IDF-3025
See merge request espressif/esp-idf!17739
2022-05-30 01:07:25 +08:00
Matus Fabo
58cca07104
add: Kconfig assert or errorcode option
...
add: private include header
add: macro encapsulation for assertion or error check
add: ESP_FAIL return code documentation in public headers
change: replaced all assertions by NVS_ASSERT_OR_RETURN macro
change: few internal function return values from void to esp_err_t
change: ESP_ERR_NVS_VALUE_TOO_LONG macro comment
2022-05-28 20:29:05 +02:00
Wu Zheng Hui
d3fa6e3a15
Merge branch 'bugfix/update_efuse_name' into 'master'
...
efuse: update efuse name
See merge request espressif/esp-idf!18193
2022-05-28 22:03:17 +08:00
Wu Zheng Hui
b98622c624
efuse: update efuse name
2022-05-28 22:03:16 +08:00
Darian
f3d06ad78d
Merge branch 'bugfix/fix_SysTickIsrHandler_casting' into 'master'
...
HAL: Fix systimer counter value bit field
Closes IDF-5132
See merge request espressif/esp-idf!18252
2022-05-28 18:31:03 +08:00
Ivan Grokhotkov
a14e14f37a
Merge branch 'feature/docker_build_gh_actions' into 'master'
...
ci: move Docker image builds to Github, plus other improvements
Closes IDFCI-1264 and IDFGH-6264
See merge request espressif/esp-idf!18256
2022-05-27 19:56:29 +08:00
radim.karnis
3e08f355b6
tools: Use esptool v4
2022-05-26 13:59:50 +00:00
Darian Leung
c45784b8c4
hal: Fix systimer counter value bit field
...
This commit fixes the systimer_counter_value_t by adding a resreved field so that the
type fills 64-bits.
Without the reserved field, when compiling with -O0 optimization, the unoccupied high
bits would not be initalized by the compiler, leading to systimer_hal_get_counter_value()
returning a garbage value.
2022-05-26 12:56:25 +00:00
Kapil Gupta
0cdad0a002
wpa_supplicant: Add wrappers for FreeRTOS APIs
2022-05-26 15:23:21 +05:30
Ivan Grokhotkov
6dc52d4425
ci: build and push Docker images in Github actions, add arm64 platform
...
Replaces the previously used Docker Hub autobuild infrastructure.
This allows for more flexible configuration of the build process,
at the expense of some extra maintenance of CI workflow files
required.
2022-05-26 03:44:13 +02:00
Song Ruo Jing
cf32e49aeb
Merge branch 'refactor/cleanup_rtc_h' into 'master'
...
clk_tree: Prework2 of introducing clock subsystem control
Closes IDF-4934
See merge request espressif/esp-idf!17861
2022-05-26 09:16:47 +08:00
Roland Dobai
64b6733349
Merge branch 'refactor/change_copyright_in_tools' into 'master'
...
idf.py: Change copyright in tools code owner's files
See merge request espressif/esp-idf!18215
2022-05-25 18:58:15 +08:00
Darian Leung
887421bb49
ci: Fix failing build system test when FreeRTOS SMP is enabled
...
Build system tests check that xtensa_vectors.S is rebuilt in some of the CMake build system
tests. However, the path of this file may change when FreeRTOS SMP is enabled.
This commit fixes the CMake build system test by selecting another ".S" file who's path
does not change based on configuration.
2022-05-25 16:31:34 +08:00
songruojing
a5b09cf015
rtc_clk: Clean up some clock related enum and macro in soc/rtc.h, replace with new ones in
...
soc/clk_tree_defs.h
2022-05-24 22:59:41 +08:00
simon.chupin
1c5e596633
idf.py: Change copyright in tools dir
2022-05-24 14:01:50 +02: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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