Commit Graph

5012 Commits

Author SHA1 Message Date
Roland Dobai
afaee632ea Merge branch 'feature/tools_fix_arm64_arm32_detection_v5.1' into 'release/v5.1'
fix(idf_tools): Fix platform detection - arm64 hardware but it's running in arm32 environment (v5.1)

See merge request espressif/esp-idf!33396
2024-09-18 15:32:46 +08:00
Jiang Jiang Jian
7ff192c979 Merge branch 'bugfix/forbid_uart_suspend_auto_lightsleep_v5.1' into 'release/v5.1'
uart: Fixed issue that TX be blocked by auto-lightsleep (v5.1)

See merge request espressif/esp-idf!31109
2024-09-18 13:53:46 +08:00
Anton Maklakov
61bc4b9684 ci: update mypy check for python 3.8 2024-09-18 11:11:26 +07:00
Marek Fiala
abbfb9d073 feat(tools): Exclude modified folders by rebuild 2024-09-13 16:56:46 +02:00
Marek Fiala
1c00a61ca3 feat(tools): Update tools: cmake, ninja, ccache
cmake  v3.24.0 -> v3.30.2
ninja  v1.11.1 -> v1.12.1
ccache v4.8    -> v4.10.2

Closes https://github.com/espressif/esp-idf/pull/14376
2024-09-13 16:56:46 +02:00
Xiao Xufeng
74eb0cd4a8 fix(soc): fixed uart_periph.h not including reg.h issue
This will cause rom/uart.h can't compile.
2024-09-12 21:26:13 +08:00
Anton Maklakov
2456dc6a8e fix(idf_tools): fix delimiter when the updater parsing, ' *' or ' ' 2024-09-09 13:01:00 +07:00
Anton Maklakov
49773c662a fix(idf_tools): Fix platform detection for arm64 machine but arm32 environment 2024-09-09 13:00:46 +07:00
Sudeep Mohanty
b2b1a3a81b test(freertos): Added build test for function in flash with -Os optimation
This commit adds a build test for when FreeRTOS and esp_ringbuf functions
are placed in flash and the compiler optimizes for code size.
2024-08-30 09:18:52 +02:00
Sudeep Mohanty
c2be14c80f fix(freertos): Added freertos fragments to the exception list of ldgen mapping checks
This commit adds freertos and esp_ringbuf linker fragment sections
to the exception list of the ldgen mappings checker script.
2024-08-30 09:18:50 +02:00
Alexey Gerenkov
8235a0dcff feat(tools): update openocd version to v0.12.0-esp32-20240821 2024-08-28 13:20:40 +03:00
Rahul Tank
071fed2d6f feat(nimble): BLE_GAP_EVENT_LINK_ESTAB event to ensure link established 2024-08-20 14:56:13 +05:30
Jiang Jiang Jian
7c29c5f2b1 Merge branch 'bugfix/provide_random_addr_api_v5.1' into 'release/v5.1'
fix(wifi_prov): Added API to set random address (v5.1)

See merge request espressif/esp-idf!32327
2024-08-20 10:35:58 +08:00
Sergei Silnov
d38afc77db Merge branch 'fix/component_manager_load_all_local_components_v5.1' into 'release/v5.1'
Some checks failed
docker / docker (push) Has been cancelled
fix: component manager load all component dirs even set(COMPONENTS ...) (v5.1)

