From 18df4064d3783903e352b58732aeb9e12669fbce Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Mon, 3 Oct 2016 21:17:54 +0000 Subject: usb-rs485: enable rs485 mode. Tested on the f1 with a LA only, but traces look good and as expected. future work to actually hook it up to a rs485 device. --- tests/usb-serial-rs485/syscfg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/usb-serial-rs485/syscfg.h') diff --git a/tests/usb-serial-rs485/syscfg.h b/tests/usb-serial-rs485/syscfg.h index 50d36e4..d643af1 100644 --- a/tests/usb-serial-rs485/syscfg.h +++ b/tests/usb-serial-rs485/syscfg.h @@ -34,8 +34,8 @@ extern "C" { #define LED_RX_PIN GPIO13 #define LED_TX_PORT GPIOC #define LED_TX_PIN GPIO13 -#define RS485DE_PORT GPIOB -#define RS485DE_PIN GPIO9 // FIXME? (disconnected, just a pin)) +#define RS485DE_PORT GPIOA +#define RS485DE_PIN GPIO8 /* TODO: should really make a stm32f4discovery.h file... */ #elif defined STM32F4 -- cgit