Commit Graph

353 Commits

Author SHA1 Message Date
Aleksei Apaseev
e30329ffe2 idf_monitor: Changed the elf file to be optional when running "idf.py monitor" command
This feature allows to start IDF Monitor without (re-)building the project.
2022-01-07 17:36:08 +08:00
David Cermak
1882cbe44e mdns: Make fuzzer layers compatible with llvm>=6 2022-01-07 16:18:32 +08:00
Fu Hanxi
a44953ecd4 refactor: move ldgen into a separate package 2022-01-07 16:18:32 +08:00
morris
705788a13f unit_tests: replace legacy timer group with gptimer 2022-01-07 14:59:09 +08:00
morris
6bf3af7c8e examples: replace legacy timer group with gptimer 2022-01-07 14:59:09 +08:00
Anton Maklakov
d500c8205e Merge branch 'bugfix/fix_spi_cs_hold_time_issue' into 'master'
spi_master: fix spi cs_ena_posttrans issue

Closes IDFGH-6077

See merge request espressif/esp-idf!15925
2022-01-07 04:06:12 +00:00
Wang Meng Yang
5f28c0c36b Merge branch 'bugfix/PRs_on_esp_hid' into 'master'
bugfix/handle_3_esp_hid_PRs

Closes IDFGH-5889, IDFGH-3402, and IDFGH-2586

See merge request espressif/esp-idf!16538
2022-01-07 01:49:47 +00:00
morris
869bed1bb5 soc: don't expose unstable soc header files in public api 2022-01-06 23:10:22 +08:00
morris
24acdf23ee soc: move peripheral base address into reg_base.h 2022-01-06 21:43:12 +08:00
morris
8cdcb4e291 rmt: move RMT item definition from soc to driver 2022-01-06 21:43:12 +08:00
morris
d8f2eaf94e gpio: remove legacy rtc_io description for esp32 2022-01-06 21:43:12 +08:00
Armando
56a707eef4 spi_master: fix spi cs_ena_posttrans issue 2022-01-06 17:54:58 +08:00
Tomas Rezucha
af28416116 Merge branch 'feature/usb_device/multi_cdc' into 'master'
USB: Extend USB CDC device with second channel

See merge request espressif/esp-idf!16458
2022-01-05 09:53:04 +00:00
Ondrej Kosta
fa9cc49b9e Merge branch 'bugfix/esp_eth_start_tx_buff' into 'master'
Fixed ESP32 EMAC driver `insufficient TX buffer size`

Closes WIFI-4194

See merge request espressif/esp-idf!16457
2022-01-05 09:40:12 +00:00
Tomas Rezucha
6330d5d312 usb: Extend CDC device with second CDC channel
Closes https://github.com/espressif/esp-idf/issues/7020
Closes https://github.com/espressif/esp-idf/pull/8011
2022-01-05 08:18:03 +01:00
Mahavir Jain
6e1f534cab Merge branch 'feature/esp_tls_api_cleanup' into 'master'
esp-tls: mark esp_tls_conn_delete API as deprecated

See merge request espressif/esp-idf!16647
2022-01-05 07:04:09 +00:00
Murray Fordyce
00a23ec544 Fixed left right key confusion in comments.
"Left" and "Right" were swapped in some comments.
2022-01-05 14:23:47 +08:00
morris
ce2a220098 Merge branch 'refactor/make_adc2_wifi_private' into 'master'
clean up deprecated and private header files for driver and esp_hw_support component

See merge request espressif/esp-idf!16605
2022-01-05 05:42:42 +00:00
Li Kun Qiao
b05b70c7f3 Merge branch 'feature/Add_zigbee_rcp_gateway' into 'master'
Zigbee example: rcp and gateway

See merge request espressif/esp-idf!16205
2022-01-05 03:28:03 +00:00
morris
ef5cfb217c Merge branch 'contrib/github_pr_8172' into 'master'
Fix compile issue when TinyUSB task is not enabled. (GitHub PR)

Closes IDFGH-6521

See merge request espressif/esp-idf!16611
2022-01-04 13:21:23 +00:00
Mahavir Jain
c26500cd5a esp-tls: mark esp_tls_conn_delete API as deprecated
It is recommended to use `esp_tls_conn_destroy` API instead
2022-01-04 15:40:07 +05:30
likunqiao
8c577cd208 Zigbee example: add rcp and gateway
* provide Zigbee rcp and Zigbee gateway example
 * minor comment fix for light example
