Commit Graph

14310 Commits

Author SHA1 Message Date
Chen Yi Qun
56e9920958 uart: add wakeup event for esp32c3 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
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
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
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
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
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
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
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
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
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
dcee019311 Merge branch 'feature/rgb_panel_example' into 'master'
lcd: add rgb panel example

Closes IDF-4429

See merge request espressif/esp-idf!16459
2022-01-21 03:06:04 +00: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
Ivan Grokhotkov
aeed91b589 xtensa: fix semihosting arguments potentially begin optimized out
The compiler was not informed that the assembly block should be
treated as a memory barrier and could optimize out the initialization
of local arrays which could be used as semihosting arguments.
This resulted in garbage values being passed as semihosting call
arguments.

Additionally this commit changes the approach for placing values into
specific register. Instead of clobbers, local register variables are
used. This results in simpler generated code, since the compiler is
able to place values directly into the registers used for semihosting
arguments, avoiding additional moves.
2022-01-20 19:48:05 +01:00
morris
821634b24e lcd: add rgb panel example 2022-01-20 22:09:23 +08:00
morris
0e15844706 lcd: alloc framebuffer in alignment 2022-01-20 22:06:02 +08:00
morris
8ea1c12d80 lcd: split gpio check for de and hv mode 2022-01-20 22:06:02 +08:00
David Cermak
2d4cd7772e mqtt: Fix sending log data; dup flag after queue
* Fix sending mqtt message longer than Tx buffer size
* Fix enqueue API to send data with correct dup flag
* Update submodule: git log --oneline b86d42c130ac64a916ce6cf299d99f9756692394..985078affa8a2d2b56b87c8e6455252850f895c6

Detailed description of the changes:
* Isolate IDF env for v4.4 and v5.0(master)
  - See merge request espressif/esp-mqtt!111
  - ci: Isolate IDF env for v4.4 and v5.0(master) (espressif/esp-mqtt@4c5a65c)
* Client: Remove usage of legacy FreeRTOS types
  - See merge request espressif/esp-mqtt!120
  - ci: Fix build issues with IDF-4.4 against master (espressif/esp-mqtt@c28a56d)
  - See commit https://github.com/espressif/esp-mqtt/commit/6ef98d6
* mqtt_client: Fix mqtt send long data error
  - See merge request espressif/esp-mqtt!117
  - Closes https://github.com/espressif/esp-mqtt/issues/214
  - See commit https://github.com/espressif/esp-mqtt/commit/372b323
* Client: Fix use esp_mqtt_client_enqueue API to send data, data dup flag will be set 1
  - See merge request espressif/esp-mqtt!116
  - See commit https://github.com/espressif/esp-mqtt/commit/df8dc92
2022-01-20 12:58:55 +01:00
Simon
e04d4ac2b5 Merge branch 'bugfix/remove_usb_check' into 'master'
usb_serial_jtag: remove the strict condition check in esp_phy

See merge request espressif/esp-idf!16857
2022-01-20 10:48:33 +00:00
David Čermák
af221101db Merge branch 'bugfix/mdns_service_instance_crash' into 'master'
mdns: Fix random crash when defalt service instance queried

Closes IDFGH-6606

See merge request espressif/esp-idf!16850
2022-01-20 08:27:46 +00: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
Michael (XIAO Xufeng)
81b92af5cf Merge branch 'bugfix/adc2_cal_assert_arbiter_failed' into 'master'
adc_cal: fixed the assertion failure or returning wrong error code when ADC2 failed the arbitration

See merge request espressif/esp-idf!16836
2022-01-19 15:55:07 +00:00
xutao
e794786c74 tcp_transport: fix tcp transport execption pointer 2022-01-19 13:44:20 +01:00
Cao Sen Miao
bf8ea223ac usb_serial_jtag: remove the strict condition check in esp_phy 2022-01-19 19:08:35 +08: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
Wu Zheng Hui
1415106db2 Merge branch 'feature/memory_layout_config_for_esp8684' into 'master'
heap_init: Adjust the stack/DRAM region size for ESP8684

See merge request espressif/esp-idf!16725
2022-01-19 08:57:55 +00:00
Wang Qi Xiang
41640e2e03 heap_init: Adjust the stack/DRAM region size for ESP8684 2022-01-19 08:57:54 +00:00
laokaiyao
a8ab869a84 i2s: fix mclk stop issue when setting clock 2022-01-19 11:52:09 +08:00
Jiang Jiang Jian
b35a66e173 Merge branch 'bugfix/btdm_fix_common_symbols' into 'master'
components/bt:  avoid defining common symbols in libbtdm_app.a of ESP32

See merge request espressif/esp-idf!16810
2022-01-19 03:30:08 +00:00
laokaiyao
cf049e15ed esp8684: rename target to esp32c2 2022-01-19 11:08:57 +08:00
David Cermak
f46dffca62 mdns: Fix random crash when defalt service instance queried
Merges https://github.com/espressif/esp-idf/pull/8248
2022-01-18 17:15:35 +01:00
songruojing
5f6a128b64 tinyusb: Update tinyusb.c to use the usb_phy API to configure PHY 2022-01-18 22:44:05 +08:00
David Čermák
004c02b8bd Merge branch 'contrib/github_pr_8164' into 'master'
Replace lwIP byte order functions with built-in functions (GitHub PR)

Closes IDFGH-6512

See merge request espressif/esp-idf!16627
2022-01-18 12:35:12 +00:00
Ivan Grokhotkov
187e6ff66f Merge branch 'bugfix/config_desc_total_length' into 'master'
Bugfix: make wTotalLength uint16_t to avoid truncation

See merge request espressif/esp-idf!16833
2022-01-18 10:45:55 +00:00
Ivan Grokhotkov
76c7fd6664 Merge branch 'contrib/github_pr_7754' into 'master'
Fix infinite recursion in FLAG_ATTR operator (GitHub PR)

Closes IDFGH-6073

See merge request espressif/esp-idf!16631
2022-01-18 10:30:25 +00:00
David Čermák
0fa3c5b331 Merge branch 'bugfix/mqtt_docs_custom_outbox' into 'master'
mqtt: Add docs on MQTT_CUSTOM_OUTBOX implementation

Closes IDFGH-6554

See merge request espressif/esp-idf!16828
2022-01-18 09:39:35 +00:00
Sudeep Mohanty
d4db7aeabf Merge branch 'feature/ulp_riscv_support_for_esp32s3' into 'master'
ulp: Added ULP RISC-V support for esp32s3

Closes IDF-1833

See merge request espressif/esp-idf!16549
2022-01-18 09:04:14 +00:00