mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
refactor(gpio): derive SDM registers from GPIO_EXT
Use GPIO_EXT.sigma_delta as the SDM register base on GPIO_EXT-based targets and remove standalone SDM symbols to eliminate manual offset/address maintenance risks.
This commit is contained in:
@@ -62,7 +62,6 @@ PROVIDE ( ECDSA = 0x50096000 );
|
||||
|
||||
PROVIDE ( GPIO = 0x500E0000 );
|
||||
PROVIDE ( GPIO_EXT = 0x500E0F00 );
|
||||
PROVIDE ( SDM = 0x500E0F00 );
|
||||
PROVIDE ( IO_MUX = 0x500E1000 );
|
||||
PROVIDE ( MSPI_IOMUX = 0x500E1200 );
|
||||
|
||||
|
||||
@@ -180,7 +180,6 @@ typedef struct {
|
||||
volatile gpio_ext_version_reg_t version;
|
||||
} gpio_ext_dev_t;
|
||||
|
||||
extern gpio_sd_dev_t SDM;
|
||||
extern gpio_ext_dev_t GPIO_EXT;
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
@@ -180,7 +180,6 @@ typedef struct {
|
||||
volatile gpio_ext_version_reg_t version;
|
||||
} gpio_ext_dev_t;
|
||||
|
||||
extern gpio_sd_dev_t SDM;
|
||||
extern gpio_ext_dev_t GPIO_EXT;
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user