2022-01-04 17:46:09 +08:00
morris
113cbb88a6 hw_support: remove deprecated header files 2022-01-04 14:16:17 +08:00
morris
cba1f57147 tusb: update copyright header 2022-01-04 10:25:06 +08:00
Roland Dobai
93cb847424 Merge branch 'contrib/github_pr_8100' into 'master'
monitor: Print buffer when reading an escape character

Closes IDFGH-6443

See merge request espressif/esp-idf!16584
2022-01-03 18:52:14 +00:00
David Cermak
41706d8d54 CI: Make public header check verbose on *sll* failures 2022-01-03 09:34:21 +01:00
Martin Gaňo
931ad14979 Fixed copyright header 2022-01-03 00:09:31 +01:00
Yuan Jian Min
0c73f20afd docs: Add user-friendly guide about how to use ws_server_example_test.py
Closes https://github.com/espressif/esp-idf/issues/8060
2022-01-02 11:27:05 +00:00
Song Ruo Jing
2906fbfb9e Merge branch 'feature/support_esp8684_gpio' into 'master'
ESP8684: Support ESP8684 gpio

Closes IDF-4019 and IDF-3841

See merge request espressif/esp-idf!15667
2021-12-30 09:16:23 +00:00
Cao Sen Miao
3dd1cfea18 spi_flash: refactor spi_flash.h to decline duplicated code 2021-12-30 14:05:12 +08:00
Sudeep Mohanty
6a2a6e4220 Merge branch 'feature/remove-depricated-cpu-util-functions' into 'master'
esp_hw_support: Removed deprecated CPU util functions

Closes IDF-2868

See merge request espressif/esp-idf!16391
2021-12-29 16:44:17 +00:00
songruojing
e0bc3a923c esp8684: support GPIO peripheral, IO_MUX, GPIO matrix.
Generic GPIO example and GPIO unit test on esp8684 are both supported as well.
2021-12-29 22:01:45 +08:00
laokaiyao
4f28b33bbc apll: add lock for apll 2021-12-29 10:13:13 +08:00
laokaiyao
af4e448928 i2s: impove the clock division calculation
Reported from: https://esp32.com/viewtopic.php?f=25&t=24542&p=87595#p87595
2021-12-29 10:13:13 +08:00
Sudeep Mohanty
e22b4007d3 esp_hw_support: Removed deprecated CPU util functions
The following files were deleted:
- components/esp_hw_support/include/soc/cpu.h
- components/soc/esp32s3/include/soc/cpu.h

The following functions are deprecated:
- get_sp()

The following functions declared in soc/cpu.h are now moved to esp_cpu.h:
- esp_cpu_configure_region_protection()

The following functions declared in soc/cpu.h are now moved to components/xtensa/include/esp_cpu_utils.h:
- esp_cpu_process_stack_pc()

All files with soc/cpu.h inclusion are updated to include esp_cpu.h instead.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-28 16:58:37 +05:30
lly
8fd34d4741 ble_mesh: example: Update example license 2021-12-24 09:08:45 +08:00
Ondrej Kosta
1150a11c56 Fixed ESP32 EMAC driver insufficient TX buffer size which could followed esp_eth_stop and esp_eth_start sequence 2021-12-23 10:48:38 +01:00
David Čermák
2c0d760816 Merge branch 'bugfix/mdns_network_socket_err_prints' into 'master'
mdns: Minor err print fix in socket-networking layer (GitHub PR)

Closes IDFGH-6447 and IDFGH-6434

See merge request espressif/esp-idf!16427
2021-12-21 13:59:01 +00:00
Martin Válik
4f7c36d859 Merge branch 'feature/usb-msc' into 'master'
USB MSC class

Closes IDFGH-4584

See merge request espressif/esp-idf!14573
2021-12-21 10:22:54 +00:00
Mahavir Jain
2264f4d9b8 Merge branch 'feature/memprot_api_unified_c3' into 'master'
Memprot API unified - ESP32C3

Closes IDF-3849

See merge request espressif/esp-idf!15086
2021-12-21 08:45:33 +00:00
Martin Vychodil
dd938eb952 System/Security: Memprot API unified (ESP32C3)
Unified Memory protection API for all PMS-aware chips (ESP32C3)

Closes JIRA IDF-3849
2021-12-21 01:50:36 +01:00
Martin Valik
73dce765d5 USB: added MSC Host Driver with VFS support
Closes https://github.com/espressif/esp-idf/issues/6401
2021-12-20 12:39:45 +01:00
Roland Dobai
eab738c79e Merge branch 'bugfix/ldgen_plus_in_archive_name' into 'master'
ldgen: allow + sign in archive names

