Community news, upcoming events and general discussions
Threads: 36 Posts: 88
Get technical support from the community
Threads: 1397 Posts: 7500
Threads: 18 Posts: 64
Tell us how to make XDK better!
Threads: 36 Posts: 119
Share and discuss community member projects
Threads: 76 Posts: 337
I was trying to write data to the flash memory, and included the interface BCDS_MCU_Flash.h
But there were errors while compiling:
./../Platform/Essentials/include/mcu/BCDS_MCU_Flash.h:103:6: error: nested redefinition of 'enum RETCODE_HAL_UART_E'
./../Platform/Essentials/include/mcu/BCDS_MCU_Flash.h:103:6: error: redeclaration of 'enum RETCODE_HAL_UART_E'
So I renamed enum RETCODE_HAL_UART_E to enum RETCODE_HAL_FLASH_E in the BCDS_MCU_Flash.h to get rid of the error.
This happens in Workbench 3.3.1 and 3.4.