osd-contiki/cpu/stm32w108/hal/micro/cortexm3/iap_bootloader.h
2011-03-22 19:35:49 +01:00

35 lines
721 B
C

/** @file iap_bootloader.h
* @brief IAP bootloader specific definitions
* <!--(C) COPYRIGHT 2010 STMicroelectronics. All rights reserved. -->
*/
/**
* @brief Application start address
*/
#define IAP_BOOTLOADER_APPLICATION_ADDRESS 0x08003000
/**
* @brief Radio PAN ID for OTA bootloader
*/
#define IAP_BOOTLOADER_PAN_ID 0xb00b
/**
* @brief Signature used for switch to application
*/
#define IAP_BOOTLOADER_APP_SWITCH_SIGNATURE 0xb001204d
/**
* @brief Radio default channel for OTA bootloader
*/
#define IAP_BOOTLOADER_DEFAULT_CHANNEL 0x0F
/**
* @brief IAP bootloader uart mode
*/
#define IAP_BOOTLOADER_MODE_UART 0
/**
* @brief IAP bootloader OTA mode
*/
#define IAP_BOOTLOADER_MODE_OTA 1