NIC is defined for eMoteIII, which makes no sense
I've been having some trouble when trying to compile the test program for the EposMoteIII. After talking to professor Antônio Augusto Fröhlich we were able to track it down to a couple macros on the include/system/config.h file.
I couldn't figure out a way to make a pull request so I'll post the fix here: All it takes is to remove lines 132-135 from the config.h files and it just works.
Before changes:
#ifdef __mmod_emote3__
#define __cortex_m__
#define __cortex_m3__
#define __TSC_H __HEADER_ARCH(tsc)
#define __EEPROM_H __HEADER_MACH(eeprom)
#define __UART_H __HEADER_MACH(uart)
#define __SPI_H __HEADER_MACH(spi)
#define __RS485_H __HEADER_MACH(rs485)
#define __USB_H __HEADER_MACH(usb)
#define __I2C_H __HEADER_MACH(i2c)
#define __GPIO_H __HEADER_MACH(gpio)
#define __ADC_H __HEADER_MACH(adc)
#define __PWM_H __HEADER_MACH(pwm)
#define __WATCHDOG_H __HEADER_MACH(watchdog)
#define __NIC_H __HEADER_MACH(nic)
#define __modem__
#define __ieee802_15_4__
#define __tstp__
#define __ACCELEROMETER_H __HEADER_TRAN(accelerometer)
#define __GYROSCOPE_H __HEADER_TRAN(gyroscope)
#define __CO2_SENSOR_H __HEADER_TRAN(co2_sensor)
#define __PLUVIOMETER_H __HEADER_TRAN(pluviometer)
#define __PRESSURE_SENSOR_H __HEADER_TRAN(pressure_sensor)
#define __THERMOMETER_H __HEADER_TRAN(thermometer)
#define __HYGROMETER_H __HEADER_TRAN(hygrometer)
#endif
After changes:
#ifdef __mmod_emote3__
#define __cortex_m__
#define __cortex_m3__
#define __TSC_H __HEADER_ARCH(tsc)
#define __EEPROM_H __HEADER_MACH(eeprom)
#define __UART_H __HEADER_MACH(uart)
#define __SPI_H __HEADER_MACH(spi)
#define __RS485_H __HEADER_MACH(rs485)
#define __USB_H __HEADER_MACH(usb)
#define __I2C_H __HEADER_MACH(i2c)
#define __GPIO_H __HEADER_MACH(gpio)
#define __ADC_H __HEADER_MACH(adc)
#define __PWM_H __HEADER_MACH(pwm)
#define __WATCHDOG_H __HEADER_MACH(watchdog)
#define __ACCELEROMETER_H __HEADER_TRAN(accelerometer)
#define __GYROSCOPE_H __HEADER_TRAN(gyroscope)
#define __CO2_SENSOR_H __HEADER_TRAN(co2_sensor)
#define __PLUVIOMETER_H __HEADER_TRAN(pluviometer)
#define __PRESSURE_SENSOR_H __HEADER_TRAN(pressure_sensor)
#define __THERMOMETER_H __HEADER_TRAN(thermometer)
#define __HYGROMETER_H __HEADER_TRAN(hygrometer)
#endif
OBS: Btw, this fix was tested for both the develop and master branch and it worked for both