Closes IDFGH-6414

See merge request espressif/esp-idf!16432
2021-12-17 12:08:03 +00:00
Ivan Grokhotkov
52fb8624cc ldgen: allow + sign in archive names
Closes https://github.com/espressif/esp-idf/issues/8073
2021-12-17 10:31:01 +01:00
Jakob Hasse
7572f75d6b refactor (cxx)!: I2C C++ classes use strong value types now
Added host-based I2C C++ unit tests

BREAKING CHANGE: I2C C++ interface changes, raw values for
    arguments are mostly not allowed anymore.
2021-12-17 14:05:52 +08:00
David Cermak
f1b8f5c102 mdns: Minor err print fix in socket-networking layer 2021-12-16 16:00:44 +01:00
morris
5efc7bf2b4 Merge branch 'bugfix/build_spaces_in_path_kconfig_ldgen_esptool' into 'master'
kconfig, ldgen, esptool, cmake: changes to support spaces in paths

See merge request espressif/esp-idf!15429
2021-12-16 10:32:49 +00:00
Armando
4dc0d6b2fe adc: support adc dma driver on all chips 2021-12-16 00:19:15 +00:00
morris
7b32d8138c Merge branch 'bugfix/mcpwm_ll_missing_type_conversion' into 'master'
mcpwm: fix implicit conversion in LL function

Closes IDFGH-6407

See merge request espressif/esp-idf!16396
2021-12-15 03:58:04 +00:00
Ivan Grokhotkov
8da98b864d build system: pass semicolon-separated directory lists to kconfig
New —-list-separator argument of confgen.py and
prepare_kconfig_files.py is used to select which character is used
as list separator. For compatibility with esp-docs, we still keep
support for space separator. Otherwise esp-docs would have to choose
the separator depending on the IDF version.
2021-12-14 19:17:53 +01:00
Simon
2fa0b2fb4c Merge branch 'flash/add_th_support' into 'master'
spi_flash: add support for TH 1M flash

Closes IDF-4071

See merge request espressif/esp-idf!16210
2021-12-14 09:53:44 +00:00
morris
ac5c2eaa28 mcpwm: fix implicit conversion in LL function
Closes https://github.com/espressif/esp-idf/issues/8066
2021-12-14 17:26:55 +08:00
Ivan Grokhotkov
44d18506b2 Merge branch 'feature/posix_compat_functions' into 'master'
newlib: implement posix_memalign, sysconf, realpath

Closes IDFGH-4268 and IDFGH-6119

See merge request espressif/esp-idf!16355
2021-12-14 08:56:33 +00:00
Armando (Dou Yiwen)
a86d2aff2c Merge branch 'bugfix/fix_adc1_chan8_9_not_defined_on_s3' into 'master'
adc: fix adc1 channel 8 and 9 not defined bug on s3

Closes IDF-4421

See merge request espressif/esp-idf!16326
2021-12-14 08:10:00 +00:00
Ivan Grokhotkov
d83ce227aa newlib: implement posix_memalign, sysconf, realpath
Closes https://github.com/espressif/esp-idf/issues/6119
Closes https://github.com/espressif/esp-idf/issues/7798
2021-12-13 14:40:21 +01:00
Kapil Gupta
8d329951c3 Merge branch 'bugfix/static_analysis_fixes' into 'master'
ESP_WIFI: Remove static analysis warnings

See merge request espressif/esp-idf!15871
2021-12-13 12:57:03 +00:00
Cao Sen Miao
56edc81b5d spi_flash: add support for th 1M flash 2021-12-13 11:47:48 +08:00
Michael (XIAO Xufeng)
43643716a2 bugfix (nvs): fixed wrong pointer check 2021-12-13 10:42:45 +08:00
David Čermák
3fc6ca6477 Merge branch 'bugfix/tcp_transport_leak' into 'master'
BUGFIX/tcp_transport: Fix Websocket transport initialization

See merge request espressif/esp-idf!16281
2021-12-09 18:29:38 +00:00
Simon
db2d471636 Merge branch 'cleanup/clean_tidy_mr_8684' into 'master'
Clean up ESP8684 codes(last time), update register headers

Closes IDF-4300 and IDF-4296

See merge request espressif/esp-idf!16005
2021-12-09 16:18:20 +00:00
Cao Sen Miao
463cf2cf1c ESP8684: Clean up ESP8684 code, remove useless code, update headers 2021-12-09 18:36:39 +08:00
Suren Gabrielyan
7f6ab93f7e websocket: removed deprecated API "esp_websocket_client_send"
Closes IDF-1470
2021-12-09 13:28:13 +04:00
Ondrej Kosta
c91aaf161e Merge branch 'cleanup/netif_glue' into 'master'
netif_glue: Removed deprecated esp_eth_set_default_handlers and esp_eth_clear_default_handlers

