Commit Graph

662 Commits

Author SHA1 Message Date
Omar Chebib
6f968394bd Merge branch 'bugfix/ldgen_file_single_entry' into 'master'
fix(ldgen): fix linker script generation from a single-entry fragment file

See merge request espressif/esp-idf!33033
2024-08-27 10:10:30 +08:00
Marius Vikhammer
a04bedc4ce Merge branch 'bugfix/assert_ndebug' into 'master'
feat(newlib): add option to disable eval of expression in assert() when NDEBUG set

Closes IDFGH-479 and IDFGH-8692

See merge request espressif/esp-idf!32887
2024-08-26 15:42:31 +08:00
Omar Chebib
a8bb279dff fix(ldgen): fix linker script generation from a single-entry fragment file 2024-08-23 17:25:19 +08:00
C.S.M
2cbf859f6f fix(intr_dump): Fix the interrupt dump expected output 2024-08-22 11:26:30 +08:00
Mahavir Jain
71b56bd3f3 Merge branch 'feature/introduce_security_component' into 'master'
Introduce a new security component

Closes IDF-9359

See merge request espressif/esp-idf!31969
2024-08-20 22:18:07 +08:00
Jakob Hasse
d2cfb78d31 Merge branch 'refactor/spi_ram_stack_with_heap_caps_config' into 'master'
refactor(esp_psram): allow PSRAM as stack when PSRAM is only available via esp_heap_caps

Closes IDFGH-11604

See merge request espressif/esp-idf!32832
2024-08-20 16:48:44 +08:00
Mahavir Jain
cdee290a5d Merge branch 'ci/enable_memprot_tests_for_esp32c5' into 'master'
Some checks are pending
docker / docker (push) Waiting to run
Enable memory protection tests for ESP32-C5

Closes IDF-10099

See merge request espressif/esp-idf!32766
2024-08-20 13:35:29 +08:00
Mahavir Jain
1e8391f5fe fix(esp_security): keep esp_security as private dependency for esp_hw_support
- Only esp_hw_support -> esp_security as new private dependency
- In next major IDF release, the public interface can be moved
  esp_security component
2024-08-20 12:35:22 +08:00
Marius Vikhammer
ff8265b6b3 feat(newlib): add option to disable eval of expression in assert() when NDEBUG set
According to the standard assert(X) should be replaced by a void expression when
NDEBUG is set. IDF's behavior was to not trigger an assertion, but we would still
evaluate X, e.g. if X was a function it would be ran.

This MR adds a kconfig option CONFIG_COMPILER_ASSERT_NDEBUG_EVALUATE which allows us
revert the behavior to be inline with the standard.

With IDF v6.0 the plan is to make CONFIG_COMPILER_ASSERT_NDEBUG_EVALUATE=n the default
behavior.

Closes https://github.com/espressif/esp-idf/issues/10136
Closes https://github.com/espressif/esp-idf/issues/2758
2024-08-20 09:26:54 +08:00
Michael (XIAO Xufeng)
742a4838d6 Merge branch 'fix/mmu_multicore_app_bl' into 'master'
fix(MMU): fixed mmap deadlock when using multicore app with unicore bootloader

Closes IDFGH-10359

See merge request espressif/esp-idf!32745
2024-08-16 11:49:32 +08:00
Jakob Hasse
0d32deb4c4 refactor(test_apps): increased timeout of panic tests 2024-08-15 16:16:54 +02:00
Xiao Xufeng
00c144aa99 ci(mmu): add unicore test 2024-08-15 12:00:08 +08:00
Mahavir Jain
f1492a97a2 Merge branch 'bugfix/s3_memprot_exec_test' into 'master'
Fix(Security): Fixed ESP32S3 Memprot RTCFAST code-execution tests

Closes IDF-10719

See merge request espressif/esp-idf!32649
2024-08-14 14:56:40 +08:00
C.S.M
fbab3bc874 Merge branch 'feat/temperature_sensor_bringup' into 'master'
feature(temperature_sensor): Add temperature sensor support on esp32c5

Closes IDF-8727

