Changes to use ft90x-sdk as submodule or installed SDK from toolchain.

This commit is contained in:
Gordon McNab
2021-10-27 12:30:51 +01:00
parent 5e6edecaa3
commit 6a658007a5
4 changed files with 50 additions and 19 deletions

View File

@@ -29,20 +29,19 @@
* in https://brtchip.com/BRTSourceCodeLicenseAgreement
*/
#include <stdint.h>
#include <ft900.h>
#include <registers/ft900_registers.h>
#include "board.h"
#include "bsp/board.h"
#include "tusb_option.h"
#if TUSB_OPT_DEVICE_ENABLED && \
(CFG_TUSB_MCU == OPT_MCU_FT90X || CFG_TUSB_MCU == OPT_MCU_FT93X)
(CFG_TUSB_MCU == OPT_MCU_FT90X || CFG_TUSB_MCU == OPT_MCU_FT93X)
#define USBD_USE_STREAMS
#include <stdint.h>
#include <errno.h>
#include <ft900.h>
#include <registers/ft900_registers.h>
#include "device/dcd.h"
//--------------------------------------------------------------------+