GithubHelp home page GithubHelp logo

nrf9160-dk's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

huntc cldershem

nrf9160-dk's Issues

Upgrade to latest HAL

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

Does not build

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.

Porting to SparkFun Thing Plus

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.

How to flash board

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.