Hi Lukasz,
did manually build newt and run into some build failures:
.....
Compiling repos/apache-mynewt-core/hw/mcu/stm/stm32_common/src/hal_gpio.c
Error: In file included from
repos/apache-mynewt-core/kernel/os/include/os/mynewt.h:23:0,
from
repos/apache-mynewt-core/hw/mcu/stm/stm32_common/src/hal_flash.c:21:
bin/targets/spi/generated/include/syscfg/syscfg.h:15:49: error:
'MYNEWT_VAL_STM32_FLASH_SIZE_KB' undeclared here (not in a function); did you
mean 'MYNEWT_VAL_STM32_FLASH_IS_LINEAR'?
#define MYNEWT_VAL(x) MYNEWT_VAL_ ## x
^
repos/apache-mynewt-core/hw/mcu/stm/stm32_common/src/hal_flash.c:30:30: note:
in expansion of macro 'MYNEWT_VAL'
#define _FLASH_SIZE (MYNEWT_VAL(STM32_FLASH_SIZE_KB) * 1024)
^~~~~~~~~~
repos/apache-mynewt-core/hw/mcu/stm/stm32_common/src/hal_flash.c:64:16: note:
in expansion of macro '_FLASH_SIZE'
.hf_size = _FLASH_SIZE,
^~~~~~~~~~~
Anything else I should be doing?
I also updated master again - just in case
* master cb9ece042 hw/drivers/lps33thw: Restore read error
stats
Thanks again,
Markus
On Tue, 8 Jan 2019 07:05:11 +0100
Łukasz Rymanowski <[email protected]> wrote:
> Hi Markus,
>
> If master is used on mynewt-core then master branch of newt tool
> should be used. Please try this and let us know of it works for you
>
> Best
> Lukasz
>
>
> On Tue, Jan 8, 2019, 06:18 markus <[email protected] wrote:
>
> > 'been away for a few months and I can't build my projects anymore. I
> > updated repos/apache-mynewt-core to the latest master branch
> > (59912fc02) and it seems I'm running the latest newt tool, 1.5.0
> >
> > Executing `newt build ...` gives me an error for each package in
> > apache-mynewt-core:
> >
> > * Warning: Parsing pkg @apache-mynewt-core/boot/boot_serial config:
> > strconv.ParseInt: parsing
> > "MYNEWT_VAL(BOOT_SERIAL_SYSINIT_STAGE_MAIN)": invalid syntax;
> > ignoring package.
> >
> >
> > I couldn't find anything in the release notes - any clues as to what
> > I'm doing wrong would be much appreciated.
> >
> > Thanks,
> > Markus
> >