Commit Graph

21637 Commits

Author SHA1 Message Date
Chen Yi Qun
56e9920958 uart: add wakeup event for esp32c3 2022-01-25 17:43:02 +08:00
Shang Zhou
dd32376228 docs:update distorted figures and delete unneccessary align commands 2022-01-25 16:47:13 +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
wuzhenghui
ee532d55c5 fix console stuck in auto test 2022-01-25 16:19:35 +08:00
Omar Chebib
473974c8f6 UART & I2C: remove custom ISR registration function
Breaking change for v5.0: custom UART ISR and I2C ISR cannot be installed anymore.
2022-01-25 14:46:43 +08:00
songruojing
f5cbe89487 ci: increase target-test.yml UT_T1_1 job to support newly added LEDC fade ut tests 2022-01-25 14:32:31 +08: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
Laukik Hase
76a29cd68d wpa_supplicant: Saved message-type digest used in handshake for PRF operations 2022-01-25 10:51:27 +05:30
Laukik Hase
8bf7882e84 mbedtls: Moved mbedtls_mpi_mul_int to port layer 2022-01-25 10:51:27 +05:30
Laukik Hase
285790e5aa mbedtls: Added config options for v2.28.0 upgrade 2022-01-25 10:51:27 +05:30
Laukik Hase
547d5f84b8 mbedtls: Upgrade to v2.28.0 2022-01-25 10:51:27 +05:30
Mahavir Jain
34c21cb693 Merge branch 'bugfix/bootloader_common_get_sha256_of_partition_when_image_invalid' into 'master'
bootloader: Fixes bootloader_common_get_sha256_of_partition. Adds hash check.

Closes IDFGH-6633

See merge request espressif/esp-idf!16906
2022-01-25 04:23:56 +00:00
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
7d888f3669 ci: exclude git files when uploading artifacts 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
Chen Yudong
d5f7824ae9 ci: fix target_test label usage 2022-01-25 11:49:55 +08:00
Chen Yudong
151d8cdcd2 ci: split assign tests 2022-01-25 11:49:53 +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
songruojing
68e12f7092 ledc: Add ledc_fade_stop API to support stopping the fade operation.
Note that ESP32 cannot support this new feature.
2022-01-25 11:19:20 +08:00
songruojing
be2ab09832 ledc: Fix FADE_NO_WAIT mode concurrency problem.
Add test cases for fade concurrency issue and fade timing check.

Closes https://github.com/espressif/esp-idf/issues/6710
2022-01-25 11:19:10 +08:00
morris
cf9a7d8509 Merge branch 'example/pytest_for_component_ut' into 'master'
Example/pytest for component ut

See merge request espressif/esp-idf!16234
2022-01-25 02:34:34 +00:00
David Čermák
a4e54e5b06 Merge branch 'feature/mdns_null_value_txt' into 'master'
mdns: Support for null-value TXT records

Closes IDFGH-6624

See merge request espressif/esp-idf!16887
2022-01-24 18:29:52 +00:00
KonstantinKondrashov
4eef5fd36f bootloader: Fixes bootloader_common_get_sha256_of_partition. Adds hash check.
Closes https://github.com/espressif/esp-idf/issues/8274
2022-01-25 02:16:18 +08:00
Ivan Grokhotkov
3f6448b82c gitlab: add linux component to CODEOWNERS 2022-01-24 19:02:51 +01:00
Ivan Grokhotkov
f18d16d5e6 esp_common: don't generate custom sections when building for Linux
When building for Linux, a standard linker script is used. Ignore
all attributes related to custom sections.
2022-01-24 18:53:12 +01:00
Ivan Grokhotkov
f72ce6720d linux: add dummy sys/lock.h implementation (single threaded only)
Useful for building IDF code which relies on the legacy locking
functions from newlib.
2022-01-24 18:51:40 +01:00
Ivan Grokhotkov
7830af1eb9 partition_table: allow enabling this component for Linux target
Currently partition_table_bin target is not added as a dependency
when building Linux app, and has to be specified manually
(idf.py partition-table).
2022-01-24 18:51:40 +01:00
Ivan Grokhotkov
d5a1f6bafb global: Kconfig: add CONFIG_IDF_TARGET_LINUX
Can be used in target-specific C code to distinguish when Linux target
is used.

Also don't enable CONFIG_APP_BUILD_GENERATE_BINARIES and
CONFIG_APP_BUILD_BOOTLOADER when building for Linux, since the
bootloader is not used. CONFIG_APP_BUILD_GENERATE_BINARIES might make
sense in some cases, can be re-enabled later.
2022-01-24 18:51:40 +01: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
Ivan Grokhotkov
fd1c213be4 esp_rom: support building for Linux target with Clang
This fixes passing -Wimplicit-fallthrough=0 flag to Clang, which it
doesn't recognize, and is not necessary for this file.
Also the flag is changed from PUBLIC to PRIVATE since it is necessary
when compiling this component only.
2022-01-24 18:51:40 +01:00
Ivan Grokhotkov
e7e059cc0a linux: allow "sys/queue.h" to be used on macOS
macOS and other BSD-like systems have <sys/queue.h> header. Fall back
to it if bsd/sys/queue.h (provided on Linux by libbsd) is not found.
2022-01-24 18:51:40 +01:00
Roland Dobai
36a4011ff8 Tools: Custom baud-rate setup is not possible for IDF Monitor from menuconfig anymore
IDF Monitor follows the console baud rate by default. Other baud rate
can be set from command line by "idf.py monitor -B <baud>" or through
environment variables. Run "idf.py monitor --help" for more information.
2022-01-24 18:13:38 +01:00
Roland Dobai
aedb846a20 Tools: IDF Monitor follows the UART console baud rate by default 2022-01-24 18:13:38 +01:00
David Čermák
4a3d0525f2 Merge branch 'update/mqtt_refs' into 'master'
mqtt: Fix sending log data; dup flag after queue

See merge request espressif/esp-idf!16874
2022-01-24 15:04:21 +00: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
songruojing
e175086226 ledc: Simplify the procedure to perform a one-time duty update
Avoid adding one extra fade cycle when performing a one-time duty update.
Add some notes to ledc_get_duty and ledc_update_duty APIs, so that users
are aware of when the new duty will be effective.

Closes https://github.com/espressif/esp-idf/issues/7288
2022-01-24 19:36:13 +08:00
David Cermak
6aefe9c185 mdns: Use memcpy() for copy to support non-text TXTs 2022-01-24 12:27:26 +01:00
David Cermak
23c2db406d mdns: Support for null-value TXT records
Closes https://github.com/espressif/esp-idf/issues/8267
2022-01-24 12:27:26 +01:00
morris
2ab7d92785 lcd: improve LL driver according to TRM 2022-01-24 18:58:37 +08:00
morris
1938d7c006 log: skip unused tag string wanring in esp_check.h 2022-01-24 18:45:46 +08:00
Fu Hanxi
62a397a9b5 ci: add flaky test 2022-01-24 16:37:23 +08:00
Fu Hanxi
a801555299 ci: replace all component ut with pytest-embedded 2022-01-24 16:37:23 +08:00
Fu Hanxi
0646b8953c ci: rename build_examples_pytest to build_pytest_examples 2022-01-24 16:37:23 +08:00
Fu Hanxi
90f8d27985 ci: use pytest-embedded 0.5.1 2022-01-24 15:55:00 +08:00
Fu Hanxi
ea4673a3a2 ci(pytest): support special markers "supported_targets", "preview_targets", "all_targets" 2022-01-24 15:55:00 +08:00