Marius Vikhammer
45c1d1cba2
Merge branch 'feature/move_target_kconfig_2' into 'master'
...
system: move kconfig options out of target component
See merge request espressif/esp-idf!17321
2022-04-24 13:29:43 +08:00
Marius Vikhammer
d2872095f9
soc: moved kconfig options out of the target component.
...
Moved the following kconfig options out of the target component:
* CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
* ESP*_REV_MIN -> esp_hw_support
* ESP*_TIME_SYSCALL -> newlib
* ESP*_RTC_* -> esp_hw_support
Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
Armando (Dou Yiwen)
5bb59b00e7
Merge branch 'feature/support_bss_on_psram' into 'master'
...
psram: support .bss on psram on esp32s3
Closes IDF-4814, IDF-4396, IDFGH-7148, and IDFGH-7153
See merge request espressif/esp-idf!17557
2022-04-20 11:16:28 +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
Roland Dobai
667edfa7a9
Merge branch 'bugfix/s3_otg_compressed_flash_with_stub' into 'master'
...
esptool_py: Support ESP32-S3 USB OTG compressed flashing with stub
Closes ESPTOOL-372
See merge request espressif/esp-idf!17559
2022-04-14 18:26:18 +08:00
morris
cb5507f11c
Merge branch 'feature/clk_tree_defs' into 'master'
...
clk_tree: prework of introducing clock subsystem control
Closes IDF-4892
See merge request espressif/esp-idf!17631
2022-04-13 10:36:56 +08:00
Roland Dobai
3b161a40d6
esptool_py: Update to support ESP32-S3 USB OTG compressed flashing with stub
2022-04-12 08:53:12 +00:00
songruo
60bb5c913d
clk_tree: prework of introducing clk subsystem control
...
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
morris
483149e41b
global: fix some potential out-of-bounds issue
...
...that found by Coverity Scan
2022-04-08 11:05:43 +08:00
Konstantin Kondrashov
a7578a68c0
Merge branch 'bugfix/ipc_blocking' into 'master'
...
esp_ipc: Fix a case when ipc_task() can wake up blocking task early
Closes IDFGH-6939
See merge request espressif/esp-idf!17508
2022-03-31 13:28:39 +08:00
morris
29e9b5b46a
hw_support: move periph_ctrl from driver to hw_support
2022-03-29 11:53:31 +08:00
KonstantinKondrashov
915168c36d
esp_ipc: Fix a case when ipc_task() can wake up blocking task early
...
Closes https://github.com/espressif/esp-idf/issues/8559
2022-03-25 21:15:40 +08:00
Ivan Grokhotkov
c70a69b1dd
Merge branch 'bugfix/remove_ref_non_ex_options' into 'master'
...
config: removed references to non-existing kconfig options
See merge request espressif/esp-idf!17495
2022-03-25 18:02:54 +08:00
Marius Vikhammer
5618ba80f9
Merge branch 'feature/refactor_esp_sys_deps' into 'master'
...
esp-system: removed esp_phy and nvs dependencies, change app update and pm to weak dependencies
Closes IDF-4656
See merge request espressif/esp-idf!17092
2022-03-25 17:17:43 +08:00
Anton Maklakov
68e5d9d585
Remove IRAM_ATTR from any function declarations
...
IRAM_ATTR expands to a unique section attribute. Applying it to both
declaration and definition results in a section conflict.
2022-03-22 09:58:50 +00:00
Marius Vikhammer
9274a062fb
esp-system: removed esp_phy and nvs dependencies, change app update and pm to weak dependencies
2022-03-22 11:19:32 +08:00
Ivan Grokhotkov
2f9d47c708
Merge branch 'feature/gdbstub_rt_multicore' into 'master'
...
Extension for GDBstub runtime component (multicore, breakpoints, steps etc...)
See merge request espressif/esp-idf!13896
2022-03-17 19:59:29 +08:00
Marius Vikhammer
453516fbbe
Merge branch 'bugfix/replace_deprecated_options' into 'master'
...
kconfig: replace deprecated options with new values
See merge request espressif/esp-idf!17494
2022-03-16 09:32:55 +08:00
Marius Vikhammer
0fbae992dd
config: removed references to non-existing kconfig options
2022-03-15 18:32:22 +08:00
Marius Vikhammer
ca3c056ac9
kconfig: replace deprecated options with new values
2022-03-15 16:28:53 +08:00
Anton Maklakov
0d86151b82
esp_system: fix ubsan builtins' prototypes to suppress Wbuiltin-declaration-mismatch
2022-03-14 09:31:00 +00:00
Armando (Dou Yiwen)
6ed3ffbbf1
Merge branch 'refactor/remove_redundant_rom_cache_dependency' into 'master'
...
cache: remove redundant rom cache dependency in bootloader
Closes IDF-4523
See merge request espressif/esp-idf!17077
2022-03-12 10:11:39 +08:00
Armando
c1cbd7bbf6
cache/mmu: implememnt cache and mmu hal APIs in bootloader
2022-03-11 22:43:11 +08:00
Laukik Hase
3b3b668256
ci: Disable failing UTs
...
- For ESP32 | SPIRAM_MALLOC_ALWAYSINTERNAL=0
2022-03-10 05:01:17 +00:00
Laukik Hase
6f9fc0ba8e
esp_system: Place ipc_task semaphores on DRAM
...
- For CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL < 92, the ipc_task semaphores
were allocated on SPIRAM rather than internal RAM
- SemaphoreHandle_t has a size of 92, thus the failure
2022-03-10 05:01:17 +00:00
Marius Vikhammer
934a3951b8
Merge branch 'feature/s2_s3_support_ext_mem_stack' into 'master'
...
soc: support placing task stacks in external memory for S2 and S3
Closes IDF-2797 and IDF-1805
See merge request espressif/esp-idf!16186
2022-03-09 11:57:31 +08:00
Darian Leung
27f5c90e2e
freertos: Fix usage of vTaskSuspendAll()/xTaskResumeAll()
...
IDF FreeRTOS uses vTaskSuspendAll()/xTaskResumeAll() to stop preemption
on a particular core. However, those functions behave differently in FreeRTOS SMP.
This commit replaces all calls of vTaskSuspendAll()/xTaskResumeAll() with
vTaskPreemptionDisable()/vTaskPreemptionEnable() when compiling with SMP FreeRTOS.
2022-03-08 14:59:18 +08:00
Sudeep Mohanty
a9fda54d39
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Marius Vikhammer
e543e97c7b
system: fix SET_STACK macro crashing in windowoverflow8 exception
...
If a windowoverflow8 happened after changing the SP, the exception handler would look for
the extra save area by looking at the previous frame's SP. This SP would be a garbage value
and could cause the windowoverflow exception to write to invalid memory ares.
2022-03-04 15:25:52 +08:00
Marius Vikhammer
29db173536
Merge branch 'feature/move_target_kconfig' into 'master'
...
system: move kconfig options out of target component
See merge request espressif/esp-idf!16893
2022-03-03 09:39:54 +08:00
Omar Chebib
2571aaf3c9
G0: target component (components/esp32*) doesn't depend on driver anymore
2022-03-02 04:21:00 +00:00
Marius Vikhammer
bb88338118
system: move kconfig options out of target component
...
Moved the following kconfig options out of the target component:
* ESP32_X_BROWNOUT_* -> esp_system
* ESP32_X_DEBUG_OCDAWARE -> esp_system
* APP_NO_BLOBS -> build type (main kconfig)
2022-03-02 01:22:26 +00:00
Dmitry
a8c3fe56c8
This commit add to GDBstup:
...
1. Multicore suupor
2. Stepping
3. Console output
4. Update example + readme
5. Jumps
2022-03-01 19:49:24 +03:00
Mahavir Jain
15ab3466fa
Merge branch 'contrib/github_pr_8467' into 'master'
...
Fix typos. (GitHub PR)
Closes IDFGH-6843
See merge request espressif/esp-idf!17289
2022-02-28 16:50:33 +08:00
Mahavir Jain
47fb454baa
esp_system: Fix copyright header
2022-02-28 11:41:02 +05:30
Konstantin Kondrashov
44e5ac2c59
Merge branch 'feature/efuse_hal' into 'master'
...
hal: Adds efuse hal layer
See merge request espressif/esp-idf!16354
2022-02-28 13:38:43 +08:00
Eva Dengler
9fd621c7ad
Fix typos.
...
alignement -> alignment
2022-02-25 19:32:15 +01:00
KonstantinKondrashov
9605f3eb1a
soc: Adds efuse hal
...
Replaced eFuse ROM funcs with hal layer
2022-02-24 22:20:09 +08:00
Alexey Gerenkov
dea45a9d72
riscv: Use semihosting to set breakpoint and watchpoint when running under debugger
2022-02-24 08:55:40 +00:00
Martin Vychodil
0e52b9d230
System: Memory section .rtc.dummy removed
...
ESP32H2 doesn't support access to RTC memory through various buses, thus .rtc.dummy section
makes no sense here. The section is used for blind padding in LD script - to provide proper section offsets)
2022-02-22 13:52:46 +01:00
Song Ruo Jing
da3b7f106b
Merge branch 'feature/support_esp32c2_reset_cause' into 'master'
...
esp_system: support esp32c2 reset reason
Closes IDF-3832 and IDF-4244
See merge request espressif/esp-idf!17158
2022-02-22 03:12:44 +00:00
songruojing
b860fa96e0
esp_system: support esp32c2 reset reason
2022-02-15 13:50:22 +08:00
Marius Vikhammer
edb76f14d6
esp_timer: remove legacy ESP32 FRC timer implementation.
2022-02-10 15:17:49 +08:00
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