Commit Graph

75 Commits

Author SHA1 Message Date
Harry Ho eeea973f1f Cargo.toml: Fix excessive dependency requirements 2020-12-29 11:53:34 +08:00
Harry Ho 50c3003210 examples/tcp_stm32f407.rs: Use SysTick timer 2020-12-29 11:53:33 +08:00
Harry Ho 362cf3c411 Use RTIC framework on the examples
* tcp_stm32f407 no longer obtains IP address from environment variables.
2020-12-29 11:47:02 +08:00
Harry Ho 25e682763c Use core::cell::RefCell to refer to EthController 2020-12-29 11:43:55 +08:00
Harry Ho 4ba5052623 Simplify, styling & spelling 2020-12-29 11:42:31 +08:00
Harry Ho e9a3a5e550 Add software delays on controller init; add missing SPISEL delay 2020-12-28 17:17:01 +08:00
Harry Ho ae0d77cbf1 Fix poor & unimplemented code 2020-12-28 17:06:31 +08:00
Harry Ho 6b47c05843 nix/tmux.sh: Remove error message about existing tmux sessions 2020-12-09 10:51:32 +08:00
Harry Ho f029b9c267 Update README for updated instructions 2020-08-24 12:47:35 +08:00
Harry Ho 7b313292ca Replace stm32f4xx_hal with embedded_hal in the library 2020-08-24 12:07:45 +08:00
Harry Ho 8e8d14b901 Use japaric/itm-tools; Introduce tmux environment 2020-08-24 12:05:49 +08:00
Harry Ho b38c5ae65b Update README for clarification 2020-08-18 14:14:33 +08:00
Harry Ho 5b99525cd0 Reorganise spi consts 2020-08-17 15:51:25 +08:00
Harry Ho 755a77050e Fix nix-shell & itm 2020-06-26 13:47:52 +08:00
Harry Ho 03b7e65a93 Update README 2020-06-24 16:24:33 +08:00
Harry Ho d399ebc3df Add nix-shell for Rust with OpenOCD & ITM; tcp example IP can be changed
* The user can now run a Nix shell to run the examples, OpenOCD and `itmdump` with Shell script binaries; use `run-help` for the list of these binaries.
* This includes a `itmdump` v0.3.1 binary re-compiled with patches for Rust >=1.41.0.
2020-06-24 15:38:57 +08:00
Harry Ho 66f89e8085 Update tx_stm32f407, tcp_stm32f407 examples 2020-06-24 14:17:09 +08:00
Harry Ho e1c0b0dd23 Add tcp_stm32f407 example 2020-06-24 14:17:09 +08:00
Harry Ho dd062723a3 Add smoltcp Phy impls 2020-06-24 14:17:07 +08:00
Harry Ho 5deab5db9b Fix MAC address ordering 2020-06-24 11:11:21 +08:00
Harry Ho 6b9f58a98f Add tx_stm32f407 example 2020-06-18 15:06:55 +08:00
Harry Ho 82f4bef09f Add packet TX 2020-06-18 11:09:39 +08:00
Harry Ho 9b48a585cf Add packet RX 2020-06-17 17:04:18 +08:00
Harry Ho 4e4267e55a Add reading SFR registers via SPI
* uses stm32f4xx_hal crate
2020-06-15 16:18:34 +08:00
Harry Ho 5479912ab0 Initial commit 2020-06-15 15:39:00 +08:00