/** * @brief This module manages the project hardware defines * @author Steve Karg * @date 2007 * @copyright SPDX-License-Identifier: MIT */ #ifndef HARDWARE_H #define HARDWARE_H #if !defined(F_CPU) #error Set F_CPU in the Makefile #endif /* IAR compiler specific configuration */ #if defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ASM__) #include #include #endif /* AVR-GCC compiler specific configuration */ #if defined(__GNUC__) #include #include #include #endif #if !defined(__AVR_ATmega328P__) #error Firmware is configured for ATmega328P only (-mmcu=atmega328p) #endif #include "iar2gcc.h" #include "bacnet/basic/sys/bits.h" #endif