Commit Graph

16 Commits

Author SHA1 Message Date
occheung 366ff1c80e * Changed delay source from DelayUs from embedded-hal to user-defined closure
* Updated examples
- Removed delay.rs
- Removed over-obvious comments
2021-01-22 17:46:38 +08:00
occheung c146eb155d examples: remove duplicate delay 2021-01-22 14:35:32 +08:00
occheung b8094f84f3 example/tx: arp revert modification 2021-01-21 13:18:30 +08:00
occheung eeeb162cc5 examples: updated 2021-01-21 13:07:03 +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 7b313292ca Replace stm32f4xx_hal with embedded_hal in the library 2020-08-24 12:07:45 +08:00
Harry Ho 5b99525cd0 Reorganise spi consts 2020-08-17 15:51:25 +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 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