diff --git a/src/wtp/wtp_conf.c b/src/wtp/wtp_conf.c index ec1a600f..16185c44 100644 --- a/src/wtp/wtp_conf.c +++ b/src/wtp/wtp_conf.c @@ -209,6 +209,8 @@ int wtpconf_preinit() conf_vendor_id = CONF_DEFAULT_VENDOR_ID; conf_software_version = bstr_create_from_cfgstr(CONF_DEFAULT_SOFTWARE_VERSION); + conf_hardware_version = bstr_create_from_cfgstr(CONF_DEFAULT_HARDWARE_VERSION); + conf_bootloader_version = bstr_create_from_cfgstr(CONF_DEFAULT_BOOTLOADER_VERSION); conf_serial_no = bstr_create_from_cfgstr(CONF_DEFAULT_SERIAL_NO); conf_board_id = bstr_create_from_cfgstr(CONF_DEFAULT_BOARD_ID); diff --git a/src/wtp/wtp_conf.h b/src/wtp/wtp_conf.h index 0e4f1b4c..32c5e121 100644 --- a/src/wtp/wtp_conf.h +++ b/src/wtp/wtp_conf.h @@ -61,6 +61,10 @@ extern uint8_t conf_macaddress_len; #define CONF_DEFAULT_BOOTLOADER_VENDOR_ID CW_VENDOR_ID_FSF #endif +#ifndef CONF_DEFAULT_BOOTLOADER_VERSION + #define CONF_DEFAULT_BOOTLOADER_VERSION "W-FAT-BL-0.1" +#endif + #ifndef CONF_DEFAULT_MODEL_NO #define CONF_DEFAULT_MODEL_NO "W-FAT" #endif