Hi, I'm trying to get the gattc_demo.c esp-idf example running in mongoose and when I try to build with mos I get;
In file included from /opt/Espressif/esp-idf/components/bt/bluedroid/hci/include/hci_layer.h:25:0,
/opt/Espressif/esp-idf/components/bt/bluedroid/osi/include/osi.h:9:0: error: "ARRAY_SIZE" redefined [-Werror]
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)))
In file included from /app/src/main.c:5:0:
/mongoose-os/common/platform.h:114:0: note: this is the location of the previous definition
#define ARRAY_SIZE(array) (sizeof(array) / sizeof(array))
Seems like the definition is doubled up between esp-idf and mongoose. Any clues on what I need to do?