Microcontroller › AVR › AVR32UC3B FreeRtos Problema
- This topic has 0 replies, 1 voice, and was last updated 9 years, 8 months ago by hhumberto.
Viewing 1 post (of 1 total)
-
AuthorPosts
-
January 16, 2015 at 11:51 pm #3401hhumbertoParticipant
Hi!
I Want to compile and install the FreeRtos demo project for the AVR32UC3B and I got those errors.
Compiling `../../BOARDS/EVK1101/led.c’ to `../../BOARDS/EVK1101/led.o’.Warning: Deprecated arch `uc’ specified. Please use ‘-march=ucr1’ instead. Using arch ‘ucr1’../../BOARDS/EVK1101/led.c:46:22: error: avr32/io.h: No such file or directoryIn file included from ../../BOARDS/EVK1101/led.c:50:../../BOARDS/EVK1101/led.h:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LED_Read_Display’../../BOARDS/EVK1101/led.h:76: error: expected ‘)’ before ‘leds’../../BOARDS/EVK1101/led.h:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LED_Read_Display_Mask’../../BOARDS/EVK1101/led.h:96: error: expected ‘)’ before ‘mask’../../BOARDS/EVK1101/led.h:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LED_Test’../../BOARDS/EVK1101/led.h:115: error: expected ‘)’ before ‘leds’../../BOARDS/EVK1101/led.h:123: error: expected ‘)’ before ‘leds’../../BOARDS/EVK1101/led.h:131: error: expected ‘)’ before ‘leds’../../BOARDS/EVK1101/led.h:143: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LED_Read_Display_Field’../../BOARDS/EVK1101/led.h:153: error: expected ‘)’ before ‘field’../../BOARDS/EVK1101/led.h:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LED_Get_Intensity’../../BOARDS/EVK1101/led.h:179: error: expected ‘)’ before ‘leds’../../BOARDS/EVK1101/led.c:58: error: expected specifier-qualifier-list before ‘U32’../../BOARDS/EVK1101/led.c:63: error: expected specifier-qualifier-list before ‘S32’../../BOARDS/EVK1101/led.c:77: error: ‘AVR32_PIN_PA07’ undeclared here (not in a function)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[0].GPIO’)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[0].GPIO’)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[0].PWM’)../../BOARDS/EVK1101/led.c:77: error: ‘AVR32_PWM_PWM_0_0_FUNCTION’ undeclared here (not in a function)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[0].PWM’)../../BOARDS/EVK1101/led.c:77: error: ‘AVR32_PIN_PA08’ undeclared here (not in a function)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[1].GPIO’)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[1].GPIO’)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[1].PWM’)../../BOARDS/EVK1101/led.c:77: error: ‘AVR32_PWM_PWM_1_0_FUNCTION’ undeclared here (not in a function)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[1].PWM’)../../BOARDS/EVK1101/led.c:77: error: ‘AVR32_PIN_PA21’ undeclared here (not in a function)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[2].GPIO’)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[2].GPIO’)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[2].PWM’)../../BOARDS/EVK1101/led.c:77: error: ‘AVR32_PWM_PWM_2_0_FUNCTION’ undeclared here (not in a function)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[2].PWM’)../../BOARDS/EVK1101/led.c:77: error: ‘AVR32_PIN_PA22’ undeclared here (not in a function)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[3].GPIO’)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[3].GPIO’)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[3].PWM’)../../BOARDS/EVK1101/led.c:77: error: ‘AVR32_PWM_PWM_6_0_FUNCTION’ undeclared here (not in a function)../../BOARDS/EVK1101/led.c:77: warning: excess elements in struct initializer../../BOARDS/EVK1101/led.c:77: warning: (near initialization for ‘LED_DESCRIPTOR[3].PWM’)../../BOARDS/EVK1101/led.c:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LED_State’../../BOARDS/EVK1101/led.c:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LED_Read_Display’../../BOARDS/EVK1101/led.c:92: error: expected ‘)’ before ‘leds’../../BOARDS/EVK1101/led.c:119: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LED_Read_Display_Mask’../../BOARDS/EVK1101/led.c:125: error: expected ‘)’ before ‘mask’../../BOARDS/EVK1101/led.c:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LED_Test’../../BOARDS/EVK1101/led.c:161: error: expected ‘)’ before ‘leds’../../BOARDS/EVK1101/led.c:182: error: expected ‘)’ before ‘leds’../../BOARDS/EVK1101/led.c:203: error: expected ‘)’ before ‘leds’../../BOARDS/EVK1101/led.c:224: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LED_Read_Display_Field’../../BOARDS/EVK1101/led.c:230: error: expected ‘)’ before ‘field’../../BOARDS/EVK1101/led.c:236: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LED_Get_Intensity’../../BOARDS/EVK1101/led.c:251: error: expected ‘)’ before ‘leds’Makefile:559: recipe for target ‘../../BOARDS/EVK1101/led.o’ failedmake: *** [../../BOARDS/EVK1101/led.o] Error 1Maybe you can help me!Thanks! -
AuthorPosts
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.