forked from espressif/esp-idf
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:
@@ -1,5 +1,11 @@
|
|||||||
[mapping:esp_lcd]
|
[mapping:esp_lcd_driver]
|
||||||
archive: libesp_lcd.a
|
archive: libesp_lcd.a
|
||||||
entries:
|
entries:
|
||||||
if LCD_RGB_ISR_IRAM_SAFE = y:
|
if LCD_RGB_ISR_IRAM_SAFE = y:
|
||||||
esp_lcd_common: lcd_com_mount_dma_data (noflash)
|
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)
|
||||||
|
@@ -34,8 +34,6 @@ entries:
|
|||||||
timer_hal_iram (noflash)
|
timer_hal_iram (noflash)
|
||||||
if GPIO_CTRL_FUNC_IN_IRAM = y:
|
if GPIO_CTRL_FUNC_IN_IRAM = y:
|
||||||
gpio_hal: gpio_hal_intr_disable (noflash)
|
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:
|
if ADC_ONESHOT_CTRL_FUNC_IN_IRAM = y:
|
||||||
adc_oneshot_hal (noflash)
|
adc_oneshot_hal (noflash)
|
||||||
if COMPILER_OPTIMIZATION_DEBUG = y:
|
if COMPILER_OPTIMIZATION_DEBUG = y:
|
||||||
|
Reference in New Issue
Block a user