See merge request espressif/esp-idf!32040
2024-08-16 19:39:04 +08:00
Fu Hanxi
0ce01df3c5 test: improve test_dependency_lock test case 2024-08-15 20:42:06 +08:00
Fu Hanxi
195efb38cb fix: component manager load all component dirs even set(COMPONENTS ...) 2024-08-15 20:42:06 +08:00
Fu Hanxi
7ac07039ea
ci: remove idf-component-manager tests in idf 2024-08-15 14:38:42 +02:00
Alexey Gerenkov
1bdf3d3bc4 feat(tools): update openocd version to v0.12.0-esp32-20240726 2024-08-11 12:02:59 +02:00
Frantisek Hrbata
518dc6f412 fix: ensure the constraint file is followed also for setuptools
Currently, when the venv is installed or updated, we attempt to
automatically update pip and setuptools within the venv. Unfortunately,
the setuptools package is installed or updated without adhering to the
constraints file, which restricts the setuptools version due to
https://github.com/pypa/setuptools/issues/4480. Resolve this issue by
applying the constraints file to the installation and update of both pip
and setuptools.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-08-02 09:36:05 +02:00
Rahul Tank
79012cb3e2 fix(wifi_prov): Added API to set random address 2024-07-24 20:58:04 +05:30
harshal.patil
a2993ab3a6
fix(tools/esp_prov): Fix incorrect input decoding when using console transport
- Closes https://github.com/espressif/esp-idf/issues/14013
2024-06-26 11:28:47 +05:30
morris
450846057c fix(lcd): build errors with deprecated lcd types in cpp
Closes https://github.com/espressif/esp-idf/issues/14029
2024-06-24 14:06:20 +08:00
Roland Dobai
5a51f06a24 fix(tools/idf_tools.py): Improve the warning message about the environment 2024-06-14 10:01:27 +02:00
Jakub Kocka
71130318df fix(tools): Avoid crashing when Git is used to acquire IDF version
Closes https://github.com/espressif/esp-idf/issues/13345
2024-06-11 09:39:56 +02:00
Roland Dobai
59e2674bf6 Merge branch 'fix/pytest_session_dir_v5.1' into 'release/v5.1'
ci: apply new fix in pytest-embedded 1.10 (v5.1)

See merge request espressif/esp-idf!30678
2024-05-28 17:02:23 +08:00
Roland Dobai
ab18946708 fix(tools): Use GDGBUI arguments based on its version
Closes https://github.com/espressif/esp-idf/issues/13665
2024-05-23 14:45:41 +02:00
Fu Hanxi
9228c6f5dd ci: move log dir from pytest_embedded_log to pytest-embedded 2024-05-22 16:58:53 +08:00
Fu Hanxi
f39f8d4a3f ci: update mypy check for python 3.12, check under python 3.7 rules 2024-05-22 16:58:53 +08:00
Alexey Gerenkov
1751ffe936 Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20240318_v5.1' into 'release/v5.1'
feat(tools): update openocd version to v0.12.0-esp32-20240318 (v5.1)

See merge request espressif/esp-idf!30046
2024-05-14 17:44:07 +08:00
Erhan Kurubas
ce2c90fcce change(gdbinit): set remote timeout for the gdb connection 2024-05-13 13:49:35 +02:00
morris
54507f0113 Merge branch 'refactor/usb_remove_unused_files_v5.1' into 'release/v5.1'
USB: Remove unused HAL files and deprecate usb_periph (v5.1)

See merge request espressif/esp-idf!29790
2024-05-11 22:36:18 +08:00
Roland Dobai
e2d9d68f5a Merge branch 'refactor/idf_tools_version_v5.1' into 'release/v5.1'
refactor(idf_tools): IDF version is acquired only from version or header file (backport v5.1)

See merge request espressif/esp-idf!29742
2024-05-10 20:14:07 +08:00
Roland Dobai
c8c6a4fdd4 Merge branch 'fix/exit_asyncio_gracefully_v5.1' into 'release/v5.1'
fix: exit gracefully when process started via asyncio is terminated (v5.1)

See merge request espressif/esp-idf!30384
2024-05-10 20:13:10 +08:00
Jack
d7b0a45ddb
versions: Update to v5.1.4 2024-05-09 18:35:18 +08:00
Frantisek Hrbata
0de3c3b572 fix: exit gracefully when process started via asyncio is terminated
Currently when process is started through asyncio Runner and it is termited
e.g. with SIGINT(ctrl+c) a traceback is printed instead of gracefully
exit.

Exception ignored in: <function BaseSubprocessTransport.__del__ at 0x7fe980970900>
Traceback (most recent call last):
  File "/usr/lib64/python3.12/asyncio/base_subprocess.py", line 129, in __del__
    self.close()
  File "/usr/lib64/python3.12/asyncio/base_subprocess.py", line 107, in close
    proto.pipe.close()
  File "/usr/lib64/python3.12/asyncio/unix_events.py", line 568, in close
    self._close(None)
  File "/usr/lib64/python3.12/asyncio/unix_events.py", line 592, in _close
    self._loop.call_soon(self._call_connection_lost, exc)
  File "/usr/lib64/python3.12/asyncio/base_events.py", line 793, in call_soon
    self._check_closed()
  File "/usr/lib64/python3.12/asyncio/base_events.py", line 540, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

