On Jan 19, 2017, at 9:15 AM, Marcus Shawcroft <marcus.shawcroft(a)gmail.com> wrote:
#include <stdint.h>Not having much luck there, but its possible I’m missing something obvious because of lack of sleep:
printf("blah %" PRIu32 " more blah", v);
In file included from /home/galak/git/zephyr-project/subsys/bluetooth/controller/hci/hci_driver.c:24:0:
/home/galak/git/zephyr-project/subsys/bluetooth/controller/hci/hci_driver.c: In function 'hci_driver_open':
/home/galak/git/zephyr-project/subsys/bluetooth/controller/hci/hci_driver.c:388:33: error: expected ')' before 'PRIu32'
BT_ERR("Required RAM size: %" PRIu32 ", supplied: %u.", err,
That would be my fault, my example above is missing:
Ah, that fixes things.
Now to the question about how uint32_t should be defined ;)