This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![no_std] | |
#![cfg_attr(not(doc), no_main)] | |
//use panic_rtt_target as _; | |
use panic_halt as _; | |
use cortex_m_rt::entry; | |
//use core::ptr; | |
//use stm32f1::stm32f103; | |
use stm32f1xx_hal::{pac, prelude::*}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![no_std] | |
#![cfg_attr(not(doc), no_main)] | |
//use panic_rtt_target as _; | |
use panic_halt as _; | |
use cortex_m_rt::entry; | |
//use core::ptr; | |
use stm32f1::stm32f103; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![no_std] | |
#![no_main] | |
use panic_rtt_target as _; | |
use cortex_m_rt::entry; | |
use core::ptr; | |
#[entry] | |
fn main() -> ! { | |
// Set up named variables for the register addresses we'll use. These are defined in the STM32's |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder