This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To add MS USB extended descriptors to an ASF project: | |
0. Optionally disable disabling peripheral clocks in common/services/clock/xmega/sysclk.c -> sysclk_init() | |
1. Configure clocks and oscillators in config/conf_board.h: | |
// required for the ASF clock module | |
#define BOARD_XOSC_HZ F_CPU | |
#define BOARD_XOSC_STARTUP_US 1024 |