You've already forked comprehensive-rust
							
							
				mirror of
				https://github.com/google/comprehensive-rust.git
				synced 2025-10-31 08:37:45 +02:00 
			
		
		
		
	Explain a bit about example and how to run it.
This commit is contained in:
		| @@ -1,5 +1,18 @@ | |||||||
| # Raw MMIO | # Raw MMIO | ||||||
|  |  | ||||||
|  | Most microcontrollers access peripherals via memory-mapped IO. Let's try turning on an LED on our | ||||||
|  | micro:bit: | ||||||
|  |  | ||||||
| ```rust,editable,compile_fail | ```rust,editable,compile_fail | ||||||
| {{#include examples/src/bin/mmio.rs:Example}} | {{#include examples/src/bin/mmio.rs:Example}} | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|  | <details> | ||||||
|  |  | ||||||
|  | Run the example with: | ||||||
|  |  | ||||||
|  | ```sh | ||||||
|  | cargo embed --bin mmio | ||||||
|  | ``` | ||||||
|  |  | ||||||
|  | </details> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user