i want to use the Nanostack on Microblaze. So I take N120-example and put it in my XPS-Projekt. Also i put the Mircoblaze-Port from FreeRTOS to the according Folder.
I didnt expect a succesfull compilation, but also not so much errors.
Most are of this type:
NanoStack-v1.1.0-GPL/Common/stack.c:504: error: expected ';' before 'stacks'
NanoStack-v1.1.0-GPL/Common/stack.c:505: error: 'buffer_t' has no member named 'from'
NanoStack-v1.1.0-GPL/Common/stack.c:513: error: 'struct <anonymous>' has no member named 'module'
NanoStack-v1.1.0-GPL/Common/stack.c:513: error: expected ')' before 'b'
NanoStack-v1.1.0-GPL/Common/stack.c:538: error: 'struct <anonymous>' has no member named 'module'
NanoStack-v1.1.0-GPL/Common/stack.c:538: error: expected ')' before 'b'
NanoStack-v1.1.0-GPL/Common/stack.c:561: error: invalid lvalue in assignment
or:
NanoStack-v1.1.0-GPL/FreeRTOS/Source/queue.c:123: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xQueueGenericSend'
NanoStack-v1.1.0-GPL/FreeRTOS/Source/queue.c:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uxQueueMessagesWaiting'
NanoStack-v1.1.0-GPL/FreeRTOS/Source/queue.c:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xQueueGenericSendFromISR'
For me it looks like it misses some Include-Files, so I included the pathes to .h-file in search path(FreeRTOS/Source/include Platform/nano/include Common/include FreeRTOS/Source/portable/GCC/MicroBlaze). The Demo of FreeRTOS for Microblaze runs on my Virtex4-Board.
Any suggestions?
Thanks and Greets
Dummi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
i want to use the Nanostack on Microblaze. So I take N120-example and put it in my XPS-Projekt. Also i put the Mircoblaze-Port from FreeRTOS to the according Folder.
I didnt expect a succesfull compilation, but also not so much errors.
Most are of this type:
NanoStack-v1.1.0-GPL/Common/stack.c:504: error: expected ';' before 'stacks'
NanoStack-v1.1.0-GPL/Common/stack.c:505: error: 'buffer_t' has no member named 'from'
NanoStack-v1.1.0-GPL/Common/stack.c:513: error: 'struct <anonymous>' has no member named 'module'
NanoStack-v1.1.0-GPL/Common/stack.c:513: error: expected ')' before 'b'
NanoStack-v1.1.0-GPL/Common/stack.c:538: error: 'struct <anonymous>' has no member named 'module'
NanoStack-v1.1.0-GPL/Common/stack.c:538: error: expected ')' before 'b'
NanoStack-v1.1.0-GPL/Common/stack.c:561: error: invalid lvalue in assignment
or:
NanoStack-v1.1.0-GPL/FreeRTOS/Source/queue.c:123: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xQueueGenericSend'
NanoStack-v1.1.0-GPL/FreeRTOS/Source/queue.c:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uxQueueMessagesWaiting'
NanoStack-v1.1.0-GPL/FreeRTOS/Source/queue.c:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xQueueGenericSendFromISR'
For me it looks like it misses some Include-Files, so I included the pathes to .h-file in search path(FreeRTOS/Source/include Platform/nano/include Common/include FreeRTOS/Source/portable/GCC/MicroBlaze). The Demo of FreeRTOS for Microblaze runs on my Virtex4-Board.
Any suggestions?
Thanks and Greets
Dummi
okay. It was to simple. Some datatypes were not available.
Greets
Dummi