From 4d987f0d7d6b015a0eb86a0addba1716814d0e3b Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Mon, 17 Feb 2020 12:31:23 +0000 Subject: [PATCH] rust: Important correction to board definition comment WIFI_RX and WIFI_TX are named from the perspective of the ESP8285, so they need to be connected RX<->TX and TX<->RX to be used. --- rust/k210-shared/src/board/def.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/k210-shared/src/board/def.rs b/rust/k210-shared/src/board/def.rs index 7a011a9..3826929 100644 --- a/rust/k210-shared/src/board/def.rs +++ b/rust/k210-shared/src/board/def.rs @@ -46,9 +46,9 @@ pub enum io { ISP_RX = 4, /** Host TX (to STM32F103C8) */ ISP_TX = 5, - /** WIFI serial TX (to ESP8285) */ + /** WIFI serial TX (from perspective of ESP8285, so our RX) */ WIFI_TX = 6, - /** WIFI serial RX (from ESP8285) */ + /** WIFI serial RX (from perspective of ESP8285, so our TX) */ WIFI_RX = 7, /** WIFI enable (to ESP8285) */ WIFI_EN = 8,