Darian Leung
9968a48c36
refactor(freertos/task_snapshot): Make task snapshot private
...
Task snapshot API were never intended to be called from user code. This commit
makes task snapshot a private API thus moves `#include "freertos/task_snapshot.h"`
to `#include "esp_private/freertos_debug.h"`.
Task snapshot related Kconfig options have also been hidden.
Note: Added 'freertos_common' mapping to ldgen mapping execptions lists due to
inlining of 'freertos_debug.h' functions.
2023-10-07 13:14:55 +08:00
Konstantin Kondrashov
3166056078
Merge branch 'bugfix/log_mixing_at_startup' into 'master'
...
fix(esp_system): Fixes mixing logs when two cores use esp_rom_printf
Closes IDF-7891
See merge request espressif/esp-idf!25996
2023-10-05 21:06:14 +08:00
KonstantinKondrashov
28b8a5d9b4
fix(esp_system): Fix mixing logs, remove early info logs for 2nd CPU
...
Fixes mixing logs when two cores use esp_rom_printf
2023-10-02 12:50:40 +00:00
Mahavir Jain
be2c591129
fix(startup): flip the security configuration check order
...
For cases where the bootloader is not enabled with the security features
ends up receiving an incorrect application with flash encryption enabled
should not really program any security efuses.
In the startup sequence, we first used to program the ROM DL mode
configuration but now we check for the flash encryption related checks
first. If the flash encryption related checks finds that flash
encryption is not enabled on the device then it aborts the boot process.
This is the case with `CONFIG_SECURE_FLASH_CHECK_ENC_EN_IN_APP` enabled.
This would at-least ensure that accidental program of security enabled
application does not really program any ROM DL mode efuses and there is
chance to recover the device.
2023-09-29 03:44:00 +00:00
Armando (Dou Yiwen)
b58a2ea6a6
Merge branch 'feature/support_cache_p4' into 'master'
...
cache: support cache driver on esp32p4
Closes IDF-7516
See merge request espressif/esp-idf!25490
2023-09-25 15:21:46 +08:00
Armando
ec27891af6
change(cache): swap cache hal arg 'type' and 'level'
2023-09-22 14:19:41 +08:00
Armando
ea38a2e9a4
feat(cache): support cache driver on esp32p4
2023-09-22 14:19:41 +08:00
Chen Yudong
2e11919f70
fix(ci): change build-test-rules files folder
2023-09-20 19:17:06 +08:00
KonstantinKondrashov
7a878bdc50
feat(esp_system): Support IPC_ISR for ESP32P4
2023-09-15 23:38:12 +08:00
Marius Vikhammer
e58becec0a
feat(esp-system): support reset reasons on P4
2023-09-15 08:11:34 +08:00
Wu Zheng Hui
2319f2a59e
Merge branch 'bugfix/suppress_compiler_warning_if_silent_reboot_is_enabled' into 'master'
...
fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled
See merge request espressif/esp-idf!25909
2023-09-13 10:45:31 +08:00
Marius Vikhammer
573404b328
Merge branch 'bugfix/use_xtal_for_c3_wdt' into 'master'
...
fix(wdt): changed ESP32-C3 WDT to use XTAL as clock
Closes IDF-6729
See merge request espressif/esp-idf!25867
2023-09-13 10:44:38 +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
Marius Vikhammer
ca99f55316
fix(wdt): changed ESP32-C3 WDT to use XTAL as clock
...
This clock is unchanged even when CPU/APB frequency changes (e.g. due to esp_pm),
which means timeout period is correct even after such a change.
2023-09-08 15:12:21 +08:00
Armando (Dou Yiwen)
bdfa91ab66
Merge branch 'change/delete_not_used_mmu_macros' into 'master'
...
mm: delete not used mmu macros and added soc_ prefix
Closes IDF-7686
See merge request espressif/esp-idf!25663
2023-09-06 11:59:03 +08:00
Marius Vikhammer
0a630831a7
Merge branch 'feature/move_wdt_defines_to_ll' into 'master'
...
fix(wdt): move non-auto generated wdt values to ll
See merge request espressif/esp-idf!25757
2023-09-06 10:12:43 +08:00
Armando
cbe4470a1b
change(soc): remove no longer used mmu.h on p4
2023-09-05 15:47:26 +08:00
Armando
de77ab3061
change(soc): added SOC_ prefix to mmu defs
2023-09-05 15:47:26 +08:00
Marius Vikhammer
e3861261eb
fix(wdt): move non-auto generated wdt values to ll
2023-09-05 11:52:34 +08:00
Jiang Jiang Jian
104d50d442
Merge branch 'feature/improve_c6_iperf_performance' into 'master'
...
feat(wifi): optimize esp32c6 iperf performance
See merge request espressif/esp-idf!25020
2023-09-04 14:34:54 +08:00
Xu Xiao
8847eeec0c
feat(wifi): optimize esp32c6 iperf performance
2023-09-04 14:34:54 +08:00
Sudeep Mohanty
5cd989f23b
fix(interrupts): Cleanup pending tags in the code base regarding interrupt vectors
2023-09-01 17:18:39 +08:00
Omar Chebib
d3afca3020
Merge branch 'fix/esp32p4_supports_interrupts' into 'master'
...
feat(riscv): Add support to ESP32-P4's CLIC interrupt controller
Closes IDF-7795 and IDF-7793
See merge request espressif/esp-idf!25383
2023-09-01 11:48:39 +08:00
Song Ruo Jing
91aab6bda0
Merge branch 'feature/add_uart_iram_safe_check' into 'master'
...
feat(uart): Add sdkconfig.ci.iram_safe test for UART driver
See merge request espressif/esp-idf!25618
2023-08-31 12:57:46 +08:00
Omar Chebib
8ca191e4c1
fix(esp32p4): Fixed interrupt handling to use the CLIC controller
2023-08-31 12:16:08 +08:00
Song Ruo Jing
767698b90d
feat(uart): Add sdkconfig.ci.iram_safe test for UART driver
2023-08-30 11:30:03 +08:00
Marius Vikhammer
73954ab9e8
feat(esp-system): moved common arch files out to common cmakelist
2023-08-29 16:14:43 +08:00
Darian Leung
659ec67967
refactor(freertos): Remove option for Task Snapshot
...
Previously, Task Snapshot could be conditionally built based on the
CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT option. However, there is no overhead
with always enabling Task Snapshot functions, as the linker will remove any
functions if they are not called.
This commit...
- removes all ESP-IDF dependencies on the CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT
option so that Task Snapshot functions are always available.
- Makes CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT a hidden option to maintain
compatibility with user code.
- adds documentation regarding Task Snapshot.
2023-08-28 20:11:27 +08:00
Roland Dobai
2fbb63124f
Merge branch 'feature/coredump_panic_details' into 'master'
...
feat(coredump): add panic details to the elf file
Closes IDF-7788 and IDF-7789
See merge request espressif/esp-idf!25198
2023-08-28 13:05:58 +08:00
Erhan Kurubas
4714521b21
feat(coredump): add panic details to the elf file
2023-08-24 10:20:56 +02:00
Armando
6f412393b6
change(ci): add todo to p4 build test enable
2023-08-24 12:51:19 +08:00
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
morris
71cf16ec01
feat(gptimer): use RCC atomic block to enable/reset peripheral
2023-08-22 17:05:35 +08:00
Armando (Dou Yiwen)
5a81e00633
Merge branch 'feature/support_mmu_on_p4' into 'master'
...
mm: mmu support on p4
Closes IDF-7509
See merge request espressif/esp-idf!25121
2023-08-15 14:25:31 +08:00
Michael (XIAO Xufeng)
8845767bc0
Merge branch 'feat/sub_power_modes_docs' into 'master'
...
sleep_modes: add docs and test app for sub power modes on S2, S3, C2, C3.
See merge request espressif/esp-idf!23142
2023-08-15 10:57:48 +08:00
Armando
d97b3fec67
fix(rtc): fix .rtc_timer_data_in_rtc_mem wrongly in flash issue
2023-08-15 10:17:03 +08:00
Armando (Dou Yiwen)
337aeb4b78
Merge branch 'feature/add_esp32p4_hello_world' into 'master'
...
esp32p4: introduced new chip ESP32P4: Hello World! 🌏
Closes IDF-7523
See merge request espressif/esp-idf!25013
2023-08-10 16:04:55 +08:00
Armando
aa245489fb
change(bootloader): added address check in bootloader.ld
2023-08-09 19:33:26 +08:00
Armando
706d684418
feat(esp32p4): introduced new target esp32p4, supported hello_world
2023-08-09 19:33:25 +08:00
Jakob Hasse
44e4ef79e2
fix(esp_system): Fixed C++ compilation of libunwind.h
2023-08-09 16:17:08 +08:00
Xiao Xufeng
5ee8add38c
refactor(esp_hw_support): Move rtc_8md256 and rtc_power_modes test apps to esp_hw_support
2023-08-09 14:57:57 +08:00
Alexey Lapshin
a120ea823e
Merge branch 'contrib/github_pr_11569' into 'master'
...
[GDBStub] kconfig gdbstub runtime should be separate bool (GitHub PR)
Closes IDF-7846 and IDFGH-10309
See merge request espressif/esp-idf!24775
2023-08-02 07:50:47 +08:00
Darian
84eedefca2
Merge branch 'refactor/freertos_port_types_usage' into 'master'
...
FreeRTOS: Remove usage of portXXX_TYPE
See merge request espressif/esp-idf!25107
2023-08-01 19:57:32 +08:00
Alexey Lapshin
47e400c296
feature(gdbstub): Move runtime gdbstub out of panic config
...
Closes https://github.com/espressif/esp-idf/pull/11569
2023-08-01 14:28:07 +04:00
Lou Tian Hao
3b14a9d58e
Merge branch 'support/deep_sleep_test_for_esp32h2' into 'master'
...
Support: enable CI test for esp32h2 deep_sleep
Closes IDF-7838
See merge request espressif/esp-idf!25002
2023-08-01 17:37:10 +08:00
Darian Leung
6fc935e584
refactor(freertos): Refactor usage of portBASE_TYPE to BaseType_t
...
portBASE_TYPE is an internal macro defined by the porting layer. This commit
changes all references to BaseType_t which is the official type exposed by
FreeRTOS.
2023-07-31 17:10:34 +02:00
Alexey Lapshin
5f07ed87f6
Merge branch 'fix/esp32c2-gdbstub-runtime' into 'master'
...
fix(freertos): enable esp32c2 runtime-gdbstub
See merge request espressif/esp-idf!24858
2023-07-28 15:41:07 +08:00
Lou Tianhao
34b269fb03
remove(pm/deep_sleep): enable CI test for esp32h2 deepsleep
2023-07-27 12:11:35 +08:00
morris
9cd16a8f95
feat(gptimer): driver support on esp32p4
2023-07-26 19:27:49 +08:00
Armando
e8bbb490ec
feat(cache): added cache init configurations on p4
2023-07-25 05:59:10 +00:00
Armando
756c36504a
feat(tcm): added tcm basic support on esp32p4
2023-07-25 05:59:10 +00:00
Armando
a336b94527
feat(esp_system): base support on p4
2023-07-25 05:59:10 +00:00
Armando
ecf1461f1c
feat(panic): base support on p4
2023-07-25 05:59:10 +00:00
Armando
e11b154c99
feat(interrupt): mtvt, mtvec base support on p4
2023-07-25 05:59:10 +00:00
Armando
bc182ef010
feat(brc_predictor): p4 base support for branch predictor
2023-07-25 05:59:10 +00:00
Lou Tianhao
0d30bbe855
change(pm/deepsleep): rewrite the option all low as any low for esp32s2, esp32s3, esp32c6 and esp32h2
2023-07-21 20:44:15 +08:00
Lou Tianhao
dcacd8cdf8
feat(pm/deepsleep): Support deep_sleep example and deep_sleep_wake_stub example for esp32h2
2023-07-20 11:43:57 +08:00
morris
fb7cc00378
Merge branch 'refactor/reorganize_the_interrupt_description_files' into 'master'
...
refactor(interrupt): Put the interrupts definitions in soc/interrupts.h
Closes IDF-5776
See merge request espressif/esp-idf!24578
2023-07-19 12:05:56 +08:00
Alexey Lapshin
99ac68246e
fix(freertos): enable esp32c2 runtime-gdbstub
2023-07-18 12:15:33 +04:00
Chen Jichang
304c7572a6
refactor(interrupt):put the interrupts definitions in soc/interrupts.h
...
Now the soc interrupts definitions are scattered around in the esp-idf
which are out of sync. Put interrupts definitions in soc/periph_defs.h
(!ESP32) or soc/soc.h(ESP32) together in soc/interrupts.h.
2023-07-17 19:31:56 +08:00
wuzhenghui
797efb1dd3
ci: add pd_vddsdio in lightsleep UT tests
...
- Add pd_vddsdio in lightsleep UT tests to ensure proper functionality
2023-07-14 21:21:23 +08:00
Alexey Lapshin
4df3ff619e
feat(esp_system): implement hw stack guard for riscv chips
...
- add hardware stack guard based on assist-debug module
- enable hardware stack guard by default
- disable hardware stack guard for freertos ci.release test
- refactor rtos_int_enter/rtos_int_exit to change SP register inside them
- fix panic_reason.h header for RISC-V
- update docs to include information about the new feature
2023-07-01 16:27:40 +00:00
Lou Tian Hao
7c2ac1feb6
Merge branch 'bringup/esp32h2_light_sleep_for_rebase' into 'master'
...
esp32h2: support light_sleep
Closes IDF-6266 and IDF-7359
See merge request espressif/esp-idf!23567
2023-06-28 10:37:18 +08:00
Martin Vychodil
65bc1ed055
System: remove digital-system reset within OS restart when Memprot on
2023-06-26 20:22:59 +02:00
Lou Tianhao
b5a293ab69
Power Management: support RC32K or Crystal32K powered down
2023-06-26 21:05:16 +08:00
Lou Tianhao
7fd74057a3
example: bringup light sleep example for esp32h2
2023-06-26 21:05:16 +08:00
Lou Tianhao
63d32ab620
Power Management: support DFS and PMU feature for esp32h2
2023-06-26 20:57:55 +08:00
Armando
c448597f24
kconfig: introduced CONFIG_IDF_ENV_BRINGUP for new chip bringup usage
2023-06-26 03:30:23 +00:00
wuzhenghui
6fe405bffc
ci: fix failed ci test jobs
2023-06-21 15:24:50 +08:00
Krzysztof Budzynski
8d64cbc422
Merge branch 'docs/update_comment_of_idle_core_mask' into 'master'
...
docs: update comment of member idle_core_mask
See merge request espressif/esp-idf!24043
2023-06-19 10:46:10 +08:00
Song Ruo Jing
921713fff4
uart: Support LP_UART port with UART driver on esp32c6
2023-06-16 07:31:40 +00:00
Armando (Dou Yiwen)
17d6768e65
Merge branch 'feature/add_target_esp32p4' into 'master'
...
esp32p4: introduce the target
See merge request espressif/esp-idf!24155
2023-06-14 10:16:44 +08:00
Marius Vikhammer
86c5b437b5
Merge branch 'ci/trim_test_apps' into 'master'
...
core-system: limit build components for core-system test apps
Closes IDF-7092
See merge request espressif/esp-idf!24167
2023-06-13 15:31:00 +08:00
Armando
101e6a18eb
esp32p4: introduce the target
...
Add esp32p4 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32p4`
2023-06-13 15:16:11 +08:00
Marius Vikhammer
6d11c37ff1
core-system: trim build components for core-system test apps
2023-06-13 09:14:42 +08:00
Linda
ab14c1dd80
docs: update comment of member idle_core_mask
2023-06-12 14:09:02 +08:00
Konstantin Kondrashov
f875978fb3
Merge branch 'bugfix/incorrect_time_after_ota' into 'master'
...
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around
Closes IDFGH-7930
See merge request espressif/esp-idf!23030
2023-06-09 00:30:52 +08:00
KonstantinKondrashov
cb6e2133f0
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around
...
The commit fixes the case:
If variables in RTC RAM have been moved around by the linker,
they will be filled with garbage data. Any reset other than OTA would work fine
because the variables would still be initialized from the initial bootup.
So now system time will be valid even after OTA.
Closes https://github.com/espressif/esp-idf/issues/9448
2023-06-08 21:59:21 +08:00
Zim Kalinowski
a4bb596d63
Merge branch 'feature/esp_ipc_isr_fix' into 'master'
...
esp_system: Fix a race-condition in esp_ipc_isr (in QEMU env)
Closes IDFGH-10179
See merge request espressif/esp-idf!23866
2023-05-24 23:17:37 +08:00
Paul Guyot
ceb121fd57
esp_system: Fix a race-condition in esp_ipc_isr (in QEMU env)
...
The race condition is very unlikely on real hardware but can be observed with
qemu under heavy load.
Also add missing `memw` instructions which are generated by the C compiler but
absent in the assembly code.
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/11447
Closes https://github.com/espressif/esp-idf/issues/11433
2023-05-24 19:08:29 +08:00
laokaiyao
ffb40a89d9
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-05-23 22:44:25 +08:00
KonstantinKondrashov
b605404b06
esp_app_format: IRAM space optimization
2023-05-17 23:40:59 +08:00
Zim Kalinowski
dc7ff8676c
Merge branch 'feature/libunwind_backtracing' into 'master'
...
System: implement libunwind library for RISC-V backtracing
Closes IDFGH-6189
See merge request espressif/esp-idf!18147
2023-05-16 14:19:16 +08:00
Omar Chebib
eeaa40f71d
System: implement libunwind library for RISC-V backtracing
...
Closes https://github.com/espressif/esp-idf/issues/7866
A minimal x86 implementation has also been added, it is used to perform a host test.
2023-05-15 11:19:03 +08:00
Marius Vikhammer
a0be5e9ebf
Merge branch 'bugfix/c2_wdt_reset_reason' into 'master'
...
wdt: fix IWDT reset reason for esp32c2
Closes IDF-3843 and IDF-5059
See merge request espressif/esp-idf!23722
2023-05-15 10:17:47 +08:00
Marius Vikhammer
2272509978
ci: re-enable reset reason tests for all targets except H2.
2023-05-12 19:00:27 +08:00
Marius Vikhammer
9eadb6b12a
esp-system: fixed int WDT reset reason being reported as task WDT on C2
2023-05-12 18:32:24 +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
Zim Kalinowski
a495f4729b
Merge branch 'ci/fix_system_invalid_kconfigs' into 'master'
...
ci: fix invalid kconfig options in system test apps
See merge request espressif/esp-idf!23582
2023-05-10 01:38:46 +08:00
morris
06b1e10273
Merge branch 'feature/reset_mcpwm_in_restart' into 'master'
...
mcpwm: reset peripheral in restart, panic and halt
Closes IDFGH-10047
See merge request espressif/esp-idf!23591
2023-05-09 16:44:55 +08:00
Marius Vikhammer
a300b3eb81
ci: fix invalid kconfig options in system test apps
2023-05-09 11:27:55 +08:00
morris
083d9e7c0f
mcpwm: reset peripheral in restart, panic and halt
...
mcpwm is commonly used in power eletronic area, when restart happens,
make sure the mcpwm generator is not working.
closes https://github.com/espressif/esp-idf/issues/11324
2023-05-06 15:58:58 +08:00
Armando
dbf3612d6d
spi_flash: replace flash clock src change API with mspi timing API
2023-05-04 17:05:35 +08:00
Marius Vikhammer
1a5e47bd07
ci: fixed test apps overriding pytest configs
2023-04-26 11:07:35 +08:00
Kevin (Lao Kaiyao)
6b5077f2d7
Merge branch 'refactor/remove_esp32h4_target' into 'master'
...
esp32h4: removed esp32h4 target (stage 2)
Closes IDF-7237, IDF-7238, and IDF-7239
See merge request espressif/esp-idf!23179
2023-04-24 23:34:19 +08:00
laokaiyao
49f16eefbb
esp32h4: checked all the corner stuffs of the removal
2023-04-23 12:03:07 +00:00
laokaiyao
bf2a7b2df6
esp32h4: removed esp32h4 related codes
2023-04-23 12:03:07 +00:00
laokaiyao
b16ed57b2e
esp32h4: removed esp32h4 related files
2023-04-23 12:03:07 +00:00
KonstantinKondrashov
a622ac43eb
esp_system (C6 & H2): Enables BOOTLOADER_RESERVE_RTC_MEM feature for bootloader
...
This option reserves an area in RTC FAST memory for the following features:
- "Skip image validation when exiting deep sleep"
- "Reserve RTC FAST memory for custom purposes"
- "GPIO triggers factory reset"
2023-04-21 21:09:10 +08:00
Cao Sen Miao
a3d962d89a
brownout: Disable the hardware BOD when BOD interrupt is enabled
2023-04-21 10:22:59 +08:00
morris
d2473d0662
Merge branch 'feature/esp_rom_update_cpu_freq' into 'master'
...
esp_rom: add common ROM API to update CPU tick rate
See merge request espressif/esp-idf!23266
2023-04-20 10:59:16 +08:00
Mahavir Jain
359da9ce63
Merge branch 'bugfix/efuse_hal_api_update' into 'master'
...
efuse: add efuse hal api
Closes IDF-7215
See merge request espressif/esp-idf!23217
2023-04-19 18:45:13 +08:00
morris
4123e611dc
esp_rom: add common ROM API to update CPU tick rate
2023-04-19 13:21:26 +08:00
Nebojsa Cvetkovic
67e9db7cf5
esp_system: Add reset reasons for USB_UART and USB_JTAG
...
Merges https://github.com/espressif/esp-idf/pull/10950
2023-04-19 10:09:19 +08:00
Ivan Grokhotkov
274fa56e71
Merge branch 'bugfix/esp32s3_usb_otg_console' into 'master'
...
system: support USB_OTG CDC console on ESP32-S3
Closes IDF-2048, IDF-2987, IDFGH-7134, IDFGH-7291, and IDFGH-7835
See merge request espressif/esp-idf!19312
2023-04-18 16:28:49 +08:00
Sachin Billore
c3e701588e
efuse: add efuse hal api
...
Closes IDF-7215
2023-04-18 13:47:00 +05:30
Marius Vikhammer
dcb8b719d3
docs: update CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM docs to better reflect the limitations
2023-04-13 10:45:38 +08:00
Ivan Grokhotkov
9924d9f271
esp_system: usb_console support for ESP32-S3
...
Closes https://github.com/espressif/esp-idf/issues/8879
Closes https://github.com/espressif/esp-idf/issues/8738
2023-04-12 11:17:41 +02:00
Ivan Grokhotkov
4a91ccf4ce
esp_rom: implement usb deinit functions added in S3 ROM for S2
...
This cleans up usb_console.c and prepares it for S3 support.
2023-04-12 11:08:43 +02:00
Ivan Grokhotkov
74fa41f434
esp_rom: add USB_OTG "port" number for S2 and S3
2023-04-12 11:08:42 +02:00
Marius Vikhammer
03c2c8db77
Merge branch 'feature/esp_sys_iram_cleanup' into 'master'
...
esp-system: move uncessary IRAM functions to flash
Closes IDF-7138 and IDF-7148
See merge request espressif/esp-idf!23121
2023-04-10 17:24:14 +08:00
Marius Vikhammer
db059b155a
esp-system: move uncessary IRAM functions to flash
2023-04-10 11:10:28 +08:00
Marius Vikhammer
5cbd311ecf
system: add kconfig option for using parts of SRAM1 for IRAM
...
Using parts of SRAM1 for IRAM allows apps with more statically allocated IRAM
Closes https://github.com/espressif/esp-idf/issues/9824
2023-04-07 07:12:58 +00:00
Jakob Hasse
dac64725af
esp_system, heap: increase host test timeout for CI
2023-04-06 10:23:44 +08:00
Konstantin Kondrashov
6c5a7da77c
Merge branch 'feature/unicore_bootloader_can_run_multicore_app' into 'master'
...
esp_system: Fix case when multicore app can not be run if bootloader is unicore
Closes IDFGH-9336
See merge request espressif/esp-idf!22664
2023-03-29 21:56:26 +08:00
Zim Kalinowski
ce9d466324
Merge branch 'bugfix/esp-system-ignored-warnings' into 'master'
...
esp_system: fixed and reenable no-format warnings
Closes IDF-6801
See merge request espressif/esp-idf!22710
2023-03-29 20:18:14 +08:00
Zim Kalinowski
e86864c621
Merge branch 'feature/unify_core_host_target_tests' into 'master'
...
ci: unify core host target tests
Closes IDF-6621, IDF-6622, IDF-6623, and IDF-6624
See merge request espressif/esp-idf!22944
2023-03-29 15:41:01 +08:00
Marius Vikhammer
2608c1ec1e
system: remove unused C2 cache kconfig option
2023-03-29 10:06:13 +08:00
KonstantinKondrashov
975c138fad
esp_system: Do not rely on bootloader cache settings, do cache settings unconditionally at startup app
...
It makes multicore app runnable by unicore bootloader
Closes https://github.com/espressif/esp-idf/issues/10714
2023-03-28 23:17:16 +08:00
Zim Kalinowski
fb7aafd348
esp_system: fix and reenable no-format warning
2023-03-28 13:42:44 +02:00
Marius Vikhammer
f627506f6b
ci: update driver tests to use run_all_single_board_cases()
2023-03-28 17:05:50 +08:00
Marius Vikhammer
a5c70c24e5
Merge branch 'bugfix/memprot_cleanup_iram_attr' into 'master'
...
memprot: move memprot functions out of IRAM
See merge request espressif/esp-idf!20697
2023-03-28 10:18:22 +08:00
Marius Vikhammer
914bb81b95
ci: move linux host tests to test app folder
2023-03-27 17:41:44 +08:00
Mahavir Jain
f1465c6ad8
Merge branch 'featue/factory_reset_state' into 'master'
...
bootloader_support: Adds API to detect Factory reset has happened
Closes IDFGH-9379
See merge request espressif/esp-idf!22822
2023-03-24 21:32:30 +08:00
Marius Vikhammer
783d8c20e3
system: enable stack smashing protection test
2023-03-23 14:27:34 +08:00
Mahavir Jain
86b6f87d68
Merge branch 'bugfix/ram_loadable_elf_flash_mmap_issue' into 'master'
...
Fix flash mmap data integrity issue for RAM loadable ELF case
See merge request espressif/esp-idf!22802
2023-03-23 12:13:35 +08:00
KonstantinKondrashov
efbafb873b
bootloader_support: Adds API to detect Factory reset has happened
...
Closes https://github.com/espressif/esp-idf/issues/10753
2023-03-22 02:21:54 +08:00
Michael (XIAO Xufeng)
dbbc1ba5be
Merge branch 'feat/merge_nuttx_patch' into 'master'
...
G0, G1: fix issues that prevents using G0/G1 components on other platforms
See merge request espressif/esp-idf!22521
2023-03-21 20:48:21 +08:00
Jiang Jiang Jian
fdea5289a2
Merge branch 'bugfix/static_ram_size' into 'master'
...
system: fixed USE_FIXED_STATIC_RAM_SIZE option
See merge request espressif/esp-idf!21368
2023-03-20 13:57:38 +08:00
Mahavir Jain
7b995355ba
startup: fix incorrect MMU configuration issue for the RAM loadable ELF
...
For RAM loadable ELF, entire firmware is running from RAM and hence the
IROM/DROM size must be treated as 0 (no cache mappings created for
code/rodata).
2023-03-20 11:12:06 +05:30
Jakob Hasse
7dbe9687f9
Merge branch 'bugfix/esp_shared_stack_watchpoint_setting' into 'master'
...
bugfix(esp_system): made watchpoint setting configuration-dependent
Closes IDFGH-9003
See merge request espressif/esp-idf!21738
2023-03-20 10:19:05 +08:00
Marius Vikhammer
43784e7a24
memprot: move memprot functions out of IRAM
...
Memprot functions are no longer placed by default in IRAM,
selecting ESP_PANIC_HANDLER_IRAM will still force panic related memprot
functions to be placed in IRAM.
2023-03-17 14:51:20 +08:00
Marius Vikhammer
585f05596b
system: fixed USE_FIXED_STATIC_RAM_SIZE option
...
The USE_FIXED_STATIC_RAM_SIZE was not actually causing the heap to start
at a fixed address.
Closes https://github.com/espressif/esp-idf/issues/10270
Closes https://github.com/espressif/esp-idf/issues/10271
2023-03-16 16:23:59 +08:00
Gustavo Henrique Nihei
3672144c9f
efuse: Remove dependency on bootloader component headers
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:21 +08:00
Armando
785bd812e9
cpu_start: move esp_rom_spiflash_attach earilier
...
esp_rom_spiflash_attach is called in cpu_start.c when it's
CONFIG_APP_BUILD_TYPE_RAM && !CONFIG_APP_BUILD_TYPE_PURE_RAM_APP.
This function will:
- reset MSPI
- configure MSPI IOs
- configure MSPI into slow read mode
Prior to this commit, this function is put quite late. It's OK for chips
earlier than C6. On C6 and H2, MMU registers are in SPI_MEM_x, so
resetting MSPI registers will also reset MMU registers.
After this commit, this funciton is called eariler, before
cpu_start.c: bootloader_init().
2023-03-15 10:59:20 +08:00
Mahavir Jain
72b7161612
Merge branch 'test/enable_esp_crt_bundle_tests_for_esp32h2' into 'master'
...
test: enable mbedtls esp_crt_bundle test for esp32h2
Closes IDF-6847
See merge request espressif/esp-idf!22725
2023-03-14 18:54:15 +08:00
harshal.patil
6b8bc64f31
test: enable mbedtls esp_crt_bundle test for esp32h2
2023-03-13 12:00:01 +05:30
Jakob Hasse
03bc6488de
bugfix(esp_system): made watchpoint setting configuration-dependent
...
esp_execute_shared_stack_function always restored the stack watchpoint
regardless of CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK. This would lead
to an abondoned but active watchpoint on a former stack once the task
calling esp_execute_shared_stack_function is deleted, if
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is inactive.
This has been fixed now.
Closes https://github.com/espressif/esp-idf/issues/10414
2023-03-13 14:24:15 +08:00
Cao Sen Miao
8b5f4f54fc
system: Clean up code, some single core chips have useless dual-core code
2023-03-13 10:27:57 +08:00
Konstantin Kondrashov
ed97d230c8
Merge branch 'ci/fix_ipc_tests' into 'master'
...
ipc: Mitigates and speeds up some ipc tests
Closes IDFCI-1638
See merge request espressif/esp-idf!22657
2023-03-10 21:48:00 +08:00
C.S.M
b0b99a9a1b
Merge branch 'feature/flash_support_h2' into 'master'
...
spi_flash: Allow clock frequency up to 64M on ESP32H2
See merge request espressif/esp-idf!22476
2023-03-10 19:13:03 +08:00
Cao Sen Miao
bc655a6890
spi_flash: Allow clock frequency up to 64M, and make it default on ESP32H2
2023-03-10 11:39:53 +08:00
Marius Vikhammer
dfedaa2b65
Merge branch 'feature/c6_ulp' into 'master'
...
ulp: added basic support for building and running a binary in the lp core
Closes IDF-6829 and IDF-6272
See merge request espressif/esp-idf!22554
2023-03-10 09:56:38 +08:00
KonstantinKondrashov
ced3c50cd6
ipc: Mitigates and speeds up some ipc tests
...
Test ipc_isr two tasks use IPC function calls
Test multiple ipc_calls
Closes IDFCI-1638
2023-03-09 17:08:45 +08:00
Marius Vikhammer
284dabf17f
ulp: added basic support for building and running a binary in the lp core
2023-03-09 10:12:23 +08:00
Jiang Guang Ming
fc9538c63d
Merge branch 'feature/add_more_pytest_config_to_flash_mmap' into 'master'
...
flash mmap: more config options for flash mmap test app
See merge request espressif/esp-idf!21991
2023-03-08 13:44:29 +08:00
jiangguangming
87f2eb9e2a
esp_rom: put rom cache related functions to cache.h
2023-03-07 14:51:24 +08:00
Konstantin Kondrashov
cf68a4c136
Merge branch 'feature/esp_timer_uses_shared_isr' into 'master'
...
esp_timer: Adds TASK and ISR AFFINITY to core options
Closes IDFGH-9053
See merge request espressif/esp-idf!21923
2023-03-07 13:38:23 +08:00
Jiang Jiang Jian
d1adc453b0
Merge branch 'bugfix/some_small_fix_for_sleep_examples' into 'master'
...
examples: some small fix for sleep examples
See merge request espressif/esp-idf!19052
2023-03-07 13:07:10 +08:00
jiangguangming
91b86f55d5
esp_system: use ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE instead of IDF_TARGET_XXX
2023-03-06 20:32:04 +08:00