See merge request espressif/esp-idf!32665
2024-08-14 10:53:26 +08:00
Jakob Hasse
d7ca8b94c8 Merge branch 'contrib/github_pr_14339' into 'master'
Some checks failed
docker / docker (push) Has been cancelled
Fix(pthread): Added linux port with empty functions to make pthread cxx example build. (GitHub PR)

Closes IDFGH-13424 and IDFGH-13433

See merge request espressif/esp-idf!32785
2024-08-14 00:05:12 +08:00
Nilesh Kale
6028332164 Merge branch 'feature/enable_secure_boot_in_esp32c61' into 'master'
feat: enable secure boot feature for esp32c61

Closes IDF-9233

See merge request espressif/esp-idf!31420
2024-08-13 19:23:53 +08:00
Cristian Funes
d3ab90ba24 fix(pthread): Fix cxx pthread example build for linux platform
Closes https://github.com/espressif/esp-idf/pull/14339
2024-08-13 10:48:17 +02:00
C.S.M
5d4275fb75 feature(temperature_sensor): Add temperature sensor support on esp32c5 2024-08-13 11:55:39 +08:00
Marius Vikhammer
6cbee5c7f6 Merge branch 'contrib/github_pr_13578' into 'master'
Make FreeRTOS configUSE_TIMERS optional in KConfig (GitHub PR)

Closes IDFGH-12576

See merge request espressif/esp-idf!32576
2024-08-13 10:06:51 +08:00
harshal.patil
14cbd837b3
ci(memprot): enable memory protection tests for ESP32-C5 2024-08-12 11:08:33 +05:30
Jakob Hasse
90cc261916 Merge branch 'feature/bootloader_support_mock' into 'master'
feat(bootloader_support): added bootloader_support mocks

See merge request espressif/esp-idf!32603
2024-08-09 18:07:58 +08:00
Marius Vikhammer
0bcee8518b fix(freertos): split idf_additions.c event groups to separate file 2024-08-09 11:19:40 +08:00
Armando
7231a6388b feat(cache): supported cache panic on c61 2024-08-08 10:38:02 +08:00
Martin Vychodil
22be262fca fix(security): Fixed ESP32S3 Memprot RTCFAST code-execution test 2024-08-06 20:54:35 +02:00
Jakob Hasse
e565224149 feat(bootloader_support): added bootloader_support mocks 2024-08-06 11:03:55 +02:00
nilesh.kale
849726a3b7 feat: enable secure boot feature for esp32c61 2024-08-05 09:23:27 +05:30
xuxiao
a397d31162 fix(wifi): add comments for the new API and fix code comments 2024-07-26 10:50:55 +08:00
xuxiao
a481b6c78d fix(wifi): fix code comments 2024-07-24 18:03:42 +08:00
xuxiao
c6104388aa feat(wifi): add wifi support for esp32c5 mp 2024-07-24 18:03:40 +08:00
Mahavir Jain
10d85a0279 Merge branch 'feature/add_compiler_no_merge_constants' into 'master'
feat: add compiler config for not merging const sections

See merge request espressif/esp-idf!32077
2024-07-17 13:46:50 +08:00
wanlei
3cf069c7d8 feat(esp32c61): disable unsupported build test 2024-07-16 16:06:19 +08:00
Ivan Grokhotkov
d146fb5b84 Merge branch 'bugfix/build_with_clang' into 'master'
fix build errors with clang

Closes IDFGH-13238

See merge request espressif/esp-idf!32099
2024-07-15 21:40:40 +08:00
Mahavir Jain
3dc80527ab
feat: add compiler config for not merging const sections
Probably GCC-13.x and on-wards uses "-fmerge-constants" to merge
the const section (string/floating-point) across compilation units.
This makes it difficult to properly analyze the size output of rodata
section across libraries, the merged section (big in size) is showed
across a single library.

The config option added here can help to disable this compiler behavior
and help to provide better size analysis. It can be used during
development phase only as it increases rodata section size.
2024-07-15 10:04:55 +05:30
Ivan Grokhotkov
6c2824bdaa
ci(clang): include all components in clang_build_test 2024-07-12 13:58:18 +02:00
Armando
564b74a9c0 feat(cache): supported cache panic on p4 2024-07-12 12:42:10 +08:00
Marius Vikhammer
b3e418d12e Merge branch 'bugfix/core_c5_tests' into 'master'
test(core): fixed mixed failing C5 core-system tests

