mirror of
https://github.com/avem-labs/Avem.git
synced 2023-09-01 15:18:49 +08:00
[ADD] Soft Link
This commit is contained in:
parent
fe80464e7d
commit
699925385a
1
components/headfile
Symbolic link
1
components/headfile
Symbolic link
@ -0,0 +1 @@
|
||||
../libs/STM32_USB-FS-Device_Lib_V4.0.0/Libraries/STM32F10x_StdPeriph_Driver/inc
|
1
components/sourcefile
Symbolic link
1
components/sourcefile
Symbolic link
@ -0,0 +1 @@
|
||||
../libs/STM32_USB-FS-Device_Lib_V4.0.0/Libraries/STM32F10x_StdPeriph_Driver/src
|
@ -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)))
|
||||
|
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef I2C_H_
|
||||
#define I2C_H_
|
||||
#ifndef I2C_H
|
||||
#define I2C_H
|
||||
|
||||
|
||||
#define SCL_PINNUM 15
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef MOTOR_H_
|
||||
#define MOTOR_H_
|
||||
#ifndef MOTOR_H
|
||||
#define MOTOR_H
|
||||
|
||||
#define MOTOR_NORMAL_STARTUP
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user