Hi
I tested the RC5 component of Flowcode v5 and i don't have a solution for my problem . All atmega micro that I tested generate the same error from compiler :
Launching the compiler...
C:\Program Files\Flowcode(AVR)\v5\Tools\MX_bats\avra.bat atmega328p "C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.elf" "C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c" "C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.lst"
C:\2014\proiecte ianuarie2014\proiecte flowcode avr 2013\v5\rc5 teste>"C:\PROGRA~1\FLOWCO~1\v5\Tools\MX_bats\..\bin\avr-gcc.exe" -mmcu=atmega328p -Os -funsigned-char -o "C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.elf" "C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c" -lm
C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c: In function 'FCD_RC50_RC5_Signal_Edge':
C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c:703: error: 'RC5_10_TIMER_PRE_VAL' undeclared (first use in this function)
C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c:703: error: (Each undeclared identifier is reported only once
C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c:703: error: for each function it appears in.)
C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c:767: error: 'RC5_10_LOWER_WIDTH' undeclared (first use in this function)
C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c:767: error: 'RC5_10_UPPER_WIDTH' undeclared (first use in this function)
C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c:769: error: 'RC5_10_CUTOFF_WIDTH' undeclared (first use in this function)
C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c: In function 'FCD_RC50_RC5_Timer_Event':
C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c:799: error: 'porta' undeclared (first use in this function)
C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c:827: error: 'RC5_10_TIMER_PRE_VAL' undeclared (first use in this function)
C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c:829: error: 'RC5_10_UPPER_WIDTH' undeclared (first use in this function)
C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c:868: error: 'RC5_10_LOWER_WIDTH' undeclared (first use in this function)
C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c:870: error: 'RC5_10_CUTOFF_WIDTH' undeclared (first use in this function)
C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c: In function 'FCD_RC50_RC5_RX_Enable':
C:\2014\PROIEC~1\PROIEC~1\v5\RC5TES~1\mega328v1.c error: 'RC5_10_TIMER_AVR_ENVAL' undeclared (first use in this function)
Error returned from [avr-gcc.exe]
Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.
FINISHED
I need some HELP , please .
Thank you
RC5 compiler error with atmega
Moderator: Benj
-
- Flowcode v5 User
- Posts: 24
- Joined: Wed Jun 06, 2012 11:52 am
- Location: London
- Has thanked: 5 times
- Contact:
RC5 compiler error with atmega
- Attachments
-
- mega328v1.fcf_avr
- atmega328
- (12 KiB) Downloaded 257 times