profile
viewpoint
James Munns jamesmunns Ferrous Systems GmbH Berlin, DE ferrous-systems.com Bringing Rust to new places, big and small. Managing Director @ Ferrous Systems GmbH, Core Team @ Rust Embedded Working Group

jamesmunns/awesome-rust-streaming 413

A community curated list of Rust Language streamers

jamesmunns/bbqueue 179

A SPSC, lockless, no_std, thread safe, queue, based on BipBuffers

http-rs/async-h1 128

Asynchronous HTTP/1.1 in Rust

Covertness/coap-rs 124

A Constrained Application Protocol(CoAP) library implemented in Rust.

http-rs/http-types 119

Common types for HTTP operations

iqlusioninc/usbarmory.rs 49

Bare metal Rust support for USB armory MkII devices

braun-embedded/rust-ieee802.15.4 32

Rust implementation of the IEEE 802.15.4 standard

braun-embedded/rust-dw1000 27

Rust driver crate for the Decawave DW1000 UWB transceiver

braun-embedded/rust-dwm1001 14

[DEPRECATED] This repository was merged with https://github.com/braun-embedded/rust-dw1000

delete branch rust-embedded/wg

delete branch : 2021-01-26

delete time in 4 hours

PR merged rust-embedded/wg

Add minutes for 2021-01-26
+49 -0

1 comment

1 changed file

adamgreig

pr closed time in 4 hours

push eventrust-embedded/wg

Adam Greig

commit sha 5813e4691b25943239ab73ecaf7d7fb8aecf9d0d

Add minutes for 2021-01-26

view details

bors[bot]

commit sha 4d24bafb0d166f77d8f33dde86d8144d9ab32582

Merge #536 536: Add minutes for 2021-01-26 r=jonas-schievink a=adamgreig Co-authored-by: Adam Greig <adam@adamgreig.com>

view details

push time in 4 hours

pull request commentrust-embedded/wg

Add minutes for 2021-01-26

Build succeeded:

adamgreig

comment created time in 4 hours

push eventrust-embedded/wg

Adam Greig

commit sha 5813e4691b25943239ab73ecaf7d7fb8aecf9d0d

Add minutes for 2021-01-26

view details

bors[bot]

commit sha 4d24bafb0d166f77d8f33dde86d8144d9ab32582

Merge #536 536: Add minutes for 2021-01-26 r=jonas-schievink a=adamgreig Co-authored-by: Adam Greig <adam@adamgreig.com>

view details

push time in 4 hours

delete branch rust-embedded/wg

delete branch : staging.tmp

delete time in 4 hours

push eventrust-embedded/wg

Adam Greig

commit sha 5813e4691b25943239ab73ecaf7d7fb8aecf9d0d

Add minutes for 2021-01-26

view details

bors[bot]

commit sha e0cc6976db50a7a10fab06d784144898f16c4873

[ci skip][skip ci][skip netlify] -bors-staging-tmp-536

view details

push time in 4 hours

create barnchrust-embedded/wg

branch : staging.tmp

created branch time in 4 hours

PR opened rust-embedded/wg

Add minutes for 2021-01-26
+49 -0

0 comment

1 changed file

pr created time in 4 hours

create barnchrust-embedded/wg

branch : 2021-01-26

created branch time in 4 hours

issue commentjamesmunns/bbqueue

Better examples/docs

@ianrrees I also found the same thing

jamesmunns

comment created time in 7 hours

startedjamesmunns/bbqueue

started time in 8 hours

startedjamesmunns/postcard

started time in 10 hours

issue commentbraun-embedded/rust-dw1000

Publish new cargo crate version?

Thanks for opening this issue, @smklein. A new release is definitely overdue. I've added it to my task list. Hopefully I'll get to it some time this week.

smklein

comment created time in 13 hours

fork wez/freetype2

Official mirror of git.sv.nongnu.org/freetype/freetype2.git

fork in 18 hours

delete branch Nemo157/embrio-rs

delete branch : dependabot/cargo/cortex-m-0.7.0

delete time in 19 hours

PR closed Nemo157/embrio-rs

Update cortex-m requirement from 0.6.1 to 0.7.0 dependencies

