Used with eeprom_flash to write network configuration to STM32F103 flash

Dependents:   F103-Web-Server

Fork of my_eeprom_funcs by Chau Vo

Revision:
22:0e1d8a9e8f54
Parent:
21:23ae23754f0b
--- a/device_configuration.h	Thu Sep 01 12:22:10 2016 +0000
+++ b/device_configuration.h	Thu Sep 01 14:14:26 2016 +0000
@@ -66,6 +66,8 @@
 #define UART_STOPBITS_POS       76 // 16-bit
 #define UART_PARITY_POS         78 // 16-bit
 #define UART_HANDSHAKE_POS      80 // 16-bit
+// DHCP vs Static
+#define ENABLE_DHCP_POS         82 // 16-bit
 
 
 // prototypes
@@ -76,7 +78,8 @@
             uint16_t* remote_udp_ip, uint16_t remote_udp_port,
             uint16_t enable_tcp_server, uint16_t enable_tcp_client, uint16_t enable_udp_server, uint16_t enable_udp_client,
             uint16_t inter_data_period, uint16_t special_char,
-            uint16_t uart_baudrate, uint16_t uart_bits, uint16_t uart_stopbits, uint16_t uart_parity, uint16_t uart_handshake);
+            uint16_t uart_baudrate, uint16_t uart_bits, uint16_t uart_stopbits, uint16_t uart_parity, uint16_t uart_handshake,
+            uint16_t enable_dhcp);
 void read_device_configuration();
 void reset_default_device_configuration();