Browse Source

update: 声明SPI只支持半双工

Wendal Chen 2 years ago
parent
commit
cf022bbd81
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/port/luat_conf_bsp.h

+ 1 - 0
app/port/luat_conf_bsp.h

@@ -259,5 +259,6 @@
 #define LUAT_USE_PIN 1
 #define LUAT_USE_PIN 1
 
 
 #define LUAT_GPIO_PIN_MAX (48)
 #define LUAT_GPIO_PIN_MAX (48)
+#define LUAT_CONF_SPI_HALF_DUPLEX_ONLY 1
 
 
 #endif
 #endif