• I am using a stripped down version of the STM32 Cryptographic library package.

    I am attempting to custom compile the pico firmware to include a very basic aes cbc cipher library. I will eventually include more, however, right now I am just trying to get the hang of custom compiling the firmware.

    The error I am receiving is:

    In file included from /home/espruino/Espruino/src/jsvar.h:17:0,

                 from /home/espruino/Espruino/src/jsparse.h:17,
                 from /home/espruino/Espruino/src/jsinteractive.h:17,
                 from libs/crypto/jswrap_crypto_cbc.c:3: /home/espruino/Espruino/src/jsutils.h:436:14: error: conflicting types
    

    for 'rand' unsigned int rand();

    make: *** [libs/crypto/jswrap_crypto_cbc.o] Error 1 Build failed

    I executed ./create_pico_image_1v3.sh to compile.
    I have a feeling there are more errors, but the complete output status of the compiling has been chopped off in the terminal. Is there a log file where I can view the complete compiling log?

    crypto.tar.gz is the stripped down version and the original library can be found at: http://www.st.com/web/en/catalog/tools/PF259409


    1 Attachment

About

Avatar for d0773d @d0773d started