nrf-rs / nrf9160-dk Goto Github PK
View Code? Open in Web Editor NEWBSP for the Nordic nRF9160-DK
BSP for the Nordic nRF9160-DK
As at the time of writing, the latest HAL is v0.12.1. It appears lots has changed since v0.10.0, including TWIM, which I'm particularly interested in.
When upgrading (as originally reported by @jonathanpallant in the nrf-hal project), there are errors relating to PIN configuration as per:
error[E0308]: mismatched types
--> src/lib.rs:439:24
|
439 | P0_00: pins0.p0_00,
| ^^^^^^^^^^^ expected struct `Input`, found struct `Disconnected`
|
= note: expected struct `P0_00<Input<Floating>>`
found struct `P0_00<Disconnected>`
This change is required as a result of nrf-rs/nrf-hal@0da9989
The project isn't building due to a reliance on the following:
nrfxlib = { git = "https://github.com/42-technology-ltd/nrfxlib.git", branch="support_151" }
I guess we can rely on master now? I will raise a PR.
Running the CI after a push to master is not that helpful :/
Hey ๐
Just wondering how easy this is to port to a SparkFun Thing Plus nRF9160 https://www.sparkfun.com/products/17354. All the shcematics and wiring are public I'm more struggling with the implementation of the "features"
I've gotten most of the way with pin mappings, but I'm stuck on the external flash, USB-UART, battery measurement and a couple of other things.
What I've achieved so far (does not work once flashed), is here: https://github.com/napei/nrf9160-sparkfun
There is also an LED, which is connected to D7, which is also made available as a header on the board so not sure how to handle that exclusivity.
Tring to create an hex file to flash on my nRF9160-dk board. So far with no success.
Stolen some ideas from https://github.com/42-technology-ltd/nrf9160-demo/tree/use_latest_nrfxlib and
file https://github.com/42-technology-ltd/nrf9160-demo/blob/use_latest_nrfxlib/release.sh.
Tried to use arm-none-eabi-objcopy -O ihex $INPUT $OUTPUT_DIR/nrf9160dk.hex
to create an hex file and then use that file to flash with the programmer in nRF Connect.
The board is successfully flashed but no COM printouts or LEDs blinks.
The hex file that arm-none-eabi-objcopy pops out is 1KB large and the input \target\thumbv8m.main-none-eabihf\debug\examples is on 1008KB large so something is probably wrong there.
Do you have any recommendation on how to flash on rust code to nNF9160-dk? Please update readme if you can.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.