!ZAnLsPitgFNnrNRLOQ:matrix.org

Drone OS

160 Members
An Embedded Operating System for writing real-time applications in Rust.20 Servers

Load older messages


SenderMessageTime
8 Feb 2021
@alfred-ch:matrix.orgalfred-ch valff: The SVD schema contains a type definition called 'modifiedWriteValuesType'.
https://github.com/ARM-software/CMSIS/blob/master/CMSIS/Utilities/CMSIS-SVD.xsd#L190
Is that the kind of info that would help if it were present in the real SVDs?
Sorry if I my question misses the problem.
16:32:52
@valff:matrix.orgvalff alfred-ch: Yes, this would help. But stm32 and nrf SVDs don't use this feature. 17:13:21
@valff:matrix.orgvalff rmja: Yes, your proposal makes sense. 17:14:08
@rmja:matrix.orgrmjaI think it should be a ctor function on thr type, and not a member function on the instance. In that way we are sure not to collide with any of the generated function names.17:18:20
@rmja:matrix.orgrmja* I think it should be a ctor function on the type, and not a member function on the instance. In that way we are sure not to collide with any of the generated function names.17:18:39
@valff:matrix.orgvalffActually associated functions and methods share a single namespace.17:27:21
@rmja:matrix.orgrmjaAhh yes, that would nok make a difference regarding naming collision.17:28:43
@rmja:matrix.orgrmja* Ahh yes, that would not make a difference regarding naming collision.17:29:06
@rmja:matrix.orgrmjaDo the Bitfields implement Default, and does that initialize it to zeros?17:34:57
@rmja:matrix.orgrmjaEven though it does not help with naming collision s, I still think that it should be a ctor function.17:36:14
@moerk:matrix.org@moerk:matrix.orgHave any of you tried probe-rs and defmt? 21:38:28
@grawp:matrix.orggrawp moerk Just the probe-rs. It worked nicely: https://grawp.gitlab.io/embedded-rust/drone-os/ 22:51:27
9 Feb 2021
@moerk:matrix.org@moerk:matrix.org grawp the workflow looks similar to the change you proposed a couple month ago 09:18:26
10 Feb 2021
@ebrun:matrix.orgebrun set a profile picture.14:54:02
11 Feb 2021
@justdot:matrix.orgjustdot joined the room.17:51:30
@tid_the_harvester:matrix.orgtid_the_harvester joined the room.19:11:34
12 Feb 2021
@llamp:matrix.org@llamp:matrix.org joined the room.00:35:02
@cookskim:matrix.orgcookskim joined the room.19:36:11
@cookskim:matrix.orgcookskimI have followed what the drone book say as beginner of this os. I have an obstacle in the final stage. Could anyone help me? 19:52:38
@cookskim:matrix.orgcookskim

csk@csk-CR70-2M-CX70-2OC-CX70-2OD:~/hello-world$ just flash
cargo build --features "" --release
warning: the cargo feature resolver has been stabilized in the 1.51 release and is no longer necessary to be listed in the manifest
See https://doc.rust-lang.org/nightly/cargo/reference/resolver.html#resolver-versions for more information about using this feature.
Compiling hello-world v0.1.0 (/home/csk/hello-world)
error[E0405]: cannot find trait AllocRef in module core::alloc
--> src/lib.rs:36:1
|
36 | / heap! {
37 | | /// A heap allocator generated from the Drone.toml.
38 | | heap => pub Heap;
39 | | }
| |_^ not found in core::alloc
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error

For more information about this error, try rustc --explain E0405.
error: could not compile hello-world

To learn more, run the command again with --verbose.
error: Recipe build failed on line 26 with exit code 101

19:52:58
@cookskim:matrix.orgcookskimRedacted or Malformed Event19:55:09
@valff:matrix.orgvalff cookskim The current stable version of Drone (0.13) doesn't support the recent Rust nightly. Please downgrade to nightly-2020-11-25. The fix required some breaking changes, and is currently available in the development version of Drone (0.14). 20:04:26
@eniac42:matrix.org@eniac42:matrix.org joined the room.22:11:41
@eniac42:matrix.org@eniac42:matrix.org left the room.22:12:01
@gon.tf:matrix.org@gon.tf:matrix.org left the room.22:18:12
13 Feb 2021
@cookskim:matrix.orgcookskim
In reply to @valff:matrix.org
cookskim The current stable version of Drone (0.13) doesn't support the recent Rust nightly. Please downgrade to nightly-2020-11-25. The fix required some breaking changes, and is currently available in the development version of Drone (0.14).
Thank you very much. I was able to take a step forward. But I got stuck because of another issue. I think it is the final boss to me.
01:02:12
@cookskim:matrix.orgcookskimRedacted or Malformed Event01:02:17
@cookskim:matrix.orgcookskimRedacted or Malformed Event01:04:10
@cookskim:matrix.orgcookskim
In reply to @valff:matrix.org
cookskim The current stable version of Drone (0.13) doesn't support the recent Rust nightly. Please downgrade to nightly-2020-11-25. The fix required some breaking changes, and is currently available in the development version of Drone (0.14).
* Thank you very much. I was able to take a step forward. But I got stuck because of another issue. I think it is the final boss to me. Could you help me once more?
01:04:43
@cookskim:matrix.orgcookskim
In reply to @valff:matrix.org
cookskim The current stable version of Drone (0.13) doesn't support the recent Rust nightly. Please downgrade to nightly-2020-11-25. The fix required some breaking changes, and is currently available in the development version of Drone (0.14).

csk@csk-CR70-2M-CX70-2OC-CX70-2OD:~/hello_world/bluepill-blink$ just log
drone log --reset :0:1
Black Magic Probe(SWLINK) v1.7.1-123-g3b8502c, Hardware Version 1
Copyright (C) 2015 Black Sphere Technologies Ltd.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html

Assert SRST during connect: enabled
Available Targets:
No. Att Driver
1 STM32F1 medium density M3
warning: No executable has been specified and target does not support
determining executable automatically. Try using the "file" command.
0x20000004 in ?? ()
ERROR: set probe.bmp.device to a supported value to correctly initialize debug
registers
115200

================================== LOG OUTPUT ==================================

01:05:46

Show newer messages


Back to Room ListRoom Version: 4