Comments (3)
error[E0554]: #![feature] may not be used on the stable release channel
This is a rust compiler error (i.e. not a rustBoot error). You're probably using the stable channel for your builds. You need to switch to nightly. Here is a link to help you get rid of the error.
https://stackoverflow.com/questions/58226545/how-to-switch-between-rust-toolchains
from rustboot.
Dear Nihal
I setup the environment as your advice with below configuration
rustup override set nightly
and I can compile Rustboot source code without error
nad6hc@VM-NAD6HC-OSD5:~/Prj_Security/SourceCode/rustBoot-main/rustBoot$ cargo xtask build-sign-flash rustBoot nrf52840
Compiling version_check v0.9.3
Compiling typenum v1.14.0
Compiling subtle v2.4.1
Compiling rand_core v0.6.3
Compiling proc-macro2 v1.0.29
Compiling unicode-xid v0.2.2
Compiling semver v1.0.4
Compiling syn v1.0.76
Compiling zeroize v1.4.1
Compiling memchr v2.3.4
Compiling der v0.4.3
Compiling cpufeatures v0.2.1
Compiling defmt-parser v0.2.2
Compiling opaque-debug v0.3.0
Compiling cfg-if v1.0.0
Compiling anyhow v1.0.44
Compiling xshell-macros v0.1.17
Compiling ff v0.10.1
Compiling generic-array v0.14.4
Compiling nom v6.2.1
Compiling group v0.10.0
Compiling xshell v0.1.17
Compiling quote v1.0.9
Compiling defmt v0.2.3
Compiling digest v0.9.0
Compiling crypto-bigint v0.2.9
Compiling crypto-mac v0.11.1
Compiling block-buffer v0.9.0
Compiling signature v1.3.1
Compiling hmac v0.11.0
Compiling sha2 v0.9.8
Compiling elliptic-curve v0.10.6
Compiling ecdsa v0.12.4
Compiling p256 v0.9.0
Compiling defmt-macros v0.2.3
Compiling rustBoot v0.1.0 (/home/nad6hc/Prj_Security/SourceCode/rustBoot-main/rustBoot)
Compiling xtask v0.1.0 (/home/nad6hc/Prj_Security/SourceCode/rustBoot-main/xtask)
Finished dev [unoptimized + debuginfo] target(s) in 11.52s
Running/home/nad6hc/Prj_Security/SourceCode/rustBoot-main/target/debug/xtask build-sign-flash rustBoot nrf52840
$ cargo build --release
Finished release [optimized + debuginfo] target(s) in 0.03s
$ cargo build --release
Finished release [optimized + debuginfo] target(s) in 0.03s
$ cargo build --release
Finished release [optimized + debuginfo] target(s) in 0.04s
$ python3 convert2bin.py
$ wsl python3 signer.py
Thank you
Dat Nguyen
from rustboot.
Cool, I'm closing this issue.
from rustboot.
Related Issues (20)
- No available debug probes are connected HOT 1
- Add support for a QSPI enabled flash-driver for the RP2040 board HOT 3
- Add a rust-based flash driver for STM32F334 dev-board HOT 2
- Add a rust-based NVMC driver for the STM32F446RE board HOT 4
- Add a rust-based NVMC driver for the ATSAM4L8-XPRO board HOT 2
- rustBoot image signing tools HOT 11
- Add a rust-based flash driver for 'STM32L562E-DK' board HOT 1
- Add rust-based flash driver for the "STM32H723ZG" board HOT 1
- Add rust-based flash driver for the "STM32F746ZG" board
- Order IMX-8 chip set. HOT 8
- Upgrade board specific dependencies HOT 2
- Add support for STM32F469 MCU in examples HOT 10
- Add support for the nRF9160 HOT 4
- Rust based driver development for secure element STSAFE-A100 HOT 1
- Add a rust-based secure element "NXP SE050" driver for ARM TrustZone-M and A
- Support for NRF9160DK
- Build a prototype impl for a firmware distribution platform using ockam's secure channels HOT 1
- Could this boot a smartphone image?
- Firmware distribution platform based on IPFS protocol
- Potential for putting partitions in invalid state for smt32h723 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rustboot.