mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +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:
1 parent
05492e601a
commit
7a87b79871
6 files changed
+80
-57
No files matched your search
@@ -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