Adding AES to ESP32 board

Posted on
  • Hi guys,

    I am trying to add AES support for ESP32 board, but:
    compilation fails with a lot of erros like that:
    espruino_embedded.c:14303:27: error: conflicting types for '__uintmax_t'; have 'long unsigned int'
    14303 | typedef unsigned long int __uintmax_t;

      |                           ^~~~~~~~~~~
    

    /opt/Espressif/riscv32-esp-elf/riscv32-esp-elf/sys-include/machine/_default_types.h:222:26: note: previous declaration of 'uintmax_t' with type 'uintmax_t' {aka 'long long unsigned int'}
    222 | typedef UINTMAX_TYPE __uintmax_t;

    Can I suppress redefining of typedefs?

    Thank you very much in advance!

  • Hi - I'm not quite sure why you're compiling espruino_embedded.c ? That's not normally what we'd use on an ESP32 build...

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Adding AES to ESP32 board

Posted by Avatar for user159289 @user159289

Actions