Closes IDF-3736

See merge request espressif/esp-idf!15988
2021-12-09 08:31:10 +00:00
Mahavir Jain
6380585649 Merge branch 'bugfix/address_few_coverity_scan_issues' into 'master'
Fix various warnings generated from Coverity scan

See merge request espressif/esp-idf!16298
2021-12-09 07:04:30 +00:00
Ivan Grokhotkov
c358aceb1b Merge branch 'feature/soc_caps_build_sys' into 'master'
build-system: parse soc caps and integrate into kconfig

Closes IDF-2223

See merge request espressif/esp-idf!15305
2021-12-09 06:54:08 +00:00
Mahavir Jain
203f82cc49 Fix various warnings generated from Coverity scan
esp_timer:
Control flow issues  (DEADCODE)
    Execution cannot reach this statement: "break;".

protocomm_httpd:
(UNUSED_VALUE)
    Assigning value from "cookie_session_id" to "cur_cookie_session_id" here, but that stored value is overwritten before it can be used.

esp_flash_api:
Null pointer dereferences  (REVERSE_INULL)
    Null-checking "chip" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
2021-12-09 09:38:53 +05:30
Kapil Gupta
d3542495ab ESP_WIFI: Remove static analysis warnings 2021-12-08 17:32:22 +05:30
Armando
964f40be35 adc: fix adc1 channel 8 and 9 not defined bug on s3 2021-12-08 18:21:28 +08:00
Jakob Hasse
9ee974e626 Merge branch 'refactor/test_utils_memory_check' into 'master'
memory leak detection functions now in separate file

See merge request espressif/esp-idf!16011
2021-12-08 09:15:20 +00:00
Ondrej Kosta
7e864d6856 netif_glue: Removed deprecated esp_eth_set_default_handlers and esp_eth_clear_default_handlers 2021-12-08 09:21:30 +01:00
Bao Hong De
23b5e16e93 Merge branch 'bugfix/update_licenses' into 'master'
components/bt: Update licenses

Closes BT-2150

See merge request espressif/esp-idf!16273
2021-12-08 06:47:26 +00:00
Marius Vikhammer
7fc7c49e5d crypto: allocate all DMA descriptors to DMA capable memory.
These were previously placed on the stack, but the stack could be placed in
RTC RAM which is not DMA capable.
2021-12-08 12:09:01 +08:00
Jakob Hasse
16514f93f0 refactor (test_utils)!: separate file for memory check functions
Memory check (leaks and heap tracing) functions for unit tests
now have a separate file now and are renamed for more consistency.

BREAKING CHANGE: renamed memory check function names which may be used
                 in unit tests outside IDF.
2021-12-08 11:06:00 +08:00
baohongde
c138e47f45 components/bt: Update licenses 2021-12-08 10:59:06 +08:00
Kevin (Lao Kaiyao)
9bc274b47b Merge branch 'refactor/i2s_deprecate_confusing_names' into 'master'
i2s: deprecate confusing names

Closes IDF-4368

See merge request espressif/esp-idf!16088
2021-12-07 11:52:44 +00:00
David Čermák
eacaa9823d Merge branch 'feature/remove_pppos' into 'master'
PPPoS/Examples: Remove internal component, examples and test

Closes IDF-4078

See merge request espressif/esp-idf!16251
2021-12-07 08:21:07 +00:00
Simon
6f9b89f619 Merge branch 'bugfix/usb_no_rom_log' into 'master'
USB_SERIAL_JTAG: Fix the issue that there is no rom/bootloader log when restarting

Closes IDF-4173

See merge request espressif/esp-idf!16057
2021-12-07 08:16:10 +00:00
Song Ruo Jing
210b131529 Merge branch 'bugfix/gpio_intr_on_core1_s3' into 'master'
gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3

Closes IDFGH-6211 and IDFGH-3635

See merge request espressif/esp-idf!15945
2021-12-07 06:07:19 +00:00
Euripedes Rocha
ae8eeaade9 tcp_transport: Fix Websocket transport initialization
In case of a failure in alocation of WS transport handle, parent leaks.
2021-12-06 14:28:30 -03:00
David Cermak
3ea8992cc4 CI: Cleanup copyright-ignore from pppos files 2021-12-06 12:42:17 +01:00
songruojing
91f1159f9c gpio: Fix the bug that gpio interrupt cannot be triggered on app cpu on ESP32S3
Add a test case for checking the interrupt on other cores.

