Darian
61639fe1ec
Merge branch 'refactor/freertos_remove_legacy_types' into 'master'
...
FreeRTOS: Remove usage of legacy data types
Closes IDF-4566
See merge request espressif/esp-idf!16680
2022-02-10 04:57:00 +00:00
Song Ruo Jing
40d1102ca5
Merge branch 'bugfix/cpu_reset_perip_clk_disable' into 'master'
...
esp_system: change range comparsion for reset reason to specifc cpu reset reason comparison
See merge request espressif/esp-idf!15492
2022-02-10 03:44:15 +00:00
Darian Leung
57fd78f5ba
freertos: Remove legacy data types
...
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
2022-02-09 23:05:45 +08:00
songruojing
c1dedb33fa
esp_system: replace the range comparsion for reset reason in perip clk init with specific reset reason check, also add a test case in LEDC to check for the perip clk not being disabled after cpu reset
2022-02-09 15:54:34 +08:00
morris
ef00bd59dc
esp_rom: extract int matrix route and cpu ticks getter
2022-02-09 13:52:20 +08:00
Marius Vikhammer
0ffeaf9350
Merge branch 'feature/confgen_rename_many_to_one' into 'master'
...
kconfig: update confgen to handle sdkconfig.rename with target specific markup
Closes IDF-4544
See merge request espressif/esp-idf!16949
2022-02-08 02:38:22 +00:00
Darian Leung
3336b057d6
xtensa: Move saving of a0 register to match upstream
...
Upstream xtensa exception handling will save PS, PC, and a0 registers
together when saving a minimal context. This commit ppdates the xtensa
exception handling to match upstream behavior.
2022-02-03 17:08:14 +08:00
Marius Vikhammer
23c55946a6
kconfig: also parse target specific sdkconfig.rename.TARGET files
...
Adds functionality for target specific sdkconfig.rename files which can be
used when certain renames are only needed for a specific target.
2022-01-31 11:36:08 +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
laokaiyao
cf049e15ed
esp8684: rename target to esp32c2
2022-01-19 11:08:57 +08:00
Zim Kalinowski
d0890037c5
Merge branch 'feature/esp_ipc_isr_init_in_ipc_task' into 'master'
...
esp_system: ipc_isr does not use its own initialization task, it is done from ipc_task()
See merge request espressif/esp-idf!16495
2022-01-18 00:54:37 +00:00
Ivan Grokhotkov
876f4d6a1c
vfs: add support for semihosting on ESP32-C3
2022-01-14 17:29:03 +01:00
KonstantinKondrashov
f49787ac9f
esp_system: ipc_isr does not use its own initialization task, it is done from ipc_task()
...
It helps to reduce the memory usage at startup.
Closes https://github.com/espressif/esp-idf/issues/8111
2022-01-13 21:28:08 +08:00
Armando
7240ad2b3a
psram: refactor spiram.c on esp32s2
2022-01-13 11:07:57 +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
Cao Sen Miao
3a4db97cec
spi_flash: move patch files to common rom patch folder
2021-12-30 14:05:12 +08:00
Cao Sen Miao
3dd1cfea18
spi_flash: refactor spi_flash.h to decline duplicated code
2021-12-30 14:05:12 +08:00
Sudeep Mohanty
e22b4007d3
esp_hw_support: Removed deprecated CPU util functions
...
The following files were deleted:
- components/esp_hw_support/include/soc/cpu.h
- components/soc/esp32s3/include/soc/cpu.h
The following functions are deprecated:
- get_sp()
The following functions declared in soc/cpu.h are now moved to esp_cpu.h:
- esp_cpu_configure_region_protection()
The following functions declared in soc/cpu.h are now moved to components/xtensa/include/esp_cpu_utils.h:
- esp_cpu_process_stack_pc()
All files with soc/cpu.h inclusion are updated to include esp_cpu.h instead.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-12-28 16:58:37 +05:30
morris
0afafb743d
Merge branch 'bugfix/app_compatible_with_3_1_bootloader' into 'master'
...
esp_system: Fix RTC_WDT protection in esp_restart_noos
See merge request espressif/esp-idf!16480
2021-12-24 03:43:52 +00:00
Martin Vychodil
16891e7a6c
System: fix RTCFAST section alignment
...
This bugfix contains 3 fixes:
1. .rtc_dummy section is removed (not needed for C3)
2. .rtc_text section is padded with 16B for possible CPU prefetch
3. .rtc_text section is aligned to 4B boundary to comply with PMS Memprot requirements
2021-12-23 19:58:39 +08:00
KonstantinKondrashov
ff96769b0e
esp_system: Fix RTC_WDT protection in esp_restart_noos
...
Fixed issue - v4.3 app not compatible with 3.1 bootloader
2021-12-21 14:48:14 +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
Ivan Grokhotkov
5b3b5f006f
Merge branch 'feature/cmake_weak_deps_helper' into 'master'
...
cmake: add idf_component_optional_requires utility function, simplify some component dependencies
Closes IDF-3086
See merge request espressif/esp-idf!16373
2021-12-16 13:46:45 +00:00
Cao Sen Miao
e3d14858c7
rtc_clk: change clock source from xtal to pll on real board(ESP8684)
2021-12-15 12:21:11 +08:00
Ivan Grokhotkov
8df306ab60
freertos,esp_system: make dependencies on some components optional
...
Dependencies on gdbstub, espcoredump, app_trace will only be added
if these components are present in the build.
2021-12-13 18:39:49 +01:00
Cao Sen Miao
e81841318f
CI: Enable ESP8684 build stage CI on master
2021-12-13 19:18:47 +08:00
Cao Sen Miao
7f0a746e6a
move brownout trax cache_int_err to private folder
2021-11-26 18:27:53 +08:00
Cao Sen Miao
c794808297
cache_err_int: delete old headers
2021-11-26 14:56:30 +08:00
Cao Sen Miao
eddc196081
esp_clk: refactor target/clk.h to private/esp_clk.h
2021-11-26 14:56:30 +08:00
Michael (XIAO Xufeng)
c4310fb0db
Merge branch 'feature/add_h2_beta2_target_support' into 'master'
...
esp32h2: Add support for esp32h2 beta2 version
Closes IDF-4230
See merge request espressif/esp-idf!15630
2021-11-26 03:56:01 +00:00
Alexey Gerenkov
47921a1588
Merge branch 'bugfix/app_trace_tmo_init' into 'master'
...
startup: init timer before calling esp_apptrace_tmo_init
See merge request espressif/esp-idf!16084
2021-11-25 19:35:46 +00:00
Marius Vikhammer
93afdea821
Merge branch 'bugfix/s3_rtc_ram_deepsleep_test' into 'master'
...
ci: fix "can set sleep wake stub from stack in RTC RAM" test case failure
Closes IDFCI-137
See merge request espressif/esp-idf!16116
2021-11-25 04:15:52 +00:00
Marius Vikhammer
469d047aeb
ci: fix "can set sleep wake stub from stack in RTC RAM" test case failure
...
"can set sleep wake stub from stack in RTC RAM" would randomly fail on S3 due to stack overflow.
Fixed wrong usage of stack size and slightly increased it.
2021-11-25 10:25:59 +08:00
laokaiyao
f21020ce04
esp32h2: update reg and struct for beta2
2021-11-24 12:34:17 +08:00
wuzhenghui
388615add0
update esp32h2beta2 chip_id to 14
2021-11-24 12:30:43 +08:00
Erhan Kurubas
4741682c50
startup: timer_early_init before calling esp_apptrace_tmo_init
2021-11-24 01:43:15 +01:00
Sudeep Mohanty
722a6b7cf4
docs: update programming guide for esp32s3 chip independent system chapters
...
This commit updates the chip independent system chapters of the
programming guide for esp32s3.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-11-23 12:48:10 +05:30
KonstantinKondrashov
209702d055
esp_ipc: Update documentation and API descriptions
...
This commit updates the documentation and API descriptions of
the esp_ipc and esp_ipc_isr features.
2021-11-18 21:34:50 +08:00
morris
2e008825a9
Merge branch 'feat/rm_makefiles' into 'master'
...
Build & config: Remove leftover files from the unsupported make build system
Closes IDF-4273 and IDF-2827
See merge request espressif/esp-idf!15829
2021-11-16 03:44:41 +00:00
morris
207891ef6c
clk: fix esp32h2 print wrong CPU frequency
2021-11-15 17:40:51 +08:00
Li Shuai
37e1e9c540
Merge branch 'bugfix/memory_region_define_rtc_fast' into 'master'
...
substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC
Closes WIFI-4115
See merge request espressif/esp-idf!15743
2021-11-15 02:34:35 +00:00
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
Omar Chebib
9d5923a13e
IPC: Move ipc sources to esp_system
...
IPC shall be put back into esp_system as it is an 'OS additions'.
2021-11-11 10:30:01 +08:00
morris
16677b0d3c
global: make periph enable/disable APIs private
...
peripheral enable/disable usually should be managed by driver itself,
so make it as espressif private APIs, not recommended for user to use it
in application code.
However, if user want to re-write the driver or ports to other platform,
this is still possible by including the header in this way:
"esp_private/peripheral_ctrl.h"
2021-11-08 10:37:47 +08:00
Cao Sen Miao
09487761cf
ESP8684: add freertos, hal, esp_system support
2021-11-06 17:33:44 +08:00
Alexey Gerenkov
bb9cd84cdc
debug_stubs: Refactor and add support for RISCV
2021-11-04 01:33:24 +03:00
Cao Sen Miao
adfb7bed96
vfs_usb_serial: set secondary selection for making usb port can output under default menu
2021-11-01 15:48:36 +08:00
Li Shuai
9ac58e32a2
substract rtc_iram_seg memory region size from ESP_BOOTLOADER_RESERVE_RTC
2021-10-29 21:24:09 +08:00
Martin Vychodil
dffb92e45f
System/Security: wrong check of the Memprot feature in esp_restart()/panic_restart()
...
esp_restart()/panic_restart() never resets the Digital system (so far required only by the Memprot feature) as there's a typo in the corresponding #define:
it checks CONFIG_ESP_SYSTEM_CONFIG_MEMPROT_FEATURE instead of CONFIG_ESP_SYSTEM_MEMPROT_FEATURE.
Issue fixed.
IDF-4094
2021-10-29 16:28:28 +08:00
Ivan Grokhotkov
249abb3fe8
esp_timer: allow querying the timer before esp_timer_init is called
2021-10-26 19:07:34 +08:00