Comments (3)
Hm, any activity here?
from app-template.
Hi @itxs. That's odd. Unfortunately I do not have your board at hand, so you need to try a few things.
First can you please test if this problems also occurs with a very simple loop. The code is adapted from adapted from https://docs.rs/stm32f0xx-hal/latest/stm32f0xx_hal/delay/index.html, but I didn't test if it compiles, there might be some typo.
use helloworld1 as _; // global logger + panicking-behavior + memory layout
use stm32f0xx_hal as hal;
use crate::hal::pac;
use crate::hal::prelude::*;
use crate::hal::delay::Delay;
use cortex_m::peripheral::Peripherals;
#[cortex_m_rt::entry]
fn main() -> ! {
let mut p = pac::Peripherals::take().unwrap();
let mut cp = cortex_m::Peripherals::take().unwrap();
let mut rcc = p.RCC.configure().freeze(&mut p.FLASH);
let mut delay = Delay::new(cp.SYST, &rcc);
loop {
delay.delay_ms(1_000_u16);
defmt::println!("Hello, world!");
}
helloworld1::exit()
}
Afterwards can you please test if the problem occurs with all your commits, or which commit introduced the bug.
When you have this please come back here with the results.
I assume this is an error on in the HAL, because I don't see which part of the template should be responsible for this, but let's see.
from app-template.
Sure, will check, sorry for delay
from app-template.
Related Issues (20)
- Use opt-level=z again HOT 2
- move documentation to this repo
- Max number of RTT attach retries exceeded HOT 2
- defmt error trying to install as per instructions HOT 7
- Cannot find linker script memory.x HOT 2
- Print-defmt feature results into linker error HOT 3
- `.github/FUNDING.yml` is still included in generated projects
- In readme flip-link CI patch link is broken.
- failed to load bc of ... HOT 1
- Replace cargo-generate with kickstart HOT 1
- bump all dependencies to v0.2.0 in the template
- Update to `defmt 0.3`
- vscode error `can't find crate for `test`` HOT 4
- Cannot build with nrf51-hal HOT 5
- error[E0463]: can't find crate for `test` HOT 3
- re-enable LTO
- We are on vacation ⛄ HOT 1
- Error in README.md HOT 1
- semihosting on the "blue pill" board HOT 1
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 app-template.