157 Commits

Author SHA1 Message Date
armando c60ed4b338 fix(spm): rename scp (scratchpad) to spm (scratchpad memory) 2026-03-17 01:29:34 +00:00
Guillaume Souchere ca8eb6b6f2 Merge branch 'fix/esp-attr-section-impl' into 'master'
fix(esp_common): remove alignment value for section definition

See merge request espressif/esp-idf!46582
2026-03-13 12:24:19 +01:00
Guillaume Souchere 51d2cc2245 fix(esp_common): Remove alignement in ojects placced in specific sections
Let the compiler use variabel natural alignment
2026-03-12 13:53:43 +01:00
armando c96f69faef change(mem): deprecated tcm and added scp memory utils 2026-03-11 11:18:15 +08:00
Guillaume Souchere bf2d8faebb test(esp_common): Add Linux host test for portable section macros
Add a test app that verifies PLACE_IN_SECTION, _SECTION_ATTR_SYMBOL_DECL_GENERIC,
_SECTION_START and _SECTION_END macros work correctly on Linux.

The test places 5 uint32_t values into a custom .test_data_table section from
two separate translation units, then iterates the section at runtime to verify
the correct count and content of all entries.

Includes:
- Custom linker script (ld/test_section.ld)
- Build-test-rules entry (linux only)
- pytest host_test marker
2026-03-09 07:18:27 +01:00
Guillaume Souchere 0549755e37 feat(esp_common): Add portable link-time section macros to esp_attr.h
Add PLACE_IN_SECTION, _SECTION_ATTR_IMPL_GENERIC, _SECTION_ATTR_SYMBOL_DECL_GENERIC,
_SECTION_START and _SECTION_END macros that emit real section attributes on every
platform (embedded ELF, Linux ELF, macOS Mach-O).

Unlike _SECTION_ATTR_IMPL which is a no-op on Linux, these macros work uniformly
across all targets, enabling link-time arrays for error-code tables, init-function
arrays, and similar patterns.

Also moves _COUNTER_STRINGIFY definition before its first use.
2026-03-02 08:17:50 +01:00
Erhan Kurubas 5ba3e9df98 feat(coredump): add coredump_extram attribute
Closes https://github.com/espressif/esp-idf/issues/15429
2026-02-02 10:25:03 +01:00
Erhan Kurubas 14c16bee61 feat(coredump): add coredump_noinit attribute 2026-01-11 18:57:37 +03:00
Robot fdb78272a4 feat(esp_common): Adds ESP_RETURN_ON_ERROR_CLEANUP macro
Merges: https://github.com/espressif/esp-idf/pull/15525
2025-12-09 15:34:41 +02:00
Roland Dobai f21b4c2381 change(version): Update version to 6.1-dev
Start of v6.1 development
2025-10-24 09:01:34 +02:00
armando 0f6adbebed change(memory): removed rtc related memory attrs on no-rtc-support chips 2025-10-15 01:19:02 +00:00
Mahavir Jain ad059d385b fix(security): add anti-FI checks while setting up PSRAM encryption 2025-09-30 10:22:53 +05:30
Alexey Lapshin a3dfc82246 fix(build): add __attribute__((nonstring)) to nonsting variables 2025-06-25 18:01:50 +07:00
wuzhenghui 077ce905ed fix(esp_hw_support): fix sleep iram safe code inlined to flash 2025-05-19 21:02:24 +08:00
Ivan Grokhotkov f89d6ee5a0 change(version): Update version to v6.0-dev 2025-05-12 11:39:42 +02:00
Konstantin Kondrashov 204046e799 feat(log): Add binary logging support 2025-04-23 15:46:34 +08:00
Konstantin Kondrashov 33633a5024 fix(esp_common): Fix DRAM_DMA_ALIGNED_ATTR for P4 2025-04-22 18:02:16 +03:00
Mahavir Jain dcb43e0eff fix(esp_common): move some DEBUG macros to http client component
In commit a0bcffcc, some ESP_RETURN and ESP_GOTO debug macros were
introduced. But this caused a regression with CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT
case. Its better to move this macros to HTTP client component itself, as
the debug log is still desired for the specific use-case.
2025-01-16 10:27:54 +05:30
nilesh.kale a0bcffcce9 fix(esp_http_client): updated defination for macro mem_check
This commit replace macro MEM_CHECK with return on failure and
updated usage of reespctive APIs' in IDF.
This also update th prototype of API esp_http_client_add_auth().

Closes https://github.com/espressif/esp-idf/issues/14463
2024-12-10 15:41:36 +05:30
Ivan Grokhotkov d998d76627 change(version): Update version to v5.5-dev 2024-10-28 10:17:21 +01:00
Marius Vikhammer 64e0fc7a5a fix(system): rename __VA_NARG__ macro
__VA_NARG__ is copied from a forum post and is a pretty common implementation
with a high chance of causing naming collision

