SAMV7-XULT: Integrate button support and apps/examples/buttons into the NSH configuration

This commit is contained in:
Gregory Nutt
2015-03-11 14:41:58 -06:00
parent 3d60cc7768
commit 90bc4b81ee
5 changed files with 95 additions and 17 deletions
+2 -2
View File
@@ -65,7 +65,7 @@
/* BAUD definitions
*
* The source clock is selectable and could be one of:
* The source clock is selectable and could be one of:
*
* - The peripheral clock
* - A division of the peripheral clock, where the divider is product-
@@ -406,7 +406,7 @@ void sam_lowsetup(void)
{
/* Use the divided USART clock */
divb3 = ((SLOW_USART_CLOCK + (SAM_CONSOLE_BAUD << 3)) << 3) /
divb3 = ((SLOW_USART_CLOCK + (SAM_CONSOLE_BAUD << 3)) << 3) /
(SAM_CONSOLE_BAUD << 4);
intpart = (divb3 >> 3);
fracpart = (divb3 & 7);
+1 -1
View File
@@ -290,7 +290,7 @@
/* BAUD definitions
*
* The source clock is selectable and could be one of:
* The source clock is selectable and could be one of:
*
* - The peripheral clock
* - A division of the peripheral clock, where the divider is product-