Now the script supports more flashing methods: - JLink (with tockloader) - OpenOCD (with tockloader) - pyOCD - Nordic DFU - none (will produce an IntelHex file) Also merged the contributions from: - Yihui Xiong to support the Makerdiary USB dongle board - Dennis Geurts to support Nordic DFU Doc updated accordingly. Imported 2 patches for Tock kernel: - 06-add-set_vector_table_offset.patch (upstream tock/tock#1579) - 07-nrf52-bootloader.patch (upstream tock/tock#1681)
27 lines
682 B
TOML
27 lines
682 B
TOML
[package]
|
|
name = "nrf52840_mdk_dfu"
|
|
version = "0.1.0"
|
|
authors = ["Yihui Xiong <yihui.xiong@hotmail.com>"]
|
|
build = "build.rs"
|
|
edition = "2018"
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
lto = false
|
|
opt-level = "z"
|
|
debug = true
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
lto = true
|
|
opt-level = "z"
|
|
debug = true
|
|
|
|
[dependencies]
|
|
components = { path = "../../third_party/tock/boards/components" }
|
|
cortexm4 = { path = "../../third_party/tock/arch/cortex-m4" }
|
|
capsules = { path = "../../third_party/tock/capsules" }
|
|
kernel = { path = "../../third_party/tock/kernel" }
|
|
nrf52840 = { path = "../../third_party/tock/chips/nrf52840" }
|
|
nrf52dk_base = { path = "../../third_party/tock/boards/nordic/nrf52dk_base" }
|