Re: MYNEWT_VAL(...) invalid syntax ?

2019-01-09 Thread markus
Hi Fabio, that gets me a bit further - although I'm not too excited about the duplication between syscfg.yml and the linker script. Anyway, further down the road I ran into an undefined function in the linker: stm32f3_flash_dev() 'turns out that got replaced with a global structure

Re: MYNEWT_VAL(...) invalid syntax ?

2019-01-09 Thread Fabio Utzig
Hi Markus, You may need to update your BSP's `syscfg.yml`, check one included BSPs that has the same MCU that you're using for a complete list. Your particular failure is that your `syscfg.yml` is missing a "STM32_FLASH_SIZE_KB" entry. Best, Fabio On Wed, Jan 9, 2019, at 4:30 AM, markus

Re: MYNEWT_VAL(...) invalid syntax ?

2019-01-08 Thread markus
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

Re: MYNEWT_VAL(...) invalid syntax ?

2019-01-08 Thread markus
Great - thanks for the clarification, that makes sense. Have fun, Markus On Tue, 8 Jan 2019 13:11:29 -0800 Christopher Collins wrote: > The next version of the newt tool will be backwards compatible with > older Mynewt repos. The latest versions of the Mynewt repos are > taking advantage of a

Re: MYNEWT_VAL(...) invalid syntax ?

2019-01-08 Thread Christopher Collins
The next version of the newt tool will be backwards compatible with older Mynewt repos. The latest versions of the Mynewt repos are taking advantage of a new newt feature (syscfg values in `pkg.yml`), so they do not work with older versions of newt. If a repo does not use this new feature, then

Re: MYNEWT_VAL(...) invalid syntax ?

2019-01-08 Thread markus
Hey Chris, that is understood and fine, the question and to some degree concern is the other way around. Will the next version of the newt tool be incompatible with all existing repositories? I understand that apache-mynewt-core and all other mynewt managed repositories don't have a problem with

Re: MYNEWT_VAL(...) invalid syntax ?

2019-01-08 Thread Christopher Collins
Hi Markus, On Tue, Jan 08, 2019 at 10:15:22AM -0800, markus wrote: > Hi Lukasz, > > got it, I guess I have to start building newt. > > Follow up question: Does this mean the next release will break all > repositories out there or is backwards compatibility still on the > roadmap for this

Re: MYNEWT_VAL(...) invalid syntax ?

2019-01-08 Thread markus
Hi Lukasz, got it, I guess I have to start building newt. Follow up question: Does this mean the next release will break all repositories out there or is backwards compatibility still on the roadmap for this release? Thanks, Markus On Tue, 8 Jan 2019 07:05:11 +0100 Łukasz Rymanowski wrote: >

Re: MYNEWT_VAL(...) invalid syntax ?

2019-01-07 Thread Łukasz Rymanowski
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 'been away for a few months and I can't build my projects anymore. I > updated repos/apache-mynewt-core