mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
refactor(gpio):add gpio linker.lf to control the placement of driver and hal
since the linker placement of the hal functions are controlled by the Kconfig in the driver component, we should create the linker.lf in the driver component, not in the hal component.
This commit is contained in:
committed by
chenjichang
parent
87f8a8e20c
commit
cdd18fd232
@@ -0,0 +1,12 @@
|
||||
[mapping:gpio_driver]
|
||||
archive: libdriver.a
|
||||
entries:
|
||||
if GPIO_CTRL_FUNC_IN_IRAM = y:
|
||||
gpio: gpio_set_level (noflash)
|
||||
gpio: gpio_intr_disable (noflash)
|
||||
|
||||
[mapping:gpio_hal]
|
||||
archive: libhal.a
|
||||
entries:
|
||||
if GPIO_CTRL_FUNC_IN_IRAM = y:
|
||||
gpio_hal: gpio_hal_intr_disable (noflash)
|
||||
Reference in New Issue
Block a user