Added ESP_ namespace to avoid this.
2024-10-15 09:41:00 +08:00
Alexey Lapshin 7498f4655a fix(esp_system): fix GCC 14 analyzer warnings 2024-09-08 13:53:52 +07:00
Alexey Lapshin ed6e497c6f feat(build): add COMPILER_STATIC_ANALYZER option 2024-06-18 14:25:37 +08:00
Ivan Grokhotkov 0436d49815 change(version): Update version to v5.4-dev 2024-04-22 22:43:44 +02:00
Duco Sebel 69f6170f27 feat(esp_common): Add macros that check the condition and return from void function
Merges: https://github.com/espressif/esp-idf/pull/13536
2024-04-11 08:51:03 +03:00
wuzhenghui 856f043331 feat(esp_hw_support): add esp32p4 pmu initial support 2024-03-10 10:51:28 +08:00
Marius Vikhammer 043dae211e fix(system): format esp_common, app_format and bootloader_format with astyle 2024-01-29 10:41:25 +08:00
Xiao Xufeng 216284b767 feat(sdio): add sdio over sdmmc support for esp32p4 2024-01-14 01:05:00 +08:00
Aditya Patwardhan c0ea892aa5 fix(hal): Fix typo in hal layer for Key Manger
This also fixes type in attribute added in esp_attr
2024-01-08 10:32:41 +05:30
Vikram Dattu 3d40b17576 fix(docs): fixed doxygen warnings in few headers
- non-matching arguments in `i2c_types.h` and `esp_wifi_crypto_types.h`
 - Fixed unended `@cond` macro in `esp_err.h`
2023-12-15 12:28:18 +05:30
Ivan Grokhotkov 8171b22c40 change(version): Update version to 5.3.0 2023-10-27 03:06:55 +02:00
Aditya Patwardhan 8edef17f1a feat(esp_common): Added PACKED_ATTR in esp_attr.h 2023-10-16 09:26:45 +05:30
Adam Múdry ab1eb37fe8 feat(partition_table): Add read-only partition flag and functionality 2023-10-11 00:01:05 +02:00
Planck (Lu Zeyu) 255d499884 fix(ll): fix cpp compile error
Merges https://github.com/espressif/esp-idf/pull/12093

fix(ll): remove FLAG_ATTR macro

Such kind of operator overload will not work because C++ thinks such overload is ambiguous and it still prefer the built-in one which accepts and returns integer. Manually force type conversion seems to be unavoidable.
2023-09-14 14:48:12 +08:00
wuzhenghui 6fea0260a3 fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled 2023-09-12 16:30:42 +08:00
Armando 756c36504a feat(tcm): added tcm basic support on esp32p4 2023-07-25 05:59:10 +00:00
Zhang Xiao Yan 9421cca938 Merge branch 'docs/fix_typo_in_components_esp_common_include_esp_err' into 'master'
docs: fix typo in components/esp_common/include/esp_err.h

See merge request espressif/esp-idf!23573
2023-06-02 15:56:54 +08:00
Linda 7bf3105105 docs: fix typo in components/esp_common/include/esp_err.h 2023-06-01 10:17:19 +08:00
Jakob Hasse c8791f30c0 compiler: replaced noreturn by __noreturn__ in header files
* noreturn may be replaced by third-party macros,
  rendering it ineffective

* Closes https://github.com/espressif/esp-idf/issues/11339
2023-05-11 16:07:45 +08:00
Ivan Grokhotkov 39580dd08c version: update to v5.2.0
Starting IDF v5.2 development
2023-04-23 21:52:21 +02:00
Jakob Hasse 6991a92895 docs: added new C++ language standard 2023-04-14 17:57:01 +08:00
Li Shuai 8c18393d23 regdma: add regdma link operation api support 2023-02-15 11:46:36 +08:00
Omar Chebib cd21058097 C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
Closes https://github.com/espressif/esp-idf/issues/9938
2022-11-21 16:18:08 +08:00
KonstantinKondrashov 1a9ca94ac6 ci: Fix environment variable IDF_CI_BUILD is not set 2022-11-08 18:23:39 +08:00
Ivan Grokhotkov 012fafb827 versions: Update version to 5.1.0 2022-08-04 09:55:43 +02:00
morris c4e84751a5 driver: fix public header exceptions for driver 2022-07-22 00:12:36 +00:00
Ivan Grokhotkov 9a00475bd9 esp_common: include stdlib.h into esp_err.h for 'abort' declaration
Closes https://github.com/espressif/esp-idf/issues/9093
2022-07-12 17:01:47 +02:00
Ivan Grokhotkov 9ff37d122a esp_common: add handling for designated inits for C++20 2022-06-17 16:44:17 +02:00
jingli 1781ce3b98 further fix rtc attr for esp32c2 2022-05-28 08:52:55 +00:00
jingli 84628ba883 fix rtc attr for esp32c2 2022-05-28 08:52:55 +00:00