Armando
26df228b11
psram: fix esp32/esp_psram_impl_quad memcpy out of bounds issue
2022-06-14 15:44:27 +08:00
Armando
cdad8a02fe
esp_psram: remove g_spiram_ok
2022-06-14 15:44:27 +08:00
Armando
38e5043ae8
esp_psram: new psram component
2022-06-14 15:44:27 +08:00
Darian
135480396a
Merge branch 'bugfix/spi_should_use_early_log' into 'master'
...
SPI: Fix incorrect log usage
See merge request espressif/esp-idf!17017
2022-06-14 15:24:37 +08:00
Omar Chebib
6783f52045
CI: examples generating an ELF file only can now pass CI
2022-06-14 15:00:53 +08:00
Omar Chebib
2fd784c97a
G0 RISC-V: Remove "private_include/regi2c_brownout.h" header as it has been moved and simplify "regi2c_ctrl.h"
2022-06-14 15:00:53 +08:00
Omar Chebib
33ac70a3ed
G0: add a build example to check G0 dependencies
2022-06-14 15:00:53 +08:00
Omar Chebib
5bcd9b2db8
G0: RISC-V targets have now an independent G0 layer
...
G0 doesn't depend on any G1+ layer for RISC-V based targets
2022-06-14 15:00:53 +08:00
jingli
30e7af2ffb
system/sleep: simplify code for time compensation when wakeup from light sleep
2022-06-14 14:49:26 +08:00
Darian Leung
a8a3756b38
hal: Route CPU and Interrupt Controller HAL/LL to esp_cpu calls
...
This commit makes changes to cpu_ll.h, cpu_hal.h, and interrupt_controller_hal.h:
- Moved to esp_hw_support in order to be deprecated in the future
- HAL/LL API now route their calls to esp_cpu.h functions instead
Also updated soc_hal.h as follows:
- Removed __SOC_HAL_..._OTHER_CORES() macros as they dependend on cpu_hal.h
- Made soc_hal.h and soc_ll.h interfaces always inline, and removed soc_hal.c.
This commit also updates the XCHAL_ERRATUM_572 workaround by
- Removing it's HAL function and invoking the workaround it directly the bootloader
- Added missing workaround for the ESP32-S3
2022-06-14 14:40:03 +08:00
Darian Leung
149872131a
hal: Move dedicated GPIO LL and HAL
...
This commit moves the dedicated GPIO LL and HAL functions from
cpu_ll.h to dedic_gpio_cpu_ll.h.
- cpu_ll_enable_cycle_count() has also been removed due to lack of feasible usage scenarios
2022-06-14 14:38:29 +08:00
Mahavir Jain
4e4d0a5011
Merge branch 'bugfix/psram_startup_crash' into 'master'
...
psram: Fix startup crash when `CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0`
Closes IDFGH-6938
See merge request espressif/esp-idf!17543
2022-06-14 14:36:47 +08:00
Shang Zhou
2cfce11fb8
docs: provide CN translation for spi_slave and spi_features
2022-06-14 14:31:42 +08:00
Darian Leung
61eb7baa6b
esp_hw_support: Add esp_cpu.h abstraction and API
...
This commit updates the esp_cpu.h API. The new API presents a new
abstraction of the CPU where CPU presents the following interfaces:
- CPU Control (to stall/unstall/reset the CPU)
- CPU Registers (to read registers commonly used in SW such as SP, PC)
- CPU Interrupts (to inquire/allocate/control the CPUs 32 interrupts)
- Memory Port (to configure the CPU's memory bus for memory protection)
- Debugging (to configure/control the CPU's debugging port)
Note: Also added FORCE_INLINE_ATTR to the DoxyFile in order to pass doc
builds for esp_cpu.h
2022-06-14 14:30:58 +08:00
Darian Leung
556ec30457
esp_hw_support: Rename cpu_util.c to cpu.c
2022-06-14 14:30:57 +08:00
Shang Zhou
efdfb7ec61
docs: update BluFi documentation regarding misleading contents
2022-06-14 14:18:13 +08:00
Rahul Tank
5302bbf97a
Merge branch 'docs/update_pairing_popup_troubleshoot' into 'master'
...
docs: Added a subsection for FAQ regarding paring pop up during provisioning
See merge request espressif/esp-idf!18430
2022-06-14 13:55:10 +08:00
Ivan Grokhotkov
f5d49199d3
Merge branch 'ci/fix_utils_sh_with_dash' into 'master'
...
ci: fix bash shell array incompatibility in dash
See merge request espressif/esp-idf!18487
2022-06-14 13:05:17 +08:00
morris
e991c9c5d4
Merge branch 'feature/little_improvement_for_rgb_panel' into 'master'
...
rgb_lcd: optimize draw_bitmap && PCLK fractional divisor
See merge request espressif/esp-idf!18148
2022-06-14 12:18:17 +08:00
jiangguangming
0e8401e9b0
spi_flash: remove back-compatible with caller function of S3Beta ROM
2022-06-14 11:25:30 +08:00
morris
066289fbd0
Merge branch 'feature/doc_update_efuse' into 'master'
...
doc(efuse): Updates efuse article
Closes IDF-4223, IDF-4895, IDFGH-7228, and IDFGH-7216
See merge request espressif/esp-idf!18349
2022-06-14 10:50:51 +08:00
xiongweichao
82730166aa
Update the note of the gpio_intr_enable function
2022-06-14 10:44:02 +08:00
TDA2030
09c192c7f1
rgb_lcd: optimise rgb_panel_draw_bitmap
...
by using memcpy instead of coping in a nested for loop
2022-06-14 02:20:47 +00:00
morris
b2bb8fd3c4
rgb_lcd: support update pclk at runtime
2022-06-14 02:20:47 +00:00
morris
843279d287
rgb_lcd: support fractional clock divisor
2022-06-14 02:20:47 +00:00
morris
8dd26e9e9f
spi_lcd: make tjpgd example runnable on C2
2022-06-14 02:20:47 +00:00
Fu Hanxi
3bb9d37863
ci: fix bash shell array incompatibility in dash
2022-06-14 09:46:55 +08:00
Zim Kalinowski
c26bfae1fd
Merge branch 'bugfix/custom_bootloader_example_codeowner' into 'master'
...
CI: add codeowner for custom bootloader examples
See merge request espressif/esp-idf!18474
2022-06-14 04:20:24 +08:00
Sudeep Mohanty
302c548bb0
Merge branch 'feature/freertos_smp_enable_riscv_port' into 'master'
...
freertos-smp: add support for RISC-V targets on FreeRTOS SMP
See merge request espressif/esp-idf!18128
2022-06-14 04:17:54 +08:00
Sudeep Mohanty
ff185f737c
Merge branch 'refactor/freertos_yielding_tests' into 'master'
...
freertos: refactor yield tests for freertos
Closes IDF-3343, IDFCI-1250, IDFCI-1251, IDFCI-1252, IDFCI-1253, IDFCI-1254, IDFCI-1255, and IDFCI-1256
See merge request espressif/esp-idf!18369
2022-06-13 22:33:40 +08:00
Konstantin Kondrashov
7d942e0a5d
Merge branch 'feature/efuse_rst_is_treated_as_poweron_rst' into 'master'
...
reset_reasons: EFUSE_RST is treated as POWERON_RST + checks errors of eFuse BLOCK0
Closes IDF-3702
See merge request espressif/esp-idf!14742
2022-06-13 21:26:13 +08:00
Konstantin Kondrashov
32b5307016
Merge branch 'feature/reset_rtc_wdt_in_bootloader_common_erase_part_type_data' into 'master'
...
bootloader: Fix RTC_WDT reset in bootloader_common_erase_part_type_data when a long erase
Closes IDFGH-7125
See merge request espressif/esp-idf!17841
2022-06-13 20:54:04 +08:00
morris
317f6292c7
Merge branch 'docs/translate_dedic-gpio' into 'master'
...
Docs/translate dedic gpio
Closes DOC-2999
See merge request espressif/esp-idf!18170
2022-06-13 19:59:07 +08:00
Laukik Hase
914b0de764
freertos: Indicate completed initialization for APP CPU with idle task hook
...
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2022-06-13 17:17:42 +05:30
Sudeep Mohanty
12e2312aaa
freertos: FreeRTOS SMP RISC-V port cleanup and enable esp32c3 in KConfig
...
This commit does general cleanup of the risc-v port files and restricts
FreeRTOS SMP config option to only esp32 and esp32c3.
2022-06-13 13:39:16 +02:00
Darian Leung
71eef9a9b0
freertos: Fix SMP RISC-V Port IDF Style critical sections
...
Previously the RV port was routing IDF style critical section API to call FreeRTOS style critical section API.
For example, a call to "portENTER_CRITICAL(mux)" would eventually call `vTaskEnterCritical()" via the following call flow:
- portENTER_CRITICAL(mux)
- vPortEnterCritical()
- portSET_INTERRUPT_MASK_FROM_ISR()
- vTaskEnterCritical()
This commit fixes the IDF style critical section by making sure that they are completely orthogonal to FreeRTOS critical sections
2022-06-13 13:34:21 +02:00
Sudeep Mohanty
8fd953c627
freertos-smp: add support for RISC-V targets oon FreeRTOS SMP
...
TBD: Initial commit. Enables risc-v port.
2022-06-13 13:34:21 +02:00
KonstantinKondrashov
ada08619cf
doc: Adds RTC Watchdog Timeout article in fatal errors
2022-06-13 17:54:10 +08:00
Rahul Tank
835aec1152
Merge branch 'bugfix/mbedtls_free_keypair' into 'master'
...
Nimble: Fixed memory leak while generating keypair using embedtls
See merge request espressif/esp-idf!18322
2022-06-13 17:50:34 +08:00
songruojing
6f6251f369
hal: Limit the HAL_ASSERTION_LEVEL in bootloader to be no larger than 1 (i.e. silent)
2022-06-13 17:47:51 +08:00
songruojing
03477a59db
rtc_clk: Fix rtc8m calibration failure after cpu/core reset
...
1. make sure 8md256 clk is enabled before calibration
2. improve bootloader and application startup 8m, 8md256 enable logic
2022-06-13 17:47:51 +08:00
songruojing
c8752cee6a
clk_tree: Refactor rtc_clk.c by adding HAL layer for clock subsystem
2022-06-13 17:47:50 +08:00
Mahavir Jain
52769051e2
Merge branch 'bugfix/fix_ws_ping_receive' into 'master'
...
fix(websocket): Support handler deal with PING and CLOSE frame
Closes IDFGH-7209
See merge request espressif/esp-idf!18065
2022-06-13 17:23:38 +08:00
Sudeep Mohanty
9a53a4abf1
freertos: refactor yield tests for freertos
...
This commit refactors the yield test scenarios for a more deterministic
prediction of the kernel's yielding behavior.
2022-06-13 10:57:55 +02:00
Marius Vikhammer
e18f381905
HAL: fix kconfig HAL_ASSERTION typo
2022-06-13 16:19:28 +08:00
daiziyan
3a2da53e2a
docs: add translation for dedic_gpio
2022-06-13 15:14:25 +08:00
Martin Vychodil
7f884dc966
Merge branch 'fix/ff_sdmmc_status_check_optional' into 'master'
...
fatfs: Add option to mock ff_sdmmc_status output to increase IO speed
Closes IDF-4788
See merge request espressif/esp-idf!18300
2022-06-13 14:42:12 +08:00
Marius Vikhammer
d7b79cc05e
CI: add codeowner for custom bootloader examples
2022-06-13 14:03:03 +08:00
Marius Vikhammer
797358f953
ulp-fsm: support ulp-fsm example on S3
2022-06-13 13:58:29 +08:00
David Čermák
a6980a6b6a
Merge branch 'bugfix/mqtt_host_test' into 'master'
...
MQTT: Fix compilation of networking host tests
Closes IDF-4286
See merge request espressif/esp-idf!18099
2022-06-13 13:13:00 +08:00