Yaotian Feng

Results 29 comments of Yaotian Feng

Hummm looks like either we have a hardware bug in the atomic instruction or there is some bug in embassy_executor Basically `TaskHeader::state` is `3` which indicate we are "enqueued" but...

Ugh.... sounds like we don't have atomics.... Thanks..... WCH

Let me try this today you might be correct. But I think at least reading the Linux code it sounds like it is really only required if we are "saving...

Ohhhhhhh I had a "shower thought" I think I understand how can this be messed up: We have the hardware save and restore enabled..... What if ... What if.... the...

Actually just tried - disabling the hardware interrupt save restore - adding a `sc.w` before the mret neither fixed the problem, unfortunately. Looks like we will just have to disable...

Oh I repro this just mashing a key on my “hid example” Check vapor-keeb/vapor-keeb’s main and was using tick timer 1

Not sure if this is the right thing to do though, given that most examples are meant to work on specific boards / pinout etc. Changing the oscillator to HSI...

Well I think being board specific is kind of unavoidable for embedded stuff. It can potentially be worked around with having configuration file etc but I think that actually does...

I think your assessment of the problem is correct, we should not attempt to run at 1MHz tick rate when our clock is only 8Mhz. That's insane overhead and almost...

Actually took a closer look with @Dummyc0m, the `time_driver_systick.rs` is actually quite broken and we will try to rewrite a fix in the next couple of days. After some thinking,...