Zim Kalinowski
40ffc48ff7
Merge branch 'feature/migrate-esp-common-tests-to-pytest' into 'master'
...
esp_common: migrate unit tests to pytest test app
Closes IDF-5572
See merge request espressif/esp-idf!20194
2022-11-23 19:39:50 +08:00
Zim Kalinowski
17ba68d89a
cleaned up
2022-11-23 08:45:56 +01:00
Zim Kalinowski
95cc3e5b6c
esp_common: migrate tests to pytest
2022-11-22 22:15:08 +01: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
Aditya Patwardhan
f9565fd31d
soc/esp_ds.h: Unify esp_ds error codes for all targets
2022-10-27 11:09:25 +05:30
Alexey Lapshin
e6f7b1a3a0
tools: cmake: check tool supported version with idf_tools.py
2022-10-03 19:01:32 +04:00
Ivan Grokhotkov
c6e9a0c350
esp_common: make esp_err_to_name and ESP_ERROR_CHECK usable on Linux
2022-08-18 18:16:45 +02:00
Ivan Grokhotkov
012fafb827
versions: Update version to 5.1.0
2022-08-04 09:55:43 +02:00
Ivan Grokhotkov
401c10ecfb
build system: re-add -Wno-format as private flag for some components
2022-08-03 16:42:47 +04:00
morris
c4e84751a5
driver: fix public header exceptions for driver
2022-07-22 00:12:36 +00:00
David Cermak
89bb1fdec1
esp_netif: Add error checks to dhcp server state transitions
2022-07-20 14:59:34 +02: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
Cao Sen Miao
a690a87829
spi_flash: Remove legacy spi_flash drivers
2022-07-01 11:01:34 +08:00
Alexey Lapshin
69b317368e
esp_system: Fix esp32c2/esp32c3/esp32h2 TLS size
...
The change fixes thread-local-storage size by removing .srodata section
from it. It initially was included in TLS section by mistake.
The issue was found when stack size increased after building applications
with GCC-11.1 compiler. Stack size became bigger because some new data
appeared in .srodata. See more details here:
adce62f53d
2022-06-27 03:29:08 +00:00
Martin Vychodil
692b9980b5
Merge branch 'feature/memprot_api_unified_s3_2' into 'master'
...
System/Security: Memprot API unified (ESP32S3)
See merge request espressif/esp-idf!16169
2022-06-20 17:34:22 +08:00
Martin Vychodil
339fcbf14d
System/Security: Memprot API unified (ESP32S3)
...
Unified Memory protection API for all PMS-aware chips - ESP32S3 port
2022-06-20 02:36:44 +00:00
Ivan Grokhotkov
9ff37d122a
esp_common: add handling for designated inits for C++20
2022-06-17 16:44:17 +02:00
Armando
38e5043ae8
esp_psram: new psram component
2022-06-14 15:44:27 +08:00
Michael (XIAO Xufeng)
6a8aed12ee
ci: partially enable ut tests for esp32c2
...
Disabled test cases are tracked in:
IDF-4465, IDF-5045, IDF-5057, IDF-5058, IDF-5059, IDF-5060, IDF-5061, IDF-5131
- test_fatfs: IDF-5136
- test_pm: IDF-5053
- test_cache_mmu: IDF-5138
- test_partitions: IDF-5137
- test_vfs: IDF-5139
- test_freertos: IDF-5140
- test_wpa_supplicant: IDF-5046
- test_mbedtls: IDF-5141
- test_pthread: IDF-5142
- test_protocomm: IDF-5143
- test_lightsleep: IDF-5053
- test_taskwdt: IDF-5055
- test_tcp_transport: IDF-5144
- test_app_update: IDF-5145
- test_timer: IDF-5052
- test_spi: IDF-5146
- test_rtc_clk: IDF-5060
- test_heap: IDF-5167
ci: fixed issues for tests of libgcc, ets_timer, newlib
test_pm: support on C2
2022-06-02 14:23:35 +08:00
Laukik Hase
cc7c67ad4e
tcp_transport: Fix error propogation
...
- Made tcp_transport_errors codes public to indicate
TCP connection issues not covered in socket's errno
- Added API to translate tcp_transport_error codes
to esp_err_t codes for TCP Transport
Co-authored-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2022-05-31 15:04:21 +05:30
Jakob Hasse
ad184e979a
refactor (nvs)!: New interface for iterator functions
...
Closes https://github.com/espressif/esp-idf/issues/7826
* nvs_entry_find(), nvs_entry_next() and nvs_entry_info()
return error codes now
* nvs_entry_find() and nvs_entry_next() access/modify iterator via
parameters, instead of returning an new iterator.
Added appropriate documentation in Chinese and English
2022-05-30 09:28:42 +08:00
Martin Vychodil
d1ec5580ee
Merge branch 'nvs/remove_asserts' into 'master'
...
change: NVS assertions as runtime errorcodes
Closes IDF-3025
See merge request espressif/esp-idf!17739
2022-05-30 01:07:25 +08:00
Matus Fabo
58cca07104
add: Kconfig assert or errorcode option
...
add: private include header
add: macro encapsulation for assertion or error check
add: ESP_FAIL return code documentation in public headers
change: replaced all assertions by NVS_ASSERT_OR_RETURN macro
change: few internal function return values from void to esp_err_t
change: ESP_ERR_NVS_VALUE_TOO_LONG macro comment
2022-05-28 20:29:05 +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
Marius Vikhammer
cf1b222cac
build system: removed target component
...
After refactoring the target components (e.g. esp32) no longer contained any real functionality.
What remained in these components have been moved elsewhere and the component itself deleted from the
build system.
2022-05-24 09:12:59 +08:00
Armando
b5de3ec953
esp_common: rename EXT_RAM_ATTR to EXT_RAM_BSS_ATTR to make it clearer
...
EXT_RAM_ATTR is deprecated. To put .bss on PSRAM, use this new macro EXT_RAM_BSS_ATTR
2022-04-19 19:48:00 +08:00
Armando
f8249550f8
psram: support .bss on psram on esp32s3
2022-04-19 19:48:00 +08:00
Marius Vikhammer
0fbae992dd
config: removed references to non-existing kconfig options
2022-03-15 18:32:22 +08:00
Darian
3ba055653d
Merge branch 'refactor/rename_esp_macro_header' into 'master'
...
esp_common: Rename esp_macro.h to esp_macros.h
See merge request espressif/esp-idf!17452
2022-03-11 13:50:04 +08:00
Darian Leung
94c2467dd6
esp_common: Rename esp_macro.h to esp_macros.h
2022-03-10 21:22:35 +08:00
David Cermak
795b7ed993
esp_netif: Remove tcpip_adapter compatibility layer
2022-03-10 08:19:43 +01:00
Vladimir Chistyakov
216703c0ef
esp_macro: Fix CHOOSE_MACRO_VA_ARG() for C++20
...
Closes https://github.com/espressif/esp-idf/pull/8372
Closes https://github.com/espressif/esp-idf/issues/8371
[darian@espressif.com: Updated macro description and commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2022-03-08 20:21:26 +08:00
Ivan Grokhotkov
413375453b
esp_common: update copyright headers
2022-02-21 00:51:49 +03:00
morris
84b750cbe8
Merge branch 'refactor/lcd_soc_ll_update_according_trm' into 'master'
...
lcd soc ll update according trm
See merge request espressif/esp-idf!16900
2022-02-12 08:13:34 +00:00
Darian Leung
c5fd79547a
freertos: Add CHOOSE_MACRO_VA_ARG selector
...
This commit adds a CHOOSE_MACRO_VA_ARG() selector to allow selection between two
versions of a macro based on the number of arguments. This replaces the previous
portGET_ARGUMENT_COUNT() selector.
- portYIELD_FROM_ISR() now uses CHOOSE_MACRO_VA_ARG()
- portYIELD_FROM_ISR(arg) version added to risc-v port
- Old vPortEvaluateYieldFromISR() and portGET_ARGUMENT_COUNT removed
2022-02-07 20:01:11 +08:00
Sudeep Mohanty
2fc9bd61bf
ulp: refactor ulp component
...
This commit refactors the ulp component.
Files are now divided based on type of ulp, viz., fsm or risc-v.
Files common to both are maintained in the ulp_common folder.
This commit also adds menuconfig options for ULP within the ulp
component instead of presenting target specific configuations for ulp.
2022-01-27 11:54:42 +05:30
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
morris
1938d7c006
log: skip unused tag string wanring in esp_check.h
2022-01-24 18:45:46 +08:00
Otto Winter
eb29ee27ef
bugfix (esp_common): remove infinite recursion in FLAG_ATTR operator
...
Closes https://github.com/espressif/esp-idf/pull/7754
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
2022-01-17 12:22:42 +08:00
Omar Chebib
b0afae5e60
espcoredump: fix a bug where tracked DRAM data where not dumped
...
Variables marked as COREDUMP_DRAM_ATTR will now be part of the core dump.
* Closes https://github.com/espressif/esp-idf/issues/8151
2022-01-06 16:53:35 +08: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
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
Cao Sen Miao
742f99f7d0
ESP8684: add esp8684, esp_adc_cal, esp_common
2021-11-06 17:33:44 +08:00
Ivan Grokhotkov
68233f58b4
version: starting v5.0.0 development
2021-10-20 22:25:38 +02:00
Ivan Grokhotkov
8f0ee18931
Merge branch 'feature/clang_toolchain_compat' into 'master'
...
Build system: minimal changes for clang compatibility
See merge request espressif/esp-idf!15168
2021-09-23 08:19:09 +00:00
Ivan Grokhotkov
90a87cf5e4
cmake: don't run crosstool-version-check for clang
...
We will likely need to check clang version as well, eventually.
However at the moment clang builds change too often for such check
to be maintainable. Disable it for clang.
2021-09-16 10:54:27 +02:00
Aditya Patwardhan
b4e4b9f20d
Added support for client session tickets in esp-tls (with mbedtls)
...
* client session tickets for individual tls connections are supported
* reorganize the esp-tls error codes.
* Update esp_err_to_name.c
* Fix styling
2021-09-15 22:19:04 +05:30
Marius Vikhammer
6a2f7b6f88
ld: rename .ext_ram.noinit to .ext_ram_noinit
...
Older versions of the coredump utility tool do not correctly
handle this nameing scheme. Rename to keep forward compatibility.
2021-08-10 11:13:54 +08:00