Hi Sterling,

Thanks for the heads up. I added the cflag via '$ newt target set bootloader cflags=-DBOOT_SERIAL' and I can see that it exists in '/repos/apache-mynewt-core/libs/boot_serial', though when I try to build I'm getting:

   $ newt build bootloader
   Building target targets/bootloader
   Compiling boot.c
   Error: boot.c:33:37: fatal error: boot_serial/boot_serial.h: No such
   file or directory
     #include <boot_serial/boot_serial.h>
                                         ^
   compilation terminated.

The target definition seems fine though (I'm on the 'master' branch just as a FYI):

   $ newt target show
   targets/bootloader
        app=@apache-mynewt-core/apps/boot
        bsp=hw/bsp/feather52
        build_profile=optimized
        cflags=-DBOOT_SERIAL

I also tried 'newt install' and 'newt upgrade' to refresh the local setup but same results. Perhaps I need to update something in the local BSP, though ... I'll have a look at that.

Thanks for the heads up about this library, though. Somehow it never ended up on my radar, but I'll try to get this building and test it out this weekend.

BR,

Kevin

Reply via email to