Skip to content
#

no-std

Here are 193 public repositories matching this topic...

jyc
jyc commented Jun 26, 2019

Apparently serde_derive only calls next_key or next_key_seed however many times as there are elements in the tuple. The SeqAccess impl has no way to know beforehand that it will only be called that many times, so if it is deserializing e.g. a JSON array it needs to preemptively peek for ] every time next_element_seed is called in order to not leave garbage on the input. I think this should at leas

birkenfeld
birkenfeld commented Aug 6, 2019

It would be nice to have a little more fleshed out info about the recommended ways to share data between interrupt handlers and the main program. With the addition of Qxx, I assume that this is to be preferred, but its size limitation makes it not always applicable if items come in bursts and handling them can take a while.

Using Queue in such a context still requires static mut unsafe, and

rubberduck203
rubberduck203 commented Feb 29, 2020

NVIC::enable() was deprecated with the following warning.

WARNING This method is a soundness hole in the API; it should actually be an unsafe function. Use NVIC::unmask which has the right unsafety.

https://docs.rs/stm32f3xx-hal/0.3.0/stm32f3xx_hal/stm32/struct.NVIC.html#method.enable

NVIC::unmask() has the following documentation.

This function is unsafe because it can break m

korken89
korken89 commented Mar 19, 2020

@jamesmunns and I had a discussion on Matrix about the current defaults that leave HardFault_ and DefaultHander_ implemented as infinite loops.
This should most likely be replaced with panic in the default case to help the implementors detect issues and if nothing is done the panic crate takes care of the default course of action.
This might increase code size a bit, but for those that do

jonas-schievink
jonas-schievink commented Sep 28, 2019

Currently the link layer will abort the connection when it does not receive the initial connect event:

https://github.com/jonas-schievink/rubble/blob/0c219f5fd1ef24cc6ca6f6e1edb02556e5fdd64f/rubble/src/link/connection.rs#L338-L345

This shouldn't happen. Instead, we should do what the comment suggests (and check it against the spec).

The effect of this bug is that establishing a connection

Improve this page

Add a description, image, and links to the no-std topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the no-std topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.