Commit Graph

14537 Commits

Author SHA1 Message Date
Mahavir Jain
47fb454baa esp_system: Fix copyright header 2022-02-28 11:41:02 +05:30
Eva Dengler
9fd621c7ad Fix typos.
alignement -> alignment
2022-02-25 19:32:15 +01:00
Jing Li
0a64094a60 Merge branch 'bugfix/a_small_fix_for_multi_heap' into 'master'
Heap: fix wrong arg passed to assert_valid_block

See merge request espressif/esp-idf!17274
2022-02-25 05:09:13 +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
Ivan Grokhotkov
4a553510b7 Merge branch 'bugfix/interrupted_thread_gdb_bt' into 'master'
riscv: Fixes GDB backtrace of interrupted threads

See merge request espressif/esp-idf!16939
2022-02-24 20:21:17 +00:00
David Cermak
b5149e3ee7 mdns: Update to drop our own packet if bounced back 2022-02-24 11:01:26 +01:00
David Cermak
51a5de2525 mdns: Fix potential read behind parsed packet 2022-02-24 11:01:26 +01:00
David Cermak
9cbdb8767b mdns: Fix memleak when adding delegated host 2022-02-24 11:01:26 +01:00
David Cermak
a57be7b7d1 mdns: Fix null-service issue when parsing packets
Closes https://github.com/espressif/esp-idf/issues/8307
2022-02-24 11:01:13 +01: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
David Čermák
ca7e5b3ef5 Merge branch 'bugfix/mdns_missing_includes' into 'master'
mdns: Added missing includes; Removed deprecated event API

See merge request espressif/esp-idf!17190
2022-02-24 09:39:30 +00:00
Alexey Gerenkov
dea45a9d72 riscv: Use semihosting to set breakpoint and watchpoint when running under debugger 2022-02-24 08:55:40 +00:00
Alexey Gerenkov
72822dfc8f riscv: Adds support for returning from exception handler 2022-02-24 08:55:40 +00:00
Alexey Gerenkov
088e940528 riscv: Fixes GDB backtrace end function to point to prvTaskExitError 2022-02-24 08:55:40 +00:00
Alexey Gerenkov
54569fb001 riscv: Fixes GDB backtrace of interrupted threads
Save missed SP value on stack
2022-02-24 08:55:40 +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
jingli
6c25dd4ec1 fix param passed to assert_valid_block, should be block not ptr 2022-02-24 13:50:16 +08:00
Darian
c2efc1781f Merge branch 'bugfix/twai_workarounds_default_enable' into 'master'
TWAI: Enable ESP32 errata workarounds by default

See merge request espressif/esp-idf!17205
2022-02-24 05:12:50 +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
Darian Leung
2f2df82bc5 twai: Enable ESP32 errata workarounds by default 2022-02-23 20:22:02 +08: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
Mahavir Jain
46d5f92533 Merge branch 'bugfix/remove_rtc_dummy_sections' into 'master'
System: Memory section .rtc.dummy removed

Closes IDF-4395

See merge request espressif/esp-idf!17242
2022-02-23 06:11:15 +00:00
Kevin (Lao Kaiyao)
1d30c23455 Merge branch 'feature/i2c_use_input_only_pin_in_slave_mode' into 'master'
i2c: support  using input-only pin as SCL in slave mode

Closes IDFGH-6682

See merge request espressif/esp-idf!17137
2022-02-23 02:54:49 +00:00
Sudeep Mohanty
f163ab26a9 Merge branch 'feature/ulp_fsm_support_on_esp32s3' into 'master'
ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2

See merge request espressif/esp-idf!17197
2022-02-23 02:20:39 +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
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
Martin Vychodil
0e52b9d230 System: Memory section .rtc.dummy removed
ESP32H2 doesn't support access to RTC memory through various buses, thus .rtc.dummy section
makes no sense here. The section is used for blind padding in LD script - to provide proper section offsets)
2022-02-22 13:52:46 +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
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
Jiang Jiang Jian
876fedc46b Merge branch 'bugfix/update_stack_init_check' into 'master'
Nimble: Remove stack initialization status from unwanted functions

See merge request espressif/esp-idf!15989
2022-02-22 07:55:40 +00:00
Sudeep Mohanty
4d8a0cce29 ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2
This commit enables ULP FSM support for esp32s3 and updates ULP FSM code
flow for other chips.
It adds C Macro support for the ULP FSM instruction set on esp32s2 and
esp32s3.
The unit tests are also updated to test ULP FSM on ep32s2 and esp32s3.
2022-02-22 12:25:57 +05:30
Mo Fei Fei
347262f179 Merge branch 'docs/update_wear_levelling_cn_trans' into 'master'
docs: update components/wear_levelling/README cn translation

