Attention to Internet Explorer users: ROHM website does not recommend browsing in IE 11. Please use latest browser to ensure the best performance on ROHM website.
I am developing program for ML610482 utilizing the sample program of ML610400 Series. When #include is written in a C source program including "mcu.h", the following error is output.C:\PROGRA~1\U8Dev\Inc\m610431.h(24) : Error : E4007 : Redefinition of variable '_BYTE_FIELD'
The default macro definition of the sample program is _ML610Q431. Please define the "_ML610Q482" macro in the project file. The setting method is as follows.
Select [Project] -> [Options] -> [Compile/Assemble] -> [Macro] tab in the IDEU8 integrated environment. ・ In the "Macro" field, write _ML610Q482, and push the [Add] button. *If macros for other microcontroller models such as _ML610Q431, etc. are already defined, delete them. ・ After pushing the [Apply] button, close the [Compile/Assemble Option] dialog box. ・ Rebuild.
The build method when using the "ML610Q400 Series Sample Software", refer to "How to Build" in each sample program AP note.
Related Products: ML610(Q)40x, ML610(Q)42x, ML610(Q)47x, ML610(Q)48x, ML610Q41x, ML610Q43x, ML610Q46x, ML620Q416/ML620Q418