Hi,

Looks like you are using mynewt 1.9 but your nimble repository is head of
master branch.
Mynewt 1.9 was released with NimBLE 1.4.

You should either set NimBLE to 1.4 (`newt upgrade` should do it) or you
update your project to latest release which should give you NimBLE 1.7
Also note that using NimBLE from master branch will likely require Mynewt
from master as well as newt tool build from master branch..



On Tue, 11 Jun 2024 at 09:38, Ujjval Rathod <ujjwalrathod...@gmail.com>
wrote:

> Hi,
>
> Here is the output
>
> $newt info
> Apache Newt 1.9.0 / unknown / 2024-05-21_17:20
> Repository info:
>     * apache-mynewt-core: b9ca5270c7954815c41e4451345f04d300b8e9fa, 1.9.0
>     * apache-mynewt-mcumgr: 62009e0ef131762f966e2f877bc467fb5743d35b, 0.2.0
>     * apache-mynewt-nimble: 89d6fd6c474e3273abe33d18794d69968a145366,
> 0.0.0, (dirty: local changes)
>     * mcuboot: 137d79717764ed32d5da4b4b301f32f81b2bf40f, 0.0.0
>
> $ newt target show ble_tgt1
> targets/ble_tgt1
>     app=apps/ble_app
>     bsp=@apache-mynewt-core/hw/bsp/nordic_pca10040
>     build_profile=optimized
>
> Regards,
> Ujjval
>
> On Tue, Jun 11, 2024 at 12:46 PM Szymon Janc <szymon.j...@codecoup.pl>
> wrote:
>
> > Hi,
> >
> > What version do you use? This setting was defunct in NimBLE 1.5 ?
> > Also please share your repo and target configuration
> >
> > newt info
> > newt target show ble_tgt1
> >
> >
> >
> > On Tue, 11 Jun 2024 at 05:59, Ujjval Rathod <ujjwalrathod...@gmail.com>
> > wrote:
> >
> > > Hi,
> > >
> > > When I try to build a simple BLE application it fails with following
> > error
> > >
> > >
> > > *Building target targets/ble_tgt1Error: Config for package
> > > @apache-mynewt-nimble/nimble/transport: setting BLE_HCI_EVT_BUF_SIZE
> does
> > > not have required value field*
> > >
> > > What is this error and how to solve this? Internet search did not have
> > that
> > > much content.
> > >
> > > Regards,
> > > Ujjval
> > >
> >
> >
> > --
> > pozdrawiam
> > Szymon K. Janc
> >
>


-- 
pozdrawiam
Szymon K. Janc

Reply via email to