Updates the requirements on cortex-m to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-embedded/cortex-m/blob/master/CHANGELOG.md">cortex-m's changelog</a>.</em></p> <blockquote> <h2>[v0.6.4] - 2020-10-26</h2> <h3>Changed</h3> <ul> <li>MSRV bumped to 1.36.0 due to <code>aligned</code> dependency.</li> </ul> <h3>Fixed</h3> <ul> <li>Drop AT&T syntax from inline asm, which was causing miscompilations with newer versions of the compiler.</li> </ul> <h2>[v0.6.3] - 2020-07-20</h2> <h3>Added</h3> <ul> <li>Initial Cortex-M Security Extension support for armv8m</li> <li><code>UDF</code> intrinsic</li> <li>Methods to enable/disable exceptions in SCB</li> </ul> <h3>Fixed</h3> <ul> <li>Fix bug in <code>asm::delay</code> not updating status clobber flags</li> <li>Swapped to <code>llvm_asm!</code> to support inline assembly on new nightlies</li> <li>Our precompiled assembly routines have additional debug information</li> <li>ITM <code>is_fifo_ready</code> improved to support armv8</li> <li>Cache enabling moved to pre-built assembly routines to prevent possible undefined behaviour</li> </ul> <h2>[v0.6.2] - 2020-01-12</h2> <h3>Added</h3> <ul> <li>Allow writing to the <code>CONTROL</code> register via <code>register::control::write</code></li> <li>Add <code>DWT::unlock()</code> for a safe way to unlock the DWT</li> </ul> <h3>Deprecation</h3> <ul> <li>Deprecated incorrectly included registers (<code>BASPRI</code>, <code>BASEPRI_MAX</code>, <code>FAULTMASK</code>) on <code>thumbv8.base</code></li> </ul> <h2>[v0.6.1] - 2019-08-21</h2> <h3>Fixed</h3> <ul> <li>Better <code>Debug</code>, <code>PartialEq</code> and <code>Eq</code> for more types</li> <li>The <code>delay</code> function is fixed for Cortex-M0 MCUs</li> </ul> <h3>Added</h3> <ul> <li>Static version of <code>system_reset</code> as <code>system_reset2</code></li> <li>Now uses <code>links = "cortex-m"</code> to not link multiple versions of the crate</li> <li>Masking of the NVIC is added <code>NVIC::{mask,unmask}</code></li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/rust-embedded/cortex-m/commits">compare view</a></li> </ul> </details> <br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+4 -4

1 comment

2 changed files

dependabot-preview[bot]

pr closed time in 19 hours

pull request commentNemo157/embrio-rs

Update cortex-m requirement from 0.6.1 to 0.7.0

Superseded by #37.

dependabot-preview[bot]

comment created time in 19 hours

PR opened Nemo157/embrio-rs

Update cortex-m requirement from 0.6.1 to 0.7.1

