refactor(esp_lcd): control hal function placement in the esp_lcd component

because G1 component can't rely on G2 component, thus  we shouldn't use the esp_lcd's Kconfig in the hal's linker.lf
This commit is contained in:
morris 2023-07-05 22:54:01 +08:00
parent a7e5d49d10
commit b72df43a3f
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,11 @@
[mapping:esp_lcd]
[mapping:esp_lcd_driver]
archive: libesp_lcd.a
entries:
if LCD_RGB_ISR_IRAM_SAFE = y:
esp_lcd_common: lcd_com_mount_dma_data (noflash)
[mapping:esp_lcd_hal]
archive: libhal.a
entries:
if LCD_RGB_ISR_IRAM_SAFE = y:
lcd_hal: lcd_hal_cal_pclk_freq (noflash)

View File

@ -34,8 +34,6 @@ entries:
timer_hal_iram (noflash)
if GPIO_CTRL_FUNC_IN_IRAM = y:
gpio_hal: gpio_hal_intr_disable (noflash)
if LCD_RGB_ISR_IRAM_SAFE = y:
lcd_hal: lcd_hal_cal_pclk_freq (noflash)
if ADC_ONESHOT_CTRL_FUNC_IN_IRAM = y:
adc_oneshot_hal (noflash)
if COMPILER_OPTIMIZATION_DEBUG = y: