Orginized files

This commit is contained in:
Benjamin Vedder 2022-05-15 11:55:34 +02:00
parent 1309ece84b
commit b900ffcde5
147 changed files with 77 additions and 53 deletions

9
comm/comm.mk Normal file
View File

@ -0,0 +1,9 @@
CSRC += \
comm/commands.c \
comm/comm_usb_serial.c \
comm/comm_usb.c \
comm/comm_can.c \
comm/packet.c
INCDIR += comm

16
driver/driver.mk Normal file
View File

@ -0,0 +1,16 @@
CSRC += \
driver/eeprom.c \
driver/i2c_bb.c \
driver/ledpwm.c \
driver/servo_dec.c \
driver/servo_simple.c \
driver/spi_bb.c \
driver/timer.c \
driver/lora/SX1278.c \
driver/lora/lora.c \
driver/lora/SX1278_hw.c
INCDIR += \
driver \
driver/lora

View File

@ -1,4 +1,6 @@
HWSRC = hwconf/hw.c \
HWSRC = \
hwconf/board.c \
hwconf/hw.c \
hwconf/drv8301.c \
hwconf/drv8305.c \
hwconf/drv8320s.c \

View File

@ -18,7 +18,7 @@
#ifndef HW_410_0005OHM_H_
#define HW_410_0005OHM_H_
#define HW_SOURCE_ALT "trampa/vesc4/hw_410.c"
#define HW_SOURCE_ALT "other/vesc4/hw_410.c"
#define CURRENT_SHUNT_RES 0.0005
#include "hw_410.h"

View File

@ -18,7 +18,7 @@
#ifndef HW_410_005OHM_H_
#define HW_410_005OHM_H_
#define HW_SOURCE_ALT "trampa/vesc4/hw_410.c"
#define HW_SOURCE_ALT "other/vesc4/hw_410.c"
#define CURRENT_SHUNT_RES 0.005
#include "hw_410.h"

View File

@ -18,7 +18,7 @@
#ifndef HW_46_0005OHM_H_
#define HW_46_0005OHM_H_
#define HW_SOURCE_ALT "trampa/vesc4/hw_46.c"
#define HW_SOURCE_ALT "other/vesc4/hw_46.c"
#define CURRENT_SHUNT_RES 0.0005
#include "hw_46.h"

View File

@ -18,7 +18,7 @@
#ifndef HW_46_33K_H_
#define HW_46_33K_H_
#define HW_SOURCE_ALT "trampa/vesc4/hw_46.c"
#define HW_SOURCE_ALT "other/vesc4/hw_46.c"
#define VIN_R1 33000.0
#include "hw_46.h"

Some files were not shown because too many files have changed in this diff Show More