##// END OF EJS Templates
Sync
jeandet -
r94:f7519daa5469 dev_alexis
parent child
Show More
@@ -774,40 +774,7 INPUT_ENCODING = UTF-8
774 # *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
774 # *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
775 # *.qsf, *.as and *.js.
775 # *.qsf, *.as and *.js.
776
776
777 FILE_PATTERNS = *.c \
777 FILE_PATTERNS = *.h
778 *.cc \
779 *.cxx \
780 *.cpp \
781 *.c++ \
782 *.d \
783 *.java \
784 *.ii \
785 *.ixx \
786 *.ipp \
787 *.i++ \
788 *.inl \
789 *.h \
790 *.hh \
791 *.hxx \
792 *.hpp \
793 *.h++ \
794 *.idl \
795 *.odl \
796 *.cs \
797 *.php \
798 *.php3 \
799 *.inc \
800 *.m \
801 *.markdown \
802 *.md \
803 *.mm \
804 *.dox \
805 *.py \
806 *.f90 \
807 *.f \
808 *.for \
809 *.vhd \
810 *.vhdl
811
778
812 # The RECURSIVE tag can be used to specify whether or not subdirectories should
779 # The RECURSIVE tag can be used to specify whether or not subdirectories should
813 # be searched for input files as well.
780 # be searched for input files as well.
@@ -64,7 +64,7 A simple example to read or writes on ua
64 extern "C" {
64 extern "C" {
65 #endif
65 #endif
66
66
67 /**
67 /*!
68 * @brief uart handle
68 * @brief uart handle
69 *
69 *
70 * uart_t is the handle type you will use for all uart related functions.
70 * uart_t is the handle type you will use for all uart related functions.
@@ -132,12 +132,10 typedef enum uartstopbits_t
132
132
133
133
134
134
135 /**
135 /*!
136 * @brief Uart open function
136 This function opens the given uart, it should turn it ON iff needed and enable it.
137 *
137 @param count The uart identifier uart1 for example
138 * This function opens the given uart, it should turn it ON iff needed and enable it.
138 @return The uart identifier on success or -1 if it fails.
139 * @param count The uart identifier uart1 for example
140 * @return The uart identifier on success or -1 if it fails.
141 */
139 */
142 extern uart_t uartopen(int count);
140 extern uart_t uartopen(int count);
143 /**
141 /**
@@ -23,6 +23,7 INCLUDEPATH += $$[QT_INSTALL_HEADERS] \
23 $$[QT_INSTALL_HEADERS]/AUDIO \
23 $$[QT_INSTALL_HEADERS]/AUDIO \
24 $$[QT_INSTALL_HEADERS]/POWER \
24 $$[QT_INSTALL_HEADERS]/POWER \
25 $$[QT_INSTALL_HEADERS]/PERIPHERALS \
25 $$[QT_INSTALL_HEADERS]/PERIPHERALS \
26 $$[QT_INSTALL_HEADERS]/USB \
26 $$[QT_INSTALL_HEADERS]/FLASH \
27 $$[QT_INSTALL_HEADERS]/FLASH \
27 $$[QT_INSTALL_HEADERS]/ADC \
28 $$[QT_INSTALL_HEADERS]/ADC \
28 $$[QT_INSTALL_HEADERS]/GRAPHIC/CONTROLERS \
29 $$[QT_INSTALL_HEADERS]/GRAPHIC/CONTROLERS \
@@ -28,7 +28,7
28 /* Define to prevent recursive inclusion -------------------------------------*/
28 /* Define to prevent recursive inclusion -------------------------------------*/
29 #ifndef __USB_OTG__
29 #ifndef __USB_OTG__
30 #define __USB_OTG__
30 #define __USB_OTG__
31
31 #include <usbd_core.h>
32
32
33 /** @addtogroup USB_OTG_DRIVER
33 /** @addtogroup USB_OTG_DRIVER
34 * @{
34 * @{
@@ -17,6 +17,7 HEADERS += \
17 $${PWD}/STM32_USB_OTG_Driver/inc/usb_dcd.h \
17 $${PWD}/STM32_USB_OTG_Driver/inc/usb_dcd.h \
18 $${PWD}/STM32_USB_OTG_Driver/inc/usb_core.h \
18 $${PWD}/STM32_USB_OTG_Driver/inc/usb_core.h \
19 $${PWD}/STM32_USB_OTG_Driver/inc/usb_conf_template.h \
19 $${PWD}/STM32_USB_OTG_Driver/inc/usb_conf_template.h \
20 $${PWD}/STM32_USB_OTG_Driver/inc/usb_conf.h \
20 $${PWD}/STM32_USB_OTG_Driver/inc/usb_bsp.h
21 $${PWD}/STM32_USB_OTG_Driver/inc/usb_bsp.h
21 }
22 }
22 contains(USB , OTG){
23 contains(USB , OTG){
@@ -7,7 +7,8 SUBDIRS = CORE/core.pro \
7 UART/uart.pro \
7 UART/uart.pro \
8 SPI/spi.pro \
8 SPI/spi.pro \
9 I2C/i2c.pro \
9 I2C/i2c.pro \
10 SDCARD-SDIO/sdcard-sdio.pro
10 SDCARD-SDIO/sdcard-sdio.pro \
11 USB
11
12
12
13
13
14
General Comments 0
You need to be logged in to leave comments. Login now