Merge branch 'feature/remove_esp_spi_g1' into 'master'

refactor(spi): moved spi hw sharing func to hw support

Closes IDF-8503

See merge request espressif/esp-idf!27110
This commit is contained in:
Marius Vikhammer
2023-11-21 10:26:55 +08:00
18 changed files with 656 additions and 588 deletions
+1 -3
View File
@@ -63,11 +63,9 @@ else()
# [refactor-todo] requirements due to init code,
# should be removable once using component init functions
# link-time registration is used.
# [refactor-todo] requires "esp_driver_spi" for headers:
# - spi_common_internal.h
# [refactor-todo] esp_partition required for virtual efuse
# init code. Move to esp_efuse component.
pthread bootloader_support efuse esp_driver_spi esp_partition
pthread bootloader_support efuse esp_partition esp_pm
LDFRAGMENTS "linker.lf" "app.lf")
add_subdirectory(port)
+1 -1
View File
@@ -12,7 +12,7 @@
#include "bootloader_clock.h"
#include "hal/wdt_hal.h"
#include "esp_private/spi_common_internal.h" // [refactor-todo]: for spicommon_periph_in_use
#include "esp_private/spi_share_hw_ctrl.h"
#include "esp_log.h"
#include "esp_cpu.h"