Add the digital input/output pins and the serial handling.

This commit is contained in:
Jonathan Naylor
2024-10-07 16:35:45 +01:00
parent 81b0ce126d
commit d9932fe5c0
26 changed files with 684 additions and 2001 deletions
+3 -7
View File
@@ -11,7 +11,7 @@
[env:MMDVM]
platform = ststm32
board = genericSTM32F446RE
framework = arduino, cmsis
framework = arduino
build_unflags = -O0
monitor_speed = 460800
build_flags =
@@ -22,10 +22,6 @@ build_flags =
-D ARM_MATH_CM4
-mfpu=fpv4-sp-d16
-mfloat-abi=hard
; enable USB serial
-D PIO_FRAMEWORK_ARDUINO_USB_HIGHSPEED_FULLMODE
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
-D USBCON
; increase the buffer sizes
-D SERIAL_RX_BUFFER_SIZE=1024
-D SERIAL_TX_BUFFER_SIZE=1024
-D SERIAL_RX_BUFFER_SIZE=2048
-D SERIAL_TX_BUFFER_SIZE=2048