!ZAnLsPitgFNnrNRLOQ:matrix.org

Drone OS

135 Members
An Embedded Operating System for writing real-time applications in Rust.21 Servers

Load older messages


SenderMessageTime
3 Jun 2021
@rmja:matrix.orgrmjaWhat has changed here?10:19:09
5 Jun 2021
@valff:matrix.orgvalff Hey rmja, you're always welcome! 17:30:05
@valff:matrix.orgvalff rmja: It's a bug. I suspect that the syn crate API has been changed. 17:31:48
7 Jun 2021
@rmja:matrix.orgrmjaDo you have any good ideas for a workaround?06:15:02
@faraazbaig:matrix.orgFaraaz Baig joined the room.08:27:47
@valff:matrix.orgvalffIt should be easy to fix. I will do this soon.09:37:06
@rmja:matrix.orgrmjaAwesome09:37:22
9 Jun 2021
@rmja:matrix.orgrmja valff: Have you had a chance to look at this? I am using this extensively here https://github.com/rmja/drone-drivers/blob/master/src/cc1200/src/regs.rs and I am trying to finalize the driver example app 05:23:21
@rmja:matrix.orgrmjaFor those interested in Wireless M-Bus: https://github.com/rmja/drone-mbus11:04:23
@valff:matrix.orgvalff Hi rmja, I published drone-core 0.14.3, which fixes the issue with the Bitfield. 18:44:21
10 Jun 2021
@rmja:matrix.orgrmja(you don't actually have to release next time I have some bug - I have all the drone source checked out from git)05:52:57
11 Jun 2021
@rmja:matrix.orgrmjaMaybe a more rust related question:03:53:08
@rmja:matrix.orgrmjaI know that Drop cannot be async, but I have a driver that could really benefit from it.03:54:01
@rmja:matrix.orgrmja It is the CC1200 RF driver. It has a receive() stream, and when the stream is dropped, I would like the transceiver to enter the idle state. 03:55:03
@rmja:matrix.orgrmjaHowever, the "enter idle state" is an async operation.03:56:03
@rmja:matrix.orgrmjaWhat would be a good way to implement something like that in rust?03:56:04
@rmja:matrix.orgrmja valff: Is there any reason why you have made the bitfield change in a different branch (v0.14) and not in master? 04:05:04
@rmja:matrix.orgrmja btw. what happened to the f4-uart branch in the stm32-map repo. Was that not merged? 04:09:28
12 Jun 2021
@valff:matrix.orgvalff
In reply to @rmja:matrix.org
valff: Is there any reason why you have made the bitfield change in a different branch (v0.14) and not in master?
The master branch is always tracking the newest development, and for tracking stable minor releases we create separate branches.
15:52:03
@valff:matrix.orgvalff
In reply to @rmja:matrix.org
btw. what happened to the f4-uart branch in the stm32-map repo. Was that not merged?
IIRC it was merged.
15:52:37
@valff:matrix.orgvalff
In reply to @rmja:matrix.org
What would be a good way to implement something like that in rust?
Async destructors are not implemented in Rust, but there are some proposals. I would try the architecture, where there is a dedicated fiber for managing the transceiver. And the drop implementation will synchronously send a message to the fiber to enter the idle state.
15:57:10
16 Jun 2021
@rmja:matrix.orgrmja
In reply to @valff:matrix.org
The master branch is always tracking the newest development, and for tracking stable minor releases we create separate branches.
That was also my impression, but this is the current status:
07:23:47
@rmja:matrix.orgrmjaimage.png
Download image.png
07:23:48
@rmja:matrix.orgrmja(I am not complaining or anything, just trying to follow along:) )07:24:48
@rmja:matrix.orgrmja alfred-ch: Can we delete the f4-uart branch on stm32-map, or is there something in there that is not yet in master? 07:27:27
17 Jun 2021
@rmja:matrix.orgrmjaI have now worked on the cc1200 driver for the last few days and I must say that it is an absolute joy to work in rust/drone. It has been a while, so I had almost forgot. I really appreciate the fantastic work that has gone into Drone!12:53:46
18 Jun 2021
@ashish32:matrix.orgnord32 joined the room.10:23:20
@valff:matrix.orgvalff rmja It's pleasure to hear this, thank you! Sorry for the delay in my responses, I'm currently on travel. 19:26:03
@valff:matrix.orgvalff
In reply to @rmja:matrix.org
That was also my impression, but this is the current status:
Should be some confusion, I will look at it.
19:28:18
19 Jun 2021
@micisuta:matrix.orgmicisuta joined the room.13:59:18

Show newer messages


Back to Room List