//---------------------------------------------------------- // Init the platform as if on cold reset //---------------------------------------------------------- void initPlatform(void) { msp430Init(); #if USE_SERIAL_NUMBER #warning No serial number for testbed mote #endif }
//---------------------------------------------------------- // Init the platform as if on cold reset //---------------------------------------------------------- void initPlatform(void) { msp430Init(); #if USE_SERIAL_NUMBER serialNumberInit(); #endif // make sure radio is off when it is not used if (amb8420Init == NULL) { amb8420EnsureOff(); } }
//---------------------------------------------------------- // Init the platform as if on cold reset //---------------------------------------------------------- void initPlatform(void) { msp430Init(); #if USE_SERIAL_NUMBER serialNumberInit(); #endif #if USE_USER_BUTTON userButtonInit(); #endif #if !USE_EXT_FLASH // make sure the flash chip is in low power mode mdelay(10); m25pxx_init_low_power(); hw_spiBusOff(M25PXX_SPI_ID); #endif }