EVM430-FR6043: USS library

are you removing the HMI function in the main loop only or the header also removed...

```

#include <stdint.h>
#include "hal.h"
#include "USSLibGUIApp.h"
#include "hmiDC/hmi.h"

#if defined(__TI_COMPILER_VERSION__)
#pragma DATA_SECTION(app_version, ".version")
#pragma RETAIN(app_version)
const uint8_t app_version[8] = {0x02,0x40,0x00,0x00,__EXTRA_VERSION__,__EVM430_ID__,__EVM430_VER__};
#else // __TI_COMPILER_VERSION__

#pragma location="VERSION"
__root const uint8_t app_version[8] = {0x02,0x40,0x00,0x00,__EXTRA_VERSION__,__EVM430_ID__,__EVM430_VER__};
#endif


/*** FUNCTIONS ***/


//*****************************************************************************
//
//! In this software main will call a few initialization routines and then it
//! will jump to the main loop for the Design Center
//!
//! \return none
//
// *****************************************************************************
void main(void)
{
uint16_t reset_source = 0x00;

// Initializes the basic functionality of the system
hal_system_Init();

// Initialize interfaces to user including buttons, LCD, GUI
//HMI_Init();

// Verify the reset source and log/report if there was an error
reset_source = hal_system_GetResetSource();

if(reset_source != 0x00)
{
USSLibGUIApp_send_error(COMMAND_HANDLER_ERROR_FAULT_RESET_ERROR,
reset_source);
}

__enable_interrupt();

// Initialize the USS Lib
USSLibGUIApp_Init();

// This is the Design Centers Main Loop
USSLibGUIApp_Engine();
}

```

  • Hi,

    What is the question here? Are you trying to remove the HMI function in the MSP430FR6007EVM_USS_Water_Demo? If so, then yes. You can remove all the HMI related functions in the demo and also remove the header files. 

    Best regards,

    Cash Hao

**Attention** This is a public forum