Shared files and configuration for Arduino Atmega boards.  
More...
Shared files and configuration for Arduino Atmega boards. 
 | 
| file   | arduino_iomap.h | 
|   | Mapping from MCU pins to Arduino pins for Arduino Atmega boards. 
  | 
|   | 
| file   | board_common.h | 
|   | Common board configuration for Arduino Atmega boards. 
  | 
|   | 
| file   | gpio_params.h | 
|   | Common configuration of mapped GPIOs for Arduino Atmega boards. 
  | 
|   | 
| file   | periph_conf.h | 
|   | Common configuration of MCU periphery for Arduino Atmega boards. 
  | 
|   | 
| file   | periph_conf_atmega_common.h | 
|   | Common configuration of MCU periphery for ATmega boards. 
  | 
|   | 
 | 
As the CPU is too slow to handle 115200 baud, we set the default baudrate to 9600 for this board  
 | 
| 
#define  | STDIO_UART_BAUDRATE   (9600U) | 
|   | 
 | 
| 
#define  | CPU_ATMEGA_CLK_SCALE_INIT   CPU_ATMEGA_CLK_SCALE_DIV1 | 
|   | 
 | 
| 
#define  | XTIMER_WIDTH   (16) | 
|   | 
| 
#define  | XTIMER_HZ   (250000UL) | 
|   | 
| 
#define  | XTIMER_BACKOFF   (40) | 
|   | 
 | 
| 
#define  | CONFIG_ZTIMER_USEC_TYPE   ZTIMER_TYPE_PERIPH_TIMER | 
|   | 
| 
#define  | CONFIG_ZTIMER_USEC_DEV   (TIMER_DEV(0)) | 
|   | 
| 
#define  | CONFIG_ZTIMER_USEC_FREQ   (250000LU) | 
|   | 
| 
#define  | CONFIG_ZTIMER_USEC_WIDTH   (16) | 
|   | 
| 
#define  | CONFIG_ZTIMER_USEC_ADJUST_SET   (128) | 
|   | 
| 
#define  | CONFIG_ZTIMER_USEC_ADJUST_SLEEP   (116) | 
|   |