Closes https://github.com/espressif/esp-idf/issues/7885
2021-12-06 14:17:03 +08:00
Marius Vikhammer
97d11c709d soc: Merge soc_caps for H2 rev1 and rev2
These files were identical.
2021-12-06 12:37:11 +08:00
Marius Vikhammer
c6d60615c6 build-system: include soc_caps defines into kconfig
Adds gen_soc_caps_kconfig.py which parses the soc caps (soc_caps.h) into
a format that can be included in kconfig.
2021-12-06 12:37:07 +08:00
Sudeep Mohanty
40c1f3e06e freertos: update module handles to struct type
This commit updates the handles for the timer, task and event_group
modules to struct type. This matches upstream freertos source.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-06 08:37:06 +05:30
Mahavir Jain
8fadcd844e Merge branch 'feature/mbedtls_dynamic_memory' into 'master'
feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost

Closes IDF-4402

See merge request espressif/esp-idf!15323
2021-12-03 04:55:01 +00:00
Ivan Grokhotkov
e96545b261 Merge branch 'bugfix/esp_adc_cal_cmake' into 'master'
esp_adc_cal: minor simplification

See merge request espressif/esp-idf!15814
2021-12-02 15:08:08 +00:00
Island
71c66abcb7 Merge branch 'ci/upload_build_example_for_release_test' into 'master'
ci: preserve artifacts for local test apps

See merge request espressif/esp-idf!15990
2021-12-02 11:25:44 +00:00
Li Qi Gan
54c5d42a62 Merge branch 'bugfix/fix_spp_listen_err' into 'master'
Component_bt/Fix SPP cannot malloc slot bugs

Closes BCI-300

See merge request espressif/esp-idf!16035
2021-12-02 07:20:58 +00:00
Ivan Grokhotkov
e697e7ff0f esp_adc_cal: move esp_adc_cal_get_voltage into common source file 2021-12-01 22:00:33 +01:00
Roland Dobai
f4d1bb017a Merge branch 'feature/add-wl-support-fatfs' into 'master'
Add wear levelling support for fatfs partition generator

Closes IDF-4043 and IDF-2053

See merge request espressif/esp-idf!15798
2021-12-01 14:21:39 +00:00
Mahavir Jain
b9b55bc32b Merge branch 'contrib/github_pr_7971' into 'master'
bugfix: Conflicting declaration error when include<rom/secure_boot.h>

Closes IDFGH-6308

See merge request espressif/esp-idf!16202
2021-12-01 11:59:20 +00:00
Li Jingyi
981ef057c4 feat(mbedtls): modify __wrap_mbedtls_ssl_setup to decrease SSL peak heap cost 2021-12-01 17:15:25 +08:00
liqigan
aa6f86fbc5 fix SPP server bugs when the BTC layer can not allocate a slot for the listen port 2021-12-01 14:59:14 +08:00
Chen Yudong
8fe7d74453 example: build ble_mesh_console example on c3 and s3 as well 2021-12-01 12:03:34 +08:00
Tomas Rezucha
ebaca79557 other: Move cbor, jsmn and libsodium to idf-component-manager
Marginal components are being carved out from esp-idf and moved to
https://github.com/espressif/idf-extra-components.
They are distributed via idf-component-manager, see
https://components.espressif.com.
2021-11-30 21:44:48 +01:00
Mahavir Jain
f667b1039b Fix copyright headers for few include files 2021-11-30 22:25:33 +05:30
Martin Gano
7460deeae8 support for wear levelling in fatfs partition generator
Closes https://github.com/espressif/esp-idf/issues/5785
2021-11-29 16:57:47 +01:00
Cao Sen Miao
17ea9d7faf USB_SERIAL_JTAG: Fix the issue that there is no rom log when restarting 2021-11-29 20:26:09 +08:00
Mahavir Jain
92b1ea2199 Merge branch 'bugfix/hardware_mpi_fallback_issue' into 'master'
mbedtls: fix hardware MPI (bignum) related regression

See merge request espressif/esp-idf!15854
2021-11-29 11:19:51 +00:00
Simon
e9f3f56ba1 Merge branch 'refactor/delete_clk_header' into 'master'
cleanups: Delete some deprecated headers to make idf cleaner(clk.h esp_cache_err.h)

Closes IDF-4294

See merge request espressif/esp-idf!16012
2021-11-29 07:31:55 +00:00