diff --git a/arch/mips/src/pic32mx/pic32mx-devcfg.h b/arch/mips/src/pic32mx/pic32mx-devcfg.h index 73e7612924b..e7224747fd7 100644 --- a/arch/mips/src/pic32mx/pic32mx-devcfg.h +++ b/arch/mips/src/pic32mx/pic32mx-devcfg.h @@ -161,7 +161,7 @@ #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_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_MASK (31 << DEVCFG1_WDTPS_SHIFT) # define DEVCFG1_WDTPS_1 (0 << DEVCFG1_WDTPS_SHIFT) /* 1:1 */ diff --git a/configs/sure-pic32mx/ostest/defconfig b/configs/sure-pic32mx/ostest/defconfig index ec0e28e0b5a..88e4649bab4 100644 --- a/configs/sure-pic32mx/ostest/defconfig +++ b/configs/sure-pic32mx/ostest/defconfig @@ -167,7 +167,7 @@ CONFIG_PIC32MX_IOPORTG=y # can be enabled later by software). # CONFIG_PIC32MX_DEBUGGER=2 -CONFIG_PIC32MX_ICESEL=0 +CONFIG_PIC32MX_ICESEL=1 # # PIC32MX specific serial device driver settings