embeddedartistry / athena-bootloader

An AVR Arduino bootloader that supports uploads over Ethernet (via TFTP) and Serial.
GNU Lesser General Public License v2.1
12 stars 5 forks source link

Add Make variables that can be used to override default network settings #44

Open phillipjohnston opened 4 years ago

phillipjohnston commented 4 years ago

e.g.:

#ifndef IP_ADDR
#define IP_ADDR DEFAULT_IP_ADDR
#endif

#ifndef SUB_MASK
#define SUB_MASK DEFAULT_SUB_MASK
#endif

#ifndef GW_ADDR
#define GW_ADDR DEFAULT_GW_ADDR
#endif

#ifndef MAC_ADDR
#define MAC_ADDR DEFAULT_MAC_ADDR
#endif

Document these variables in docs/network_configuration.md