Convert flash_addr to struct flash_region.

flash_region storage flash address and length, which a operation is needed.
This commit is contained in:
René van Dorst committed 2025-10-05 15:36:08 +02:00
1 parent 05492e601a
commit 7a87b79871
6 files changed
+80 -57

No files matched your search

+5
View File
@@ -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];