Error in BCDS_MCU_Flash.h
Antwort
24.09.18 09:51

Hello,

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.

 

 

0 (0 Stimmen)
RE: Error in BCDS_MCU_Flash.h
Antwort
24.09.18 18:40 als Antwort auf Ikhwani Ikhwani.
Hello Ikhwani,

Thank you for providing this hint and also your workaround, which is simple and logical, how it is supposed to be.

If you come across consequential errors, please let me know.

Kind regards,
Franjo
0 (0 Stimmen)