Build MQX librairies

Discussion in 'Arduino IDE' started by modjo, Apr 25, 2017.

  1. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Hi, i'm trying to resolve an issue with CAN bus and M4 core, see this post. also, I have opened an issue on gitHub for that.
    I'm trying to resolve this by myself (disable ecspi5 on MQX init), for that i follow this tutorial.
    Now i can build the librairies (i applied the patch). then i copy it (mqx/lib/imx6sx_sdb_m4.gcc_arm/release/) to arduino variant (.arduino15/packages/UDOO/hardware/solox/1.6.7/variants/udooneo/mqx/). Build the blink example, but i have this error in arduino ide :

    Code:
    /tmp/build8734b5956af025a6f35ec1ff4c53311d.tmp/core/UART_mqx.c.o: In function `mqx_uart_receive_task':
    /home/mls/.arduino15/packages/UDOO/hardware/solox/1.6.7/variants/udooneo/UART_mqx.c:204: undefined reference to `AddMsk_Shared_RAM'
    /tmp/build8734b5956af025a6f35ec1ff4c53311d.tmp/core/UART_mqx_mcc.c.o: In function `mqx_mccuart_receive_task':
    /home/mls/.arduino15/packages/UDOO/hardware/solox/1.6.7/variants/udooneo/UART_mqx_mcc.c:199: undefined reference to `AddMsk_Shared_RAM'
    /tmp/build8734b5956af025a6f35ec1ff4c53311d.tmp/core/main.c.o: In function `exit_task':
    /home/mls/.arduino15/packages/UDOO/hardware/solox/1.6.7/variants/udooneo/main.c:93: undefined reference to `AddMsk_Shared_RAM'
    /home/mls/.arduino15/packages/UDOO/hardware/solox/1.6.7/variants/udooneo/main.c:122: undefined reference to `AddMsk_Shared_RAM'
    /tmp/build8734b5956af025a6f35ec1ff4c53311d.tmp/core/main.c.o: In function `arduino_yield_task':
    /home/mls/.arduino15/packages/UDOO/hardware/solox/1.6.7/variants/udooneo/main.c:134: undefined reference to `AddMsk_Shared_RAM'
    /tmp/build8734b5956af025a6f35ec1ff4c53311d.tmp/core/main.c.o:/home/mls/.arduino15/packages/UDOO/hardware/solox/1.6.7/variants/udooneo/main.c:151: more undefined references to `AddMsk_Shared_RAM' follow
    collect2: error: ld returned 1 exit status
    exit status 1
    Error compiling for board UDOO Neo (Cortex M4).
    AddMsk_Shared_RAM is not declared/implemented in the patch, @Andrea Rovai , @ektor5 , can you help please ?
     

Share This Page