Skip to content
Snippets Groups Projects
Commit 1c115f03 authored by Michael DM Dryden's avatar Michael DM Dryden
Browse files

Overclock CPU to 48 MHz to make DFU bootloader USB work after software jump.

parent 1c33860c
Branches
No related merge requests found
......@@ -41,7 +41,7 @@ BUILD_DIR =
# Microcontroller: atxmega128a1, atmega128, attiny261, etc.
MCU = atxmega256a3u
F_CPU = 32000000
F_CPU = 48000000
# Programming settings
AVRDUDE_DEV = x256a3u
......
......@@ -44,9 +44,9 @@
#define CONF_CLOCK_H_INCLUDED
#include "conf_board.h"
//
#if BOARD_VER_MAJOR >= 1 && BOARD_VER_MINOR >= 2 && BOARD_VER_MICRO >= 3
#define CONFIG_SYSCLK_SOURCE SYSCLK_SRC_RC32MHZ
#define CONFIG_SYSCLK_SOURCE SYSCLK_SRC_PLL
#define CONFIG_SYSCLK_PSADIV SYSCLK_PSADIV_1
#define CONFIG_SYSCLK_PSBCDIV SYSCLK_PSBCDIV_1_1
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment