mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
SAMD/L: Change ordering of some initialization steps to match Atmel sample code. Add Errate 13134 support. SAML wait states changed to 1. Sample code is using 0
This commit is contained in:
@@ -392,6 +392,7 @@
|
|||||||
|
|
||||||
/* FLASH wait states
|
/* FLASH wait states
|
||||||
*
|
*
|
||||||
|
* REVISIT: These values come from the SAMD20
|
||||||
* Vdd Range Wait states Maximum Operating Frequency
|
* Vdd Range Wait states Maximum Operating Frequency
|
||||||
* ------------- -------------- ---------------------------
|
* ------------- -------------- ---------------------------
|
||||||
* 1.62V to 2.7V 0 14 MHz
|
* 1.62V to 2.7V 0 14 MHz
|
||||||
@@ -402,10 +403,10 @@
|
|||||||
* 1 48 MHz
|
* 1 48 MHz
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if 0 /* REVISIT -- should not be necessary */
|
#if 0 /* REVISIT -- Sample code is running with zero wait states */
|
||||||
# define BOARD_FLASH_WAITSTATES 1
|
# define BOARD_FLASH_WAITSTATES 0
|
||||||
#else
|
#else
|
||||||
# define BOARD_FLASH_WAITSTATES 2
|
# define BOARD_FLASH_WAITSTATES 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* SERCOM definitions ***************************************************************/
|
/* SERCOM definitions ***************************************************************/
|
||||||
|
|||||||
Reference in New Issue
Block a user