From 72f11e1d73a85cffe8ab36611351bdafdeb18cbb Mon Sep 17 00:00:00 2001 From: JbLb Date: Mon, 20 Jan 2020 23:23:36 +0100 Subject: [PATCH] stm32 stuff: compil options and serial ports --- platformio.ini | 2 ++ src/build_opt.h | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 src/build_opt.h diff --git a/platformio.ini b/platformio.ini index aab45e2..a88fc5f 100644 --- a/platformio.ini +++ b/platformio.ini @@ -45,6 +45,8 @@ upload_flags = platform = ststm32 framework = arduino board = nucleo_l031k6 +build_flags = + -Wno-deprecated lib_deps = Nintendo Extension Ctrl diff --git a/src/build_opt.h b/src/build_opt.h new file mode 100644 index 0000000..78f8159 --- /dev/null +++ b/src/build_opt.h @@ -0,0 +1,3 @@ +-DENABLE_HWSERIAL2 +-DPIN_SERIAL3_RX=PA10 +-DPIN_SERIAL3_TX=PA9 \ No newline at end of file