[ADD] Soft Link

This commit is contained in:
but0n 2016-11-20 16:05:16 +08:00
parent fe80464e7d
commit 699925385a
9 changed files with 16 additions and 14 deletions

1
components/headfile Symbolic link
View File

@ -0,0 +1 @@
../libs/STM32_USB-FS-Device_Lib_V4.0.0/Libraries/STM32F10x_StdPeriph_Driver/inc

1
components/sourcefile Symbolic link
View File

@ -0,0 +1 @@
../libs/STM32_USB-FS-Device_Lib_V4.0.0/Libraries/STM32F10x_StdPeriph_Driver/src

View File

@ -1,6 +1,6 @@
#pragma once
#ifndef BIT_H_
#define BIT_H_
#ifndef BIT_H
#define BIT_H
#define BITBAND(addr, bitnum) ((addr & 0xF0000000) + 0x2000000 + ((addr & 0xFFFFF) << 5) + (bitnum<<2))
#define BIT_ADDR(addr, bitnum) *((volatile unsigned long *)(BITBAND(addr, bitnum)))

View File

@ -1,7 +1,7 @@
#pragma once
#ifndef I2C_H_
#define I2C_H_
#ifndef I2C_H
#define I2C_H
#define SCL_PINNUM 15

View File

@ -1,6 +1,6 @@
#pragma once
#ifndef MOTOR_H_
#define MOTOR_H_
#ifndef MOTOR_H
#define MOTOR_H
#define MOTOR_NORMAL_STARTUP

View File

@ -1,6 +1,6 @@
#pragma once
#ifndef MPU6050_H_
#define MPU6050_H_
#ifndef MPU6050_H
#define MPU6050_H
//=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_=_
#define LED0 BIT_ADDR((GPIOA_BASE+12), 8)

View File

@ -1,6 +1,6 @@
#pragma once
#ifndef PID_H_
#define PID_H_
#ifndef PID_H
#define PID_H
extern float g_Yaw, g_Pitch, g_Roll; //eular

View File

@ -1,6 +1,6 @@
#pragma once
#ifndef UART_H_
#define UART_H_
#ifndef UART_H
#define UART_H
void uart_init(unsigned int pclk2, unsigned int bound);
void uart_sendData(unsigned char data);

View File

@ -1,6 +1,6 @@
#pragma once
#ifndef WIFI_H_
#define WIFI_H_
#ifndef WIFI_H
#define WIFI_H
//Only USART1 PCLK2 = 72
#define WIFI_PCLK2 36
#define WIFI_BOUND 115200