mynewt-core icon indicating copy to clipboard operation
mynewt-core copied to clipboard

Priority violations

Open danielkucera opened this issue 4 years ago • 8 comments

Latest master fails to compile with throwing following error:

Building target targets/nrf52_boot
Error: Priority violations detected (Packages can only override settings defined by packages of lower priority):
    Package: @apache-mynewt-core/hw/mcu/nordic/nrf52xxx overriding setting: OS_TICKS_PER_SEC defined by @apache-mynewt-core/kernel/os

Setting history (newest -> oldest):
    OS_TICKS_PER_SEC: [@apache-mynewt-core/hw/mcu/nordic/nrf52xxx:128, @apache-mynewt-core/kernel/os:]

How do I fix this?

danielkucera avatar Feb 06 '21 14:02 danielkucera

You need to use latest newt tool (see https://github.com/apache/mynewt-newt/pull/423).

andrzej-kaczmarek avatar Feb 06 '21 15:02 andrzej-kaczmarek

By latest do you mean version 1.8.0? I alread have Apache Newt 1.8.0 / unknown / 2020-06-23_13:52. Still getting the same error as above.

navan93 avatar Feb 09 '21 16:02 navan93

1.8.0 seems to be not enough. A new release would be helpful.

danielkucera avatar Feb 09 '21 16:02 danielkucera

@danielkucera @navan93 you need to be using master. BTW, @andrzej-kaczmarek maybe we could start tagging the PRs that break build with non-latest master and cross referencing PRs between core and newt, what do you think?

mlaz avatar Feb 09 '21 17:02 mlaz

we could, although general rule of thumb would be use tools from master when playing with core master branch (same goes for nimble repo)

sjanc avatar Feb 15 '21 16:02 sjanc

@danielkucera you may wanna check with 1.9-rc1 https://dist.apache.org/repos/dist/dev/mynewt/apache-mynewt-1.9.0/rc1/

sjanc avatar Mar 31 '21 11:03 sjanc

is this stil an issue with 1.9 ?

sjanc avatar Apr 19 '21 14:04 sjanc

It seems yes but now I'm stuck on another error #2583

danielkucera avatar Apr 26 '21 17:04 danielkucera