Closes IDF-10312, IDF-10344, IDF-10337, and IDF-10302

See merge request espressif/esp-idf!31896
2024-07-11 09:53:02 +08:00
Marius Vikhammer
f1719307d6 ci(g1_g0): added CI check for detecting new dependencies in g1/g0 2024-07-11 09:33:59 +08:00
Marius Vikhammer
a2da404e1d test(intr): fix intr dump test on C5 2024-07-11 09:33:04 +08:00
Fu Hanxi
6aeebbe712 Merge branch 'ci/use-esptool-instead-subprocess' into 'master'
ci: replace subprocess with esptool

Closes IDFCI-2167

See merge request espressif/esp-idf!31270
2024-07-10 09:42:59 +08:00
Marius Vikhammer
6042887eb3 change(core): update G1 dependencies descriptions 2024-07-08 11:43:41 +08:00
laokaiyao
cb22b8aaf7 ci(esp32c5): enable c5 target test 2024-07-02 16:45:49 +08:00
Marius Vikhammer
be05548666 Merge branch 'ci/esp_intr_dump_qemu_timeout' into 'master'
ci(qemu): increase timeout for esp_intr_dump test

Closes IDFCI-2225

See merge request espressif/esp-idf!31732
2024-06-28 14:24:20 +08:00
Marius Vikhammer
0a57b255d2 ci(qemu): increase timeout for esp_intr_dump test 2024-06-25 19:26:50 +08:00
harshal.patil
bd4e48d0d9
feat(cpu): Configure panic exception generation using asm illegal instruction 2024-06-25 11:55:24 +05:30
morris
466f54e375
fix(i2c_lcd): using function overloading to keep esp_lcd_new_panel_io_i2c
becuase _Generic is not available in C++

Closes https://github.com/espressif/esp-idf/issues/14037
2024-06-23 21:57:36 +08:00
morris
478a8b5dd6
fix(lcd): build errors with deprecated lcd types in cpp
Closes https://github.com/espressif/esp-idf/issues/14029
2024-06-23 21:54:26 +08:00
Alexey Lapshin
e863e6069c Merge branch 'feat/enable-gdbstub-test-for-p4' into 'master'
feat(gdbstub): enable test for esp32p4

Closes IDF-8992 and IDF-7510

See merge request espressif/esp-idf!31479
2024-06-21 15:55:48 +08:00
Marc Finet
9456c157ff feat(build): Add config to disable warn be considered as errors
The -Werror=all activates error for all warnings in -Wall, however, it
does not activate error for other default warnings, such as:
- int-conversion (pointer from integer w/o a cast)
- incompatible-pointer-types
- discarded-qualifiers

Which are IMO even more important that -Wall.

This commit fixes that by activating error for all warnings (i.e. from
-Wall and default ones) and removing those from -Wextra, as the culprit
commit seemed to address.

Fixes: 60f29236f6 "Build system: Raise warning level" (2016-11-16)

In order to avoid long analysis during esp-idf upgrade, provide a way to
restore the previous -Werror=all behavior that consider only warnings
from -Wall (and not default ones).

Also add a hint to use the Kconfig option on compilation error, but warn
that fixing the code is the preferred way.

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

Suggested-By: Ivan Grokhotkov <ivan@espressif.com>
2024-06-20 14:43:26 +08:00
Alexey Lapshin
22c4ee05b0 feat(gdbstub): enable test for esp32p4 2024-06-13 13:21:47 +07:00
harshal.patil
a8f509f481
fix(esp_hw_support): Fix incorrect PMA configuration for ESP32-P4
- As the PMA entry that made some memory regions cacheable was
assigned the highest priority, some intermediate inaccessible
memory regions bypassed protection.

- Added tests for the same

- Verified that even after changing the priority of the PMA entry,
a write operation at SOC_IRAM_LOW + 0x40 (a random RAM cached address)
still needs the same number (29) of CPU cycles.
2024-06-10 11:55:58 +05:30