mcuboot/boot/boot_serial
Christopher Collins 30151a33be Mynewt: Fix boot_serial unit tests
These unit tests were failing with build errors such as this:

    boot/boot_serial/test/src/testcases/boot_serial_img_msg.c:64:26: error: use of undeclared identifier 'FLASH_AREA_IMAGE_PRIMARY'
        rc = flash_area_open(FLASH_AREA_IMAGE_PRIMARY, &fap);
                             ^
The `FLASH_AREA_IMAGE_{PRIMARY,SECONDARY} definitions were not visible
because `MCUBOOT_MYNEWT` was not getting defined in the boot_serial
unit test package.

This commit defines `MCUBOOT_MYNEWT` in the boot_serial unit test
package, and adds the necessary include to pull in the PRIMARY /
SECONDARY definitions.

Signed-off-by: Christopher Collins <ccollins@apache.org>
2019-03-21 09:05:22 -07:00
..
include/boot_serial boot_serial; improve platform abstraction. 2018-06-14 23:19:06 +03:00
src zephyr: fix build with zephyr 2019-02-22 10:36:41 +01:00
test Mynewt: Fix boot_serial unit tests 2019-03-21 09:05:22 -07:00
pkg.yml boot_serial; improve platform abstraction. 2018-06-14 23:19:06 +03:00
syscfg.yml zephyr/serial_adapter; no need to inject \r on \n anymore. 2018-06-14 23:19:06 +03:00