mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Convert flash_addr to struct flash_region.
flash_region storage flash address and length, which a operation is needed.
This commit is contained in:
@@ -50,6 +50,11 @@ struct uip_eth_addr {
|
||||
uint8_t addr[6];
|
||||
};
|
||||
|
||||
struct flash_region_t {
|
||||
uint32_t addr;
|
||||
uint16_t len;
|
||||
};
|
||||
|
||||
extern __xdata uint8_t uip_buf[UIP_CONF_BUFFER_SIZE+2];
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user