OpenBSL  v.0.1.0
Macros
OpenBSL_Config.h File Reference

OpenBSL configuration header file. More...

Go to the source code of this file.

Macros

#define OPEN_BSL_CONFIG_DEBUG   (false)
 
#define OPEN_BSL_NUM_OF_MEM_SECTIONS   (2)
 
#define OPEN_BSL_CONFIG_PASSWORD_PROTECTED   (true)
 
#define OPEN_BSL_CONFIG_SUPPORT_CMD_ERASE_IMAGE   (true)
 
#define OPEN_BSL_CONFIG_SUPPORT_CMD_DOWNLOAD_IMAGE   (true)
 
#define OPEN_BSL_CONFIG_SUPPORT_CMD_UPLOAD_IMAGE   (true)
 
#define OPEN_BSL_CONFIG_SUPPORT_CMD_CALCULATE_CHECKSUM   (true)
 
#define OPEN_BSL_CONFIG_SUPPORT_CMD_ERASE_SEGMENT   (true)
 
#define OPEN_BSL_CONFIG_SUPPORT_CMD_DOWNLOAD_SEGMENT   (true)
 
#define OPEN_BSL_CONFIG_SUPPORT_CMD_UPLOAD_SEGMENT   (true)
 
#define OPEN_BSL_CONFIG_SUPPORT_CMD_JUMP_TO_ADDR   (true)
 
#define OPEN_BSL_CONFIG_PASSWORD   {'M', 'Y', 'P', 'A', 'S', 'S', 'W', 'D'}
 

Detailed Description

OpenBSL configuration header file.

Version
0.1
Remarks

Macro Definition Documentation

#define OPEN_BSL_CONFIG_DEBUG   (false)

OPEN_BSL_CONFIG_DEBUG set to true to activate debugging mode - can result in bigger code size

#define OPEN_BSL_CONFIG_PASSWORD   {'M', 'Y', 'P', 'A', 'S', 'S', 'W', 'D'}

OPEN_BSL_CONFIG_PASSWORD 8 bytes password which is used to open the commands inside OPEN_BSL_CMD_PASSWD command - only if OPEN_BSL_CONFIG_PASSWORD_PROTECTED is set as true

#define OPEN_BSL_CONFIG_PASSWORD_PROTECTED   (true)

OPEN_BSL_CONFIG_PASSWORD_PROTECTED set to true to activate security feature in which all command - except SYNC - are password protected, i.e. support for OPEN_BSL_CMD_PASSWD command

#define OPEN_BSL_CONFIG_SUPPORT_CMD_CALCULATE_CHECKSUM   (true)

OPEN_BSL_CONFIG_SUPPORT_CMD_CALCULATE_CHECKSUM set to true to activate OPEN_BSL_CMD_CALCULATE_CHECKSUM command

#define OPEN_BSL_CONFIG_SUPPORT_CMD_DOWNLOAD_IMAGE   (true)

OPEN_BSL_CONFIG_SUPPORT_CMD_DOWNLOAD_IMAGE set to true to activate OPEN_BSL_CMD_DOWNLOAD_IMAGE command

#define OPEN_BSL_CONFIG_SUPPORT_CMD_DOWNLOAD_SEGMENT   (true)

OPEN_BSL_CONFIG_SUPPORT_CMD_DOWNLOAD_SEGMENT set to true to activate OPEN_BSL_CMD_DOWNLOAD_SEGMENT command

#define OPEN_BSL_CONFIG_SUPPORT_CMD_ERASE_IMAGE   (true)

OPEN_BSL_CONFIG_SUPPORT_CMD_ERASE_IMAGE set to true to activate OPEN_BSL_CMD_ERASE_IMAGE command

#define OPEN_BSL_CONFIG_SUPPORT_CMD_ERASE_SEGMENT   (true)

OPEN_BSL_CONFIG_SUPPORT_CMD_ERASE_SEGMENT set to true to activate OPEN_BSL_CMD_ERASE_SEGMENT command

#define OPEN_BSL_CONFIG_SUPPORT_CMD_JUMP_TO_ADDR   (true)

OPEN_BSL_CONFIG_SUPPORT_CMD_JUMP_TO_ADDR set to true to activate OPEN_BSL_CMD_JUMP_TO_ADDR command

#define OPEN_BSL_CONFIG_SUPPORT_CMD_UPLOAD_IMAGE   (true)

OPEN_BSL_CONFIG_SUPPORT_CMD_UPLOAD_IMAGE set to true to activate OPEN_BSL_CMD_UPLOAD_IMAGE command

#define OPEN_BSL_CONFIG_SUPPORT_CMD_UPLOAD_SEGMENT   (true)

OPEN_BSL_CONFIG_SUPPORT_CMD_UPLOAD_SEGMENT set to true to activate OPEN_BSL_CMD_UPLOAD_SEGMENT command

#define OPEN_BSL_NUM_OF_MEM_SECTIONS   (2)

OPEN_BSL_NUM_OF_MEM_SECTIONS total number of memory sections of the device's on-chip non-volatile memory