Menu

Compiling for Microblaze

Help Me
2009-03-03
2013-04-29
  • Randu Hampler

    Randu Hampler - 2009-03-03

    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

     
    • Randu Hampler

      Randu Hampler - 2009-05-05

      okay. It was to simple. Some datatypes were not available.
      Greets
      Dummi

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.