Closes DOC-2721

See merge request espressif/esp-idf!17218
2022-02-22 06:29:48 +00: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
Ivan Grokhotkov
911a8fc714
spiffs, wear_levelling: update copyright headers 2022-02-22 00:09:24 +03:00
Darian
19061022db Merge branch 'refactor/freertos_legacy_hooks' into 'master'
FreeRTOS: Refactor legacy hooks

Closes IDF-4685

See merge request espressif/esp-idf!17199
2022-02-21 15:53:58 +00: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
Mahavir Jain
307fe58eb6 Merge branch 'bugfix/wpa_supplicant_missing_includes' into 'master'
wpa_supplicant: added missing includes

See merge request espressif/esp-idf!17189
2022-02-21 13:35:48 +00:00
morris
116197040f i2s: update copyright 2022-02-21 21:28:48 +08:00
Ivan Grokhotkov
b8e46ac0da Merge branch 'feature/flash_size_gt_16mb_pr' into 'master'
add support for Flash 32MB..128MB (S2, S3) (Github PR + fixups)

Closes IDF-2961, IDFGH-5984, and IDFGH-6003

See merge request espressif/esp-idf!17211
2022-02-21 12:31:24 +00:00
intern
89bec6cd27 docs: update wear levelling cn trans 2022-02-21 19:10:33 +08:00
John
bcf7608cf8 i2c: Enable I2C Slave mode with input-only pin as SCL.
Merges https://github.com/espressif/esp-idf/pull/8312

If we use I2C in slave mode, we can use input-only pin for SCL line (GPI 34-39).
But there is a problem in i2c_set_pin() which is called by i2c_param_config().
In case of using GPI as SCL the following statements are failed:
	1. gpio_set_level(scl_io_num, I2C_IO_INIT_LEVEL);
Function fails because it cannot set level for input pin. As a result a ESP_LOGE() is called.
	2. gpio_set_direction(scl_io_num, GPIO_MODE_INPUT_OUTPUT_OD);
Function fails because it accepts only GPIO pins. ESP_LOGE() is called, input mode is not enabled for the pin and as a result - no interrupts from the pin.
2022-02-21 17:32:04 +08:00
Ivan Grokhotkov
f071558117
partition_table: add a test for total partition size error 2022-02-21 10:28:29 +03:00
rudi ;-)
f242a1705a
add support for Flash 32MB..128MB (S2, S3)
ESP32-S2 and ESP32-S3
supports up to 1 GB of external flash and RAM
add support for
-    32MB
-    64MB
-    128MB ( example NOR spiFLASH 1G-BIT W25Q01JVZEIQ Winbond 0xEF 0x40 0x21 )

Merges https://github.com/espressif/esp-idf/pull/7688

Signed-off-by: Ivan Grokhotkov <ivan@espressif.com>
2022-02-21 10:26:41 +03:00
David Čermák
c04803e88b Merge branch 'bugfix/mdns_clear_notif_value' into 'master'
mdns: Clear notification value in mdns_hostname_set

Closes IDFGH-6647

See merge request espressif/esp-idf!17121
2022-02-21 07:20:22 +00:00
David Cermak
e46aa515bd mdns: Remove legacy esp_event API 2022-02-21 07:54:07 +01:00
Ivan Grokhotkov
413375453b
esp_common: update copyright headers 2022-02-21 00:51:49 +03:00
Ivan Grokhotkov
6782971332 sdmmc: accept CMD_DONE being is reported together with RTO
SDMMC databook specifies that when an error interrupt is generated
(such as RTO, DCRC, RCRC), CMD_DONE interrupt is also generated.
The code used to break out of the event handling loop to wait for
another interrupt event to happen, reporting CMD_DONE.
However if interrupt processing was delayed, it is possible that
a single event contains both RTO and CMD_DONE. Previously, CMD_DONE
would not be handled, and the state machine would be stuck in
SDMMC_SENDING_CMD state, until a timeout. This didn't change the
outcome (err=0x107), but delayed the handling of response timeout
event.

Fix by not breaking out of the event handler, optionally processing
the CMD_DONE interrupt if it has been reported in the same message.
2022-02-20 12:39:36 +00:00
0xFEEDC0DE64
c86fba7919 Fix compiling when included from C++ 2022-02-18 15:37:07 +01:00