PIC32 configuration fixes

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4048 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-10-14 23:57:07 +00:00
parent 923132391d
commit 12fd3df1b1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -161,7 +161,7 @@
#define DEVCFG1_FCKSM_MASK (3 << DEVCFG1_FCKSM_SHIFT) #define DEVCFG1_FCKSM_MASK (3 << DEVCFG1_FCKSM_SHIFT)
# define DEVCFG1_FCKSM_BOTH (0 << DEVCFG1_FCKSM_SHIFT) /* Clock switching and FSCM are enabled */ # define DEVCFG1_FCKSM_BOTH (0 << DEVCFG1_FCKSM_SHIFT) /* Clock switching and FSCM are enabled */
# define DEVCFG1_FCKSM_CSONLY (1 << DEVCFG1_FCKSM_SHIFT) /* Clock switching is enabled, FSCM is disabled */ # define DEVCFG1_FCKSM_CSONLY (1 << DEVCFG1_FCKSM_SHIFT) /* Clock switching is enabled, FSCM is disabled */
# define DEVCFG1_FCKSM_NONE (2 << DEVCFG1_FCKSM_SHIFT) /* Clock switching and FSCM are disabled */ # define DEVCFG1_FCKSM_NONE (3 << DEVCFG1_FCKSM_SHIFT) /* Clock switching and FSCM are disabled */
#define DEVCFG1_WDTPS_SHIFT (16) /* Bits 16-20: WDT postscaler select */ #define DEVCFG1_WDTPS_SHIFT (16) /* Bits 16-20: WDT postscaler select */
#define DEVCFG1_WDTPS_MASK (31 << DEVCFG1_WDTPS_SHIFT) #define DEVCFG1_WDTPS_MASK (31 << DEVCFG1_WDTPS_SHIFT)
# define DEVCFG1_WDTPS_1 (0 << DEVCFG1_WDTPS_SHIFT) /* 1:1 */ # define DEVCFG1_WDTPS_1 (0 << DEVCFG1_WDTPS_SHIFT) /* 1:1 */
+1 -1
View File
@@ -167,7 +167,7 @@ CONFIG_PIC32MX_IOPORTG=y
# can be enabled later by software). # can be enabled later by software).
# #
CONFIG_PIC32MX_DEBUGGER=2 CONFIG_PIC32MX_DEBUGGER=2
CONFIG_PIC32MX_ICESEL=0 CONFIG_PIC32MX_ICESEL=1
# #
# PIC32MX specific serial device driver settings # PIC32MX specific serial device driver settings