Merge pull request #13 from ferrous-systems/beginner_from_scratch_blinky

beginner/README.md: add some tips for first steps in your project from scratch
This commit is contained in:
Jorge Aparicio 2020-06-26 09:04:09 +00:00 committed by GitHub
commit 1f65e197a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -646,10 +646,26 @@ If no HAL is available for your device then you'll need to build one yourself. T
> NOTE additional content, if needed / desired
## Hello, 💡
Now that you've set up your own project from scratch, you could start playing around with it by turning on one of the DK's on-board LEDs using only the HAL. Some hints that might be helpful there:
- The [Nordic Infocenter][infocenter] tells you which LED is connected to which pin.
[infocenter]: https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf52840_dk%2FUG%2Fnrf52840_DK%2Fhw_buttons_leds.html
## (extra) adding addresses to packets
> have people use the `ieee802154` crate to add a MAC header to the radio packet. New dongle firmware would be required to respond differently to broadcast packets and addressed packets
## References
## References and Resources
- [nRF52840 Product Specification 1.1](https://infocenter.nordicsemi.com/pdf/nRF52840_PS_v1.1.pdf)
- The [Embedded Rust Book][embedded rust] is a great learning resource, especially the Concurrency chapter.
- If you are looking to write an interrupt handler, look at the [`#[interrupt]` attribute][interrupt]. All interrupts implemented by the nrf52840 hal are listed in [`nrf52840-pac/src/lib.rs`][pac].
It is also recommended that you work through the advanced material of this course to learn about [RTIC][rtic].
[pac]: https://github.com/nrf-rs/nrf52840-pac/blob/9558a3ed032b2aec7e57c2f42330f1dee0000a04/src/lib.rs#L167
[interrupt]: https://docs.rs/cortex-m-rt-macros/0.1.5/cortex_m_rt_macros/attr.interrupt.html
[rtic]: https://docs.rs/cortex-m-rtic/0.5.3/rtic/
[embedded rust]: https://rust-embedded.github.io/book/