diff --git a/components/esp_lcd/linker.lf b/components/esp_lcd/linker.lf index 149801e604..e46cfad3d9 100644 --- a/components/esp_lcd/linker.lf +++ b/components/esp_lcd/linker.lf @@ -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) diff --git a/components/hal/linker.lf b/components/hal/linker.lf index 4f8003e87b..2603dd8884 100644 --- a/components/hal/linker.lf +++ b/components/hal/linker.lf @@ -32,8 +32,6 @@ entries: spi_flash_hal_gpspi (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: