瀏覽代碼

fix: fix incorrect device detection macro for STM32L100 assembly driver.
fix: fix some typos in readme.md

closes #13

Dmitry 8 年之前
父節點
當前提交
350e329f4c
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      readme.md
  2. 2 2
      src/usbd_stm32l100_devfs_asm.S

+ 2 - 2
readme.md

@@ -57,11 +57,11 @@
 1. Single physical endpoint can be used to implement
   + one bi-directional/single-buffer logical endpoint (CONTROL)
   + one uni-directional/double-buffer logical endpoint (BULK OR ISOCHRONOUS)
-  + two -directional/single-buffer logical endpoints (BULK OR INTERRUPT)
+  + two uni-directional/single-buffer logical endpoints (BULK OR INTERRUPT)
 
 2. At this moment BULK IN endpoint can use both buffers, but it is not **real** doublebuffered.
 
-3. Tested with STM32L052K8, STM31L100RC, STM32L476RG, STM32F103C8, STM32F103CB, STM32F303CC, STM32F303RE
+3. Tested with STM32L052K8, STM32L100RC, STM32L476RG, STM32F103C8, STM32F103CB, STM32F303CC, STM32F303RE
 
 ### Implemented definitions for classes ###
 1. USB HID based on [Device Class Definition for Human Interface Devices (HID) Version 1.11](http://www.usb.org/developers/hidpage/HID1_11.pdf)

+ 2 - 2
src/usbd_stm32l100_devfs_asm.S

@@ -18,7 +18,7 @@
 #endif
 
 #include "usb.h"
-#if defined(USE_STMV1_DRIVER)
+#if defined(USBD_STM32L100)
 #include "memmap.inc"
 
 #define EP_SETUP    0x0800
@@ -829,4 +829,4 @@ _evt_poll:
 
    .end
 
-#endif
+#endif //USBD_STM32L100