This is caused because asyncio Runner context in asyncio.run is closing the event
loop and if exception is unhandled in coroutine(run_command) the transport is not
closed before the even loop is closed and we get RuntimeError: Event loop is closed
in the transport __del__ function because it's trying to use the closed
even loop.

Let's catch asyncio.CancelledError in case the process we are trying to
read from is terminated, print message, let the asyncio finish and exit
gracefully.

Closes https://github.com/espressif/esp-idf/issues/13418

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-04-22 11:51:32 +02:00
Alexey Gerenkov
75a4f0e2b7 feat(tools): update openocd version to v0.12.0-esp32-20240318 2024-04-08 03:34:56 +08:00
Laukik Hase
f839fa089a
fix(esp_hw_support): Fix the flash I/DROM region PMP protection 2024-04-03 15:51:39 +05:30
Darian Leung
5c2a003f91
refactor(soc): Remove soc/usb_types.h
This header has been removed for the following reasons:

- Header is misplaced. 'xxx_types.h' headers should be placed in the 'hal'
component.
- The 'usb_xxx_endpoint_t' should be placed in the 'xxx_struct.h' header.
2024-03-22 15:21:52 +08:00
Darian Leung
93e2cbcc77
refactor(soc): Deprecate usb pin mappings
usb_pins.h and usb_periph.h/c lists mappings of USB DWC signals to GPIOs used
to connect to external FSLS PHYs. However, those signals can be routed to any
GPIOs via the GPIO matrix. Thus, these mapping are meaningless and have been
deprecated.
2024-03-22 15:21:51 +08:00
Jakub Kocka
13fea024e5 refactor(idf_tools): IDF version is acquired only from version or header file
Closes https://github.com/espressif/esp-idf/issues/13385
2024-03-20 07:54:39 +01:00
Jiang Jiang Jian
0bef269ac0 Merge branch 'fix/fix_curses_py312_v5.1' into 'release/v5.1'
Fix Access Violation Error on Windows with Python 3.12 (v5.1)

See merge request espressif/esp-idf!29510
2024-03-15 13:45:00 +08:00
morris
96888a9ad6 Merge branch 'bugfix/flash_mxic_chip_v5.1' into 'release/v5.1'
fix(spi_flash): Fix MXIC chip flash size detected wrong (backport v5.1)

See merge request espressif/esp-idf!29611
2024-03-14 10:46:13 +08:00
Martin Vychodil
9706e5a274 Merge branch 'bugfix/nvs_lock_initi_and_multipage_blob_v5.1' into 'release/v5.1'
Bugfix/nvs Improved handling of BLOB during unreliable power environment and concurrent data access scenarios (v5.1)

See merge request espressif/esp-idf!29321
2024-03-13 23:10:02 +08:00
Jiang Jiang Jian
db2a037329 Merge branch 'bugfix/hpm_dc_default_disabled_v5.1' into 'release/v5.1'
spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart (v5.1)

See merge request espressif/esp-idf!26656
2024-03-13 19:50:59 +08:00
Cao Sen Miao
4af88f7458 fix(spi_flash): Fix MXIC chip flash size detected wrong,
Closes https://github.com/espressif/esp-idf/issues/12222
2024-03-13 18:51:36 +08:00
radek.tandler
0d3bbed981 fix(nvs): Improved lockig mechanism for initialization phase 2024-03-12 16:27:36 +01:00
Erhan Kurubas
5d1b6b7b99 feat(coredump): save twdt panic output to coredump elf file 2024-03-12 10:40:29 +01:00
Xiao Xufeng
194ea85ee8 spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart 2024-03-12 10:48:08 +08:00
Mahavir Jain
590c650fc0 Merge branch 'fix/pmp_idcache_reg_prot_v5.1' into 'release/v5.1'
fix(esp_hw_support): Fix the I/DCACHE region PMP protection (v5.1)

See merge request espressif/esp-idf!29357
2024-03-08 22:50:10 +08:00
Jan Beran
c19dfc68d9 fix(menuconfig): Prevent Access violation on Windows with Python 3.12
Closes https://github.com/espressif/esp-idf/issues/13232
2024-03-08 14:25:35 +01:00