Compilation errors fixed
This commit is contained in:
@@ -55,9 +55,6 @@ volatile uint32_t Tenms ;
|
|||||||
/** Pins description corresponding to Rxd,Txd, (UART pins) */
|
/** Pins description corresponding to Rxd,Txd, (UART pins) */
|
||||||
#define SECOND_PINS {PINS_USART0}
|
#define SECOND_PINS {PINS_USART0}
|
||||||
|
|
||||||
#define BT_USART UART1
|
|
||||||
#define BT_ID ID_UART1
|
|
||||||
|
|
||||||
#define CPU_INT int32_t
|
#define CPU_INT int32_t
|
||||||
#define CPU_UINT uint32_t
|
#define CPU_UINT uint32_t
|
||||||
|
|
||||||
|
|||||||
@@ -604,6 +604,10 @@ extern uint32_t transSpeed;
|
|||||||
#define BOARD_USART_BASE USART1
|
#define BOARD_USART_BASE USART1
|
||||||
#define BOARD_ID_USART ID_USART1
|
#define BOARD_ID_USART ID_USART1
|
||||||
|
|
||||||
|
// BlueTooth
|
||||||
|
#define BT_USART UART1
|
||||||
|
#define BT_ID ID_UART1
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -40,9 +40,7 @@
|
|||||||
old DSM2 code) which seemed to much for the interrupt.
|
old DSM2 code) which seemed to much for the interrupt.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SIMU
|
#include "../open9x.h"
|
||||||
#include "open9x.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Start and stop bits need to be 2ms in duration. Start bit is low, stop bit is high
|
// Start and stop bits need to be 2ms in duration. Start bit is low, stop bit is high
|
||||||
#define SOMOSSBIT 4 //The 2ms of a stop/start bit
|
#define SOMOSSBIT 4 //The 2ms of a stop/start bit
|
||||||
|
|||||||
@@ -287,7 +287,9 @@ namespace simu {
|
|||||||
#include <direct.h>
|
#include <direct.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(PCBARM)
|
||||||
FATFS g_FATFS_Obj;
|
FATFS g_FATFS_Obj;
|
||||||
|
#endif
|
||||||
|
|
||||||
FRESULT f_stat (const TCHAR*, FILINFO*)
|
FRESULT f_stat (const TCHAR*, FILINFO*)
|
||||||
{
|
{
|
||||||
@@ -410,6 +412,9 @@ FRESULT f_getcwd (TCHAR *path, UINT sz_path)
|
|||||||
return FR_OK;
|
return FR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(PCBARM)
|
||||||
int32_t Card_state = SD_ST_MOUNTED;
|
int32_t Card_state = SD_ST_MOUNTED;
|
||||||
uint32_t Card_CSD[4]; // TODO elsewhere
|
uint32_t Card_CSD[4]; // TODO elsewhere
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user