Skip to content

Instantly share code, notes, and snippets.

View bobmcwhirter's full-sized avatar

Bob McWhirter bobmcwhirter

View GitHub Profile
[package]
authors = ["Dario Nieuwenhuis <[email protected]>"]
edition = "2018"
name = "embassy-stm32f4-examples"
version = "0.1.0"
resolver = "2"
[features]
default = [
"defmt-default",
embassy-stm32f4-examples v0.1.0 (/Users/bob/repos/drogue/embassy/l4-examples) default,defmt-default
├── cortex-m v0.7.2
│ ├── bare-metal v0.2.5 const-fn
│ │ [build-dependencies]
│ │ └── rustc_version v0.2.3
│ │ └── semver v0.9.0 default
│ │ └── semver-parser v0.7.0
│ ├── bitfield v0.13.2
│ ├── embedded-hal v0.2.4 unproven
│ │ ├── nb v0.1.3 unstable
Compiling proc-macro2 v1.0.26
Compiling unicode-xid v0.2.1
Compiling syn v1.0.70
Compiling semver-parser v0.7.0
Compiling version_check v0.9.3
Compiling cortex-m v0.7.2
Compiling nb v1.0.0
Compiling void v1.0.2
Compiling vcell v0.1.3
Compiling ucd-trie v0.1.3
2c2
< block/GPIO:
---
> block/GPIOA:
8d7
< reset_value: 2818572288
13d11
< reset_value: 0
18d15
< reset_value: 0
2c2
< block/GPIO:
---
> block/GPIOA:
8d7
< reset_value: 2818572288
13d11
< reset_value: 0
18d15
< reset_value: 0
/*
* Project mw
* Description:
* Author:
* Date:
*/
#include "application.h"
#include <GxEPD.h>
Compiling drogue-async v0.1.0 (/Users/bob/repos/drogue/drogue-async)
error[E0432]: unresolved imports `crate::executor::spawn`, `crate::executor::defer`
--> src/executor.rs:361:37
|
361 | use crate::executor::{Executor, spawn, run, defer};
| ^^^^^ ^^^^^ no `defer` in `executor`
| |
| no `spawn` in `executor`
error: aborting due to previous error
Compiling drogue-async v0.1.0 (/Users/bob/repos/drogue/drogue-async)
Finished test [unoptimized + debuginfo] target(s) in 1.93s
Running target/debug/deps/drogue_async-bf1f29af935d1cee
running 1 test
2020-12-07 09:33:51,109 ERROR [drogue_async::executor::tests] WHAT
2020-12-07 09:33:51,110 ERROR [drogue_async::executor] spawn!!!
2020-12-07 09:33:51,110 ERROR [drogue_async::executor] spawn!!!
run!
2020-12-07 09:33:51,110 TRACE [drogue_async::executor] root-1 is ready? 0x101cc0778 1
let host: &mut BlueNrgHost<'_> = ctx.resources.ble_host;
let params = LeSetAdvertisingParameters {
min_interval: Milliseconds(500),
max_interval: Milliseconds(500),
advertising_type: AdvertisingType::ConnectableAndScannableUndirected,
own_address_type: Default::default(),
peer_address_type: Default::default(),
peer_address: Address([0, 0, 0, 0, 0, 0]),
channel_map: Default::default(),
11c11
< * Copyright (C) 2006-2018, ARM Limited, All Rights Reserved
---
> * Copyright The Mbed TLS Contributors
25,26d24
< *
< * This file is part of mbed TLS (https://tls.mbed.org)
32d29
<
136c133