Merge branch 'master' into balanceapp_cascading_pid

This commit is contained in:
Mitch Lustig 2022-05-15 11:01:30 -07:00
commit 26c17ae065
158 changed files with 89 additions and 65 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

25
driver/driver.mk Normal file
View File

@ -0,0 +1,25 @@
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
CSRC += \
driver/lora/SX1278.c \
driver/lora/lora.c \
driver/lora/SX1278_hw.c
CSRC += \
driver/nrf/spi_sw.c \
driver/nrf/rf.c \
driver/nrf/rfhelp.c \
driver/nrf/nrf_driver.c
INCDIR += \
driver \
driver/lora \
driver/nrf

View File

@ -1,10 +1,13 @@
HWSRC = hwconf/hw.c \ HWSRC = \
hwconf/board.c \
hwconf/hw.c \
hwconf/drv8301.c \ hwconf/drv8301.c \
hwconf/drv8305.c \ hwconf/drv8305.c \
hwconf/drv8320s.c \ hwconf/drv8320s.c \
hwconf/drv8323s.c \ hwconf/drv8323s.c \
hwconf/luna/luna_display_serial.c \ hwconf/luna/luna_display_serial.c \
hwconf/si8900.c hwconf/si8900.c \
hwconf/shutdown.c \
HWINC = hwconf \ HWINC = hwconf \
hwconf/luna hwconf/luna

View File

@ -18,7 +18,7 @@
#ifndef HW_410_0005OHM_H_ #ifndef HW_410_0005OHM_H_
#define 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 #define CURRENT_SHUNT_RES 0.0005
#include "hw_410.h" #include "hw_410.h"

View File

@ -18,7 +18,7 @@
#ifndef HW_410_005OHM_H_ #ifndef HW_410_005OHM_H_
#define 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 #define CURRENT_SHUNT_RES 0.005
#include "hw_410.h" #include "hw_410.h"

View File

@ -18,7 +18,7 @@
#ifndef HW_46_0005OHM_H_ #ifndef HW_46_0005OHM_H_
#define 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 #define CURRENT_SHUNT_RES 0.0005
#include "hw_46.h" #include "hw_46.h"

View File

@ -18,7 +18,7 @@
#ifndef HW_46_33K_H_ #ifndef HW_46_33K_H_
#define 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 #define VIN_R1 33000.0
#include "hw_46.h" #include "hw_46.h"

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