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) { |
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
murray:esp8266-tcp bob$ miniterm.py /dev/tty.usbserial-AB0JSKDU 115200 | |
--- Miniterm on /dev/tty.usbserial-AB0JSKDU 115200,8,N,1 --- | |
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- | |
r␘␂␀l��r�␀�c␂�n�␄␘�␌␘�␌␜��␜p�|���␀�8␂��ǒ��␜p␌␘␌�nn�␂�;�n����␌␛�␌b�#l`␛$`␛␄nn���␀␌␜���l␜�␌␟�␌␜�␌b�␄n��n�䎀l��␌b�ľ~�n�␃����␀l`␛��␒�#�n�␄�r␘␂␎␂nr���;␂��␌?␐��;�␂p�n��܀␌␜�r�␜��␜b��␌␜�␌b�␄n��n�$␏�␜p␌␘��nn�␃��␌␘r␘␂�␒�#�n�␄␏r␘␂␎␂nr���;␂��␌?␐��␂␎r�ےn�␄���߬� | |
============================== | |
LoBo ESP8266 Bootloader v1.2.0 | |
============================== | |
Flash map: 2, 1MB (512+512) | |
Flash mode: DOUT, [ESP8285] | |
Reset reason: POWER_ON |
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:52:30.616 waiting for ready | |
15:52:30.870 esp8266 is online | |
15:52:30.870 running app via RTIC | |
15:52:30.870 starting dma | |
15:52:30.870 DEBUG - Sending command: "AT+CIPMUX=1\r\n" | |
15:52:30.870 dma irq | |
15:52:30.870 | |
15:52:30.870 | |
15:52:30.870 A | |
15:52:30.870 T |
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
diff --git a/src/dma/traits.rs b/src/dma/traits.rs | |
index 09cf1c3..f414132 100644 | |
--- a/src/dma/traits.rs | |
+++ b/src/dma/traits.rs | |
@@ -2,6 +2,7 @@ use super::*; | |
use crate::{ | |
bb, | |
pac::{self, DMA1, DMA2, RCC}, | |
+ serial::{RxDma, TxDma}, | |
}; |