Updates the requirements on cortex-m to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rust-embedded/cortex-m/releases">cortex-m's releases</a>.</em></p> <blockquote> <h2>v0.7.1</h2> <h3>Added</h3> <ul> <li>New assembly methods <code>asm::semihosting_syscall</code>, <code>asm::bootstrap</code>, and <code>asm::bootload</code>.</li> </ul> <h3>Deprecated</h3> <ul> <li><code>msp::write</code> has been deprecated in favor of <code>asm::bootstrap</code>. It was not possible to use <code>msp::write</code> without causing Undefined Behavior, so all existing users are encouraged to migrate.</li> </ul> <h3>Fixed</h3> <ul> <li>Fixed a bug in <code>asm::delay</code> which could lead to incorrect codegen and infinite loops.</li> <li>Improved timing guarantees of <code>asm::delay</code> on multiple-issue CPU cores.</li> <li>Additional compiler fences added to inline assembly where necessary.</li> <li>Fixed DWARF debug information in pre-built assembly binaries.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-embedded/cortex-m/blob/master/CHANGELOG.md">cortex-m's changelog</a>.</em></p> <blockquote> <h2>[v0.7.1] - 2021-01-25</h2> <h3>Added</h3> <ul> <li>New assembly methods <code>asm::semihosting_syscall</code>, <code>asm::bootstrap</code>, and <code>asm::bootload</code>.</li> </ul> <h3>Deprecated</h3> <ul> <li><code>msp::write</code> has been deprecated in favor of <code>asm::bootstrap</code>. It was not possible to use <code>msp::write</code> without causing Undefined Behavior, so all existing users are encouraged to migrate.</li> </ul> <h3>Fixed</h3> <ul> <li>Fixed a bug in <code>asm::delay</code> which could lead to incorrect codegen and infinite loops.</li> <li>Improved timing guarantees of <code>asm::delay</code> on multiple-issue CPU cores.</li> <li>Additional compiler fences added to inline assembly where necessary.</li> <li>Fixed DWARF debug information in pre-built assembly binaries.</li> </ul> <h2>[v0.7.0] - 2020-11-09</h2> <h3>Added</h3> <ul> <li>New <code>InterruptNumber</code> trait is now required on interrupt arguments to the various NVIC functions, replacing the previous use of <code>Nr</code> from bare-metal. For backwards compatibility, <code>InterruptNumber</code> is implemented for types which are <code>Nr + Copy</code>, but this will be removed in a future version.</li> <li>Associated const <code>PTR</code> is introduced to Core Peripherals to eventually replace the existing <code>ptr()</code> API.</li> <li>A delay driver based on SysTick.</li> <li>You can now use LTO to inline assembly calls, even on stable Rust. See the <code>asm/lib.rs</code> documentation for more details.</li> <li>Initial ARMv8-M MPU support</li> <li>ICTR and ACTLR registers added</li> <li>Support for the Security Attribution Unit on ARMv8-M</li> </ul> <h3>Changed</h3> <ul> <li>Previously, asm calls without the <code>inline-asm</code> feature enabled used pre-built objects which were built by a GCC compiler, while <code>inline-asm</code> enabled the use of <code>llvm_asm!</code> calls. The asm system has been replaced with a new technique which generates Rust static libs for stable calling, and uses the new <code>asm!</code> macro with <code>inline-asm</code>. See the <code>asm/lib.rs</code> documentation for more details.</li> <li>Cache enabling now uses an assembly sequence to ensure correctness.</li> <li><code>ptr()</code> methods are now <code>const</code>.</li> </ul> <h3>Breaking Changes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-embedded/cortex-m/commit/ad7e01b4139db7bdc62d1bb5445da3d7587c7812"><code>ad7e01b</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-embedded/cortex-m/issues/320">#320</a></li> <li><a href="https://github.com/rust-embedded/cortex-m/commit/4b7764a1b2bdaa25ee4994e786af704fe21fa0f3"><code>4b7764a</code></a> Prepare for v0.7.1</li> <li><a href="https://github.com/rust-embedded/cortex-m/commit/465f303bd1453693c76f098ef0454fb769e25258"><code>465f303</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-embedded/cortex-m/issues/319">#319</a></li> <li><a href="https://github.com/rust-embedded/cortex-m/commit/7777775b7eb6f03eaaf98f3af8e1daf1c643322e"><code>7777775</code></a> CHANGELOG updates</li> <li><a href="https://github.com/rust-embedded/cortex-m/commit/2082aca42ab291981ab8c0c692d1e1d0e6d444b8"><code>2082aca</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-embedded/cortex-m/issues/318">#318</a></li> <li><a href="https://github.com/rust-embedded/cortex-m/commit/4c624da754c831cf8c17859f253e81ee4ed29c9b"><code>4c624da</code></a> Use LTO instead of removing the panic handler manually. Closes <a href="https://github-redirect.dependabot.com/rust-embedded/cortex-m/issues/309">#309</a></li> <li><a href="https://github.com/rust-embedded/cortex-m/commit/6d75b144dcc2bf6c1bd324b38e826bc4380628e1"><code>6d75b14</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-embedded/cortex-m/issues/317">#317</a></li> <li><a href="https://github.com/rust-embedded/cortex-m/commit/8b6c269f3b8d4133ef7c6d41496e88621d02c9e4"><code>8b6c269</code></a> Fix __delay clobber</li> <li><a href="https://github.com/rust-embedded/cortex-m/commit/d4cbf0755f7f2c70b0510fd52ff98584e8679c1f"><code>d4cbf07</code></a> Merge <a href="https://github-redirect.dependabot.com/rust-embedded/cortex-m/issues/313">#313</a></li> <li><a href="https://github.com/rust-embedded/cortex-m/commit/c828dd95e8e15be90ecdaa15193bb73ece781536"><code>c828dd9</code></a> Remove excessive missing_inline_in_public_items</li> <li>Additional commits viewable in <a href="https://github.com/rust-embedded/cortex-m/compare/v0.6.1...v0.7.1">compare view</a></li> </ul> </details> <br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+4 -4

0 comment

2 changed files

pr created time in 19 hours

create barnchNemo157/embrio-rs

branch : dependabot/cargo/cortex-m-0.7.1

created branch time in 19 hours

issue commentnrf-rs/nrf-hal

Examples do not flash out of tree

Ahhh that's what I was missing, thanks it seems to be working now. (Y)

mfiumara

comment created time in a day

issue commentnrf-rs/nrf-hal

Examples do not flash out of tree

You need a Cargo configuration file like this: https://github.com/nrf-rs/nrf-hal/blob/master/.cargo/config

mfiumara

comment created time in a day

issue commentnrf-rs/nrf-hal

Examples do not flash out of tree

Hi @jonas-schievink,

Sorry I'm quit the noob with regards to rust, I guess my error message indicates the link script can't be found.

Checking your link and comparing with the example code in this repo the only path that I see needs changing is nrf52840-hal = { features = ["rt"], path = "../../nrf52840-hal" } in Cargo.toml, is there some additional configuration which I'm missing? I'm building using cargo embed --target thumbv7em-none-eabihf.

I'm struggling to see why moving the example code up a folder would break flashing.

mfiumara

comment created time in a day

issue closednrf-rs/nrf-hal

Examples do not flash out of tree

When copy pasting the example code outside of the source tree and correclty changing the nrf-hal path, embed does not flash the target binary correctly to the device:

        WARN probe_rs::flashing::download > No loadable segments were found in the ELF file.
     Erasing sectors ⠁ [00:00:00] [#######################################################################]       0B/      0B @       0B/s (eta 0s )
       Error failed to flash /home/mattia/experiments/nrf-rust-workspace/qdec-demo/target/thumbv7em-none-eabihf/debug/qdec-demo
             
             Caused by:
                 No loadable ELF sections were found.

Cargo.toml:

"../nrf-hal/nrf52840-hal"

Workspace:

./nrf-hal
./qdec-demo

Doing the same for the in-tree samples works fine somehow.

closed time in a day

mfiumara

issue commentnrf-rs/nrf-hal

Examples do not flash out of tree

Please refer to the directory layout in https://github.com/rust-embedded/cortex-m-quickstart, you need to configure Cargo correctly before targeting Cortex-M devices will work

mfiumara

comment created time in a day

issue openednrf-rs/nrf-hal

Examples do not flash out of tree

When copy pasting the example code outside of the source tree and correclty changing the nrf-hal path, embed does not flash the target binary correctly to the device:

       Error failed to flash /home/mattia/experiments/nrf-rust-workspace/qdec-demo/target/thumbv7em-none-eabihf/debug/qdec-demo
             
             Caused by:
                 No loadable ELF sections were found.

Cargo.toml:

"../nrf-hal/nrf52840-hal"

Workspace:

./nrf-hal
./qdec-demo

created time in a day

fork durka/gitlab-merge-requests-lists-enhancer

A browser extension that enhance all Merge Requests lists on any instance of Gitlab and GitLab.com

fork in a day

startedjamesmunns/awesome-rust-streaming

started time in 2 days

issue openedbraun-embedded/rust-dw1000

Publish new cargo crate version?

After getting set up with this crate - downloading the most recent version published to crates.io (0.4.0), I got an application set up, and tried to copy the "blinky" LED example as a basic check that things worked.

Unfortunately, the compiler complained - even the simple rust blinky example broke, because of a version mismatch: the version on crates.io still depends on nrf52832-hal version 0.8.1, even though that's been fixed on master to point to a more recent revision.

Would it be possible to publish a version 0.5.0 of this crate? That would make the crates.io documentation stay in sync with the repo. I've also seen folks using git tags to identify "which revision of the source code + examples are consistent with what can be downloaded from crates.io"

created time in 2 days

PR merged rust-embedded/wg

Reviewers
Add eldruin to embedded linux team T-embedded-linux decision-accepted

I was approached by @ryankurte about joining the embedded linux team and I would be happy to. So far I have contributed to rust-i2cdev and linux-embedded-hal adding support for transactional I2C among other smaller fixes. See:

  • https://github.com/rust-embedded/rust-i2cdev/pull/51
  • https://github.com/rust-embedded/linux-embedded-hal/pull/26

Other than that I guess everyone here knows me already. Nevertheless, please feel free to raise any concerns.

+1 -0

4 comments

1 changed file

eldruin

pr closed time in 2 days

more