Commit Graph

21465 Commits

Author SHA1 Message Date
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
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
Fu Hanxi
d0cdfdc5d8 tools: allow component test apps files use cc0-1.0 license 2022-01-24 15:54:36 +08:00
Island
ce4a4be37f Merge branch 'feature/pro_recv_hb' into 'master'
provisioner receive heartbeat message

See merge request espressif/esp-idf!14680
2022-01-24 07:54:30 +00:00
Yuan Hong Hui
154d82c6bc provisioner receive heartbeat message 2022-01-24 07:54:28 +00:00
Island
e50f250b16 Merge branch 'bugfix/filter_repeated_packages' into 'master'
filter repeated packages but not send response

See merge request espressif/esp-idf!15906
2022-01-24 07:51:02 +00:00
Armando (Dou Yiwen)
7967a317d6 Merge branch 'feature/add_flash_suspend_example' into 'master'
system: add an example showing how to run non-iram ISR when operating Flash

Closes IDF-4501

See merge request espressif/esp-idf!16658
2022-01-24 07:40:00 +00:00
jincheng
0e8f7d7fe4 optimize a2dp demo documents 2022-01-24 14:22:04 +08:00
Armando
49658faaf0 doc: add flash suspend feature to iram usage doc 2022-01-24 12:59:29 +08:00
David Čermák
faf0f61cdb Merge branch 'bugfix/mdns_txt_alloc_issue' into 'master'
mdns: Fix alloc issue if TXT has empty value

See merge request espressif/esp-idf!16888
2022-01-21 18:22:38 +00:00
David Cermak
205f6ba854 mdns: Fix alloc issue if TXT has empty value 2022-01-21 14:18:22 +01:00
Ivan Grokhotkov
e090b6b031 Merge branch 'bugfix/semihosting_vfs_asm' into 'master'
xtensa: fix semihosting arguments potentially begin optimized out

See merge request espressif/esp-idf!16880
2022-01-21 10:28:19 +00:00
KonstantinKondrashov
4ede9aaa26 efuse: Fixes eFuse timesettings issue on esp32c3 2022-01-21 16:45:50 +08:00
Armando
a36e5188e9 system: add an example showing how to run non-iram ISR when operating Flash 2022-01-21 15:20:37 +08:00
Alex Lisitsyn
2cad565781 Merge branch 'bugfix/modbus_allow_address_gaps_in_master_data_dict' into 'master'
freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP)

See merge request espressif/esp-idf!12162
2022-01-21 05:18:01 +00:00
Alex Lisitsyn
e9cdb3e0d3 freemodbus: allow address gaps in master data dictionary (support of UID field in MBAP) 2022-01-21 05:18:00 +00:00
morris
b7f24e9903 Merge branch 'feature/docs_rename_esp8684' into 'master'
docs: update esp-docs, rename esp8684 to esp32c2

Closes IDF-4551

See merge request espressif/esp-idf!16871
2022-01-21 05:06:40 +00:00
morris
24e6fdf3c6 lcd: add i2c oled example with lvgl port 2022-01-21 11:21:38 +08:00