1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- #ifndef _BOARD_H_
- #define _BOARD_H_
- #define BOARD_ARDUINO_NANO
- #define BOARD_NAME "Arduino Nano"
- #define PORTB_LED1 5
- #define LINE_LED1 PAL_LINE(IOPORT2, 5U)
- #define VAL_DDRB 0x20
- #define VAL_PORTB 0xFF
- #define VAL_DDRC 0x00
- #define VAL_PORTC 0xFF
- #define VAL_DDRD 0x02
- #define VAL_PORTD 0xFF
- #if !defined(_FROM_ASM_)
- #ifdef __cplusplus
- extern "C" {
- #endif
- void boardInit(void);
- #ifdef __cplusplus
- }
- #endif
- #endif
- #endif
|