aboutsummaryrefslogtreecommitdiff
path: root/stm32f091/consts.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-10-27 15:37:35 +0200
committerlonkaars <loek@pipeframe.xyz>2022-10-27 15:37:35 +0200
commit94e31069df88c3d5e50b4160705c2b7aa27e152b (patch)
treefac20382f2055fc47fdee182b0b12d3dc564a888 /stm32f091/consts.h
parent4dbb57fe63d3c59893d1a670fecdde7ea20c9a4a (diff)
WIP server parser
Diffstat (limited to 'stm32f091/consts.h')
-rw-r--r--stm32f091/consts.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/stm32f091/consts.h b/stm32f091/consts.h
index 5f9d7a1..b3bc2e2 100644
--- a/stm32f091/consts.h
+++ b/stm32f091/consts.h
@@ -4,8 +4,8 @@
#define WS_SERVER_PORT "80"
-#define WS_DMA_RX_BUFFER_SIZE 10
-#define WS_DMA_TX_BUFFER_SIZE 50
+#define WS_DMA_RX_BUFFER_SIZE 100
+#define WS_DMA_TX_BUFFER_SIZE 100
#define WS_PINOUT_I2C_SDA_PIN GPIO_PIN_9
#define WS_PINOUT_I2C_SDA_PORT GPIOB
@@ -22,3 +22,5 @@
#define WS_PINOUT_USART2_TX_PIN GPIO_PIN_2
#define WS_PINOUT_USART2_TX_PORT GPIOA
+// print esp communication over usb serial (green for tx, red for rx)
+#define WS_DBG_PRINT_ESP_OVER_USART2