#elif defined(BOARD_NXP_LPCXPRESSO_824) Chip_Clock_EnablePeriphClock(SYSCTL_CLOCK_SWM);//<----- add this line to enable SWM clock Chip_SWM_MovablePinAssign(SWM_SPI1_SSEL0_IO, 15); Chip_SWM_MovablePinAssign(SWM_SPI1_SCK_IO, 24); Chip_SWM_MovablePinAssign(SWM_SPI1_MISO_IO, 25); Chip_SWM_MovablePinAssign(SWM_SPI1_MOSI_IO, 26); Chip_Clock_DisablePeriphClock(SYSCTL_CLOCK_SWM);//<----- add this line to save power #else |