1 2 3 4 5 6
ifdef HARDWARE_SERIAL SRC += protocol/serial_uart.c OPT_DEFS += -DHARDWARE_SERIAL else SRC += protocol/serial_soft.c endif