Comments (3)
Hmm, could you try updating this line to 0.4.0
:
cortex-m-quickstart/Cargo.toml
Line 18 in be44af6
from cortex-m-quickstart.
Thanks @thalesfragoso . I did that, but then receive:
% cargo build --example allocator
Compiling linked_list_allocator v0.8.6
Compiling typenum v1.12.0
Compiling semver v0.9.0
Compiling generic-array v0.14.4
Compiling proc-macro2 v1.0.24
Compiling cortex-m v0.6.3
Compiling syn v1.0.42
Compiling cortex-m-rt v0.6.13
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /Users/huntc/.cargo/registry/src/github.com-1ecc6299db9ec823/linked_list_allocator-0.8.6/src/lib.rs:1:1
|
1 | #![feature(const_mut_refs)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0554`.
error: could not compile `linked_list_allocator`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
With nightly:
% cargo +nightly build --example allocator
Compiling semver-parser v0.7.0
Compiling version_check v0.9.2
Compiling cortex-m v0.6.3
Compiling proc-macro2 v1.0.24
Compiling stable_deref_trait v1.2.0
Compiling unicode-xid v0.2.1
Compiling syn v1.0.42
Compiling vcell v0.1.2
Compiling bitfield v0.13.2
Compiling cortex-m-rt v0.6.13
Compiling cortex-m-semihosting v0.3.5
Compiling linked_list_allocator v0.8.6
Compiling test v0.1.0 (/Users/huntc/Desktop/test/test)
Compiling r0 v0.2.2
Compiling panic-halt v0.2.0
Compiling volatile-register v0.2.0
Compiling semver v0.9.0
Compiling generic-array v0.14.4
Compiling rustc_version v0.2.3
Compiling bare-metal v0.2.5
Compiling quote v1.0.7
Compiling generic-array v0.12.3
Compiling generic-array v0.13.2
Compiling as-slice v0.1.4
Compiling aligned v0.3.4
Compiling alloc-cortex-m v0.4.0
Compiling cortex-m-rt-macros v0.1.8
error[E0433]: failed to resolve: use of undeclared crate or module `debug`
--> examples/allocator.rs:46:5
|
46 | debug::exit(debug::EXIT_SUCCESS);
| ^^^^^ use of undeclared crate or module `debug`
error[E0433]: failed to resolve: use of undeclared crate or module `debug`
--> examples/allocator.rs:46:17
|
46 | debug::exit(debug::EXIT_SUCCESS);
| ^^^^^ use of undeclared crate or module `debug`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0433`.
error: could not compile `test`
from cortex-m-quickstart.
Thank you!
from cortex-m-quickstart.
Related Issues (20)
- License files missing
- GDB Load Failed Due to Invalid memory.x Flash Layout
- Allocator example broken
- Document on a quickstart guide for Raspberry Pi Pico HOT 1
- Using probe-rs to initialise memory.x HOT 5
- Update VS Code Config to use unified stlink.cfg
- Make this repository a template HOT 4
- Debug have some problems "unknown command: `arm` " HOT 1
- "message": "failed to parse manifest at `/Users/tz/Downloads/cortex-m-quickstart-master/Cargo.toml`", HOT 2
- add a runner to flash program directly HOT 2
- Is it possible to run examples in `qemu`? HOT 1
- Error while following the Embedded Book HOT 2
- How to run the quickstart code on LPCXpresso55S69?
- cargo generate error HOT 3
- Blue Pill Quickstart HOT 5
- probe-rs HOT 1
- Update for stm32l4 dependency causes linker error HOT 3
- Add documentation ARM v8 Baseline and Mainline (Cortex-M23/M33/M35P)
- Feature request: Confusing task names 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 cortex-m-quickstart.