Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Project compiling error in Simulation mode

  • termind - 2020-11-17

    I use Codesys My project include Raspberry Pi SL SPI master for MCP3008. It work with Raspberry connected. But in Simulation mode compiler returns errors:
    [ERROR] raspberry pi peripherals, (3s - smart software solutions gmbh): transferExt [spiMaster]: C0032: Cannot convert type 'POINTER TO spi_ioc_transfer' to type 'UDINT'
    [ERROR] raspberry pi peripherals, (3s - smart software solutions gmbh): init [spiMaster]: C0032: Cannot convert type 'POINTER TO DINT' to type 'UDINT'

  • eschwellinger

    eschwellinger - 2020-11-17

    you need to report this in the CODESYS store -> my question -> bug report
    Seems that the simulation dooes not work with raspberry pi peripherals,

  • termind - 2020-11-18

    Their answer was:
    you can also restart the Pi and used again for 2h in demo.

    Mit freundlichen Grüßen / Best regards"

    No bad at all :)

  • nyee - 2023-09-07

    I have a similar issue - we have been using codesys V3.5.16.20
    Do you have any suggestions or confirmation that this will work with a different version of codesys and Pi extension

  • eschwellinger

    eschwellinger - 2023-09-08

    I fear you need to update if you need a solution for this.


    Last edit: eschwellinger 2023-09-08

Log in to post a comment.