This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15:21:15.285 INFO - firmware: Ok(FirmwareInfo { major: 1, minor: 7, patch: 0, build: 0 }) | |
15:21:15.285 INFO - writing command AT+CWJAP_CUR="oddly","scarletbegonias" | |
15:21:15.539 INFO - wifi connected | |
15:21:15.792 INFO - wifi disconnect | |
15:21:18.329 INFO - wifi connected | |
15:21:19.600 INFO - wifi got ip | |
15:21:20.609 INFO - joined wifi Ok(()) | |
15:21:20.609 INFO - writing command AT+CIPSTA_CUR? | |
15:21:20.609 INFO - IP Ok(IpAddresses { ip: 192.168.1.250, gateway: 192.168.1.1, netmask: 255.255.255.0 }) | |
15:21:20.609 INFO - network intialized |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static mut ALLOCATOR: Option<CortexMHeap> = Option::None; | |
pub fn setup_platform(start: usize, size: usize) { | |
let mut heap = CortexMHeap::empty(); | |
unsafe { | |
heap.init(start, size); | |
ALLOCATOR.replace(heap); | |
} | |
unsafe { platform_set_calloc_free(Some(platform_calloc_f), Some(platform_free_f)) }; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16:23:55.925 INFO - about to panic |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[inline(never)] | |
#[panic_handler] | |
fn panic(info: &PanicInfo) -> ! { | |
use cortex_m::interrupt; | |
interrupt::disable(); | |
rprintln!("panic"); | |
rprintln!("{}", info); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Found 1 stlink programmers | |
serial: 303637324646353035303537373137 | |
openocd: "\x30\x36\x37\x32\x46\x46\x35\x30\x35\x30\x35\x37\x37\x31\x37" | |
flash: 524288 (pagesize: 16384) | |
sram: 98304 | |
chipid: 0x0433 | |
descr: F4 device (Dynamic Efficency) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Default host: x86_64-apple-darwin | |
rustup home: /Users/bob/.rustup | |
installed toolchains | |
-------------------- | |
stable-x86_64-apple-darwin | |
beta-x86_64-apple-darwin | |
nightly-x86_64-apple-darwin (default) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn parse(&self, resp: &[u8]) -> Result<Self::Response, Error> { | |
let mut ip = Option::None; | |
let mut gateway = Option::None; | |
let mut netmask = Option::None; | |
for chunk in resp.split(|e| *e == b'\n') { | |
let line = core::str::from_utf8(chunk); | |
if let Ok(line) = line { | |
if let Some(addr_type) = extract_between(line, ':') { | |
if let Some(addr_value) = extract_between(line, '"') { | |
if let Some(addr_value) = to_address(addr_value) { |