Closed SatishSolankeEsp closed 5 months ago
Hi,
this looks like repositories are not installed, did you run 'newt upgrade' ? what does 'newt info' shows?
newt info and newt upgrade shows warning like above .
looks like you are using very old version (1.4) of mynewt, please get latest newt tool from https://mynewt.apache.org/download/ and than either create new project or adjust your project.yml to point to 1.11.0 and do newt upgrade
I Have change newt to 1.10.0 and still not able to build shows above errors .
I am not able to create new project show below error
newt 1.10 had a bug, so either use newt 1.11 or try 'newt new --shallow=0 sniffproj'
as for unknown gcc option, you probably need to upgrade your toolchain
I switch back to newt 1.9.0 works fine able to create new proj.
Build shows new error now:
for gcc error i will check how to upgrade toolchain
Could you also guide on how to upgrade toochain ? This is my current gcc version :
I strongly suggest to test with newt 1.11, there were a lot of nrf53 related improvements in latest releases
As for ARM GCC update, you can either update ubuntu (18.04 is quite old...) or download one from ARm directly https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads (I suggest using GCC 12 as 13 may give you some compilation warning we haven't fix yet)
Also, you may want to check cwiki for nRF53 on Mynewt: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=177047756 (and I'd recommend to use NRF5340_EMBED_NET_CORE:1 option instead of building own netcore image)
Hello @sjanc, with regard to the nrf53840dk and nrf52840dk chipset, which Ubuntu version would you recommend that I install for my new setup? In fact, I'm having trouble setting up with newt1.11 and Ubuntu 18.04. Could you please comment? Ubuntu 20.04 or Ubuntu 22.04?
Step as follow: 1) repo init for mynewtnimble and mynewtcore. 4) FT32 and nrf53 tx and rx connection both are detecting the port. (Jlink installed for nrf) 2) downloading tag of newt1.11 and install using build.sh 3) creating proj and building it.
does above steps ok for mynewt setup with nrf53 or nrf52
Thanks, Satish
Hi, is this stil an issue?
No, Please Close.
Hi I am trying to create the ble project with blehci , created two target for nrf5340dk
but show the above error while building the target.
i could also see the couple of warning as below :![image](https://github.com/apache/mynewt-core/assets/102321386/19d9178f-4f8b-4ae9-a0b8-ed00ea504c9a)
Please help to build project for nrf5340dk. I would like flash the mynewt ble controller on nrf via hci .
Thanks, Satish