Add new forked driver as submodule

This commit is contained in:
Mario Hüttel 2019-08-31 20:17:57 +02:00
parent 8bfbe0c978
commit a70cc3a1f0
4 changed files with 7 additions and 2 deletions

4
.gitmodules vendored
View File

@ -2,3 +2,7 @@
path = bme680-air-meter
url = https://git.shimatta.de/pcb/bme680-air-meter
branch = master
[submodule "bme680-driver-fork"]
path = bme680-driver-fork
url = https://git.shimatta.de/mhu/bme680-driver-fork
branch = master

View File

@ -17,7 +17,7 @@ mapfile = memmap
##Custom Files###
CFILES += BME680_driver/bme680.c
CFILES += bme680-driver-fork/bme680.c
###################################################################################

1
bme680-driver-fork Submodule

@ -0,0 +1 @@
Subproject commit 617908cbd42082ea23c38c73cfc9fd0dcd1789b5

2
main.c
View File

@ -1,5 +1,5 @@
#include <stm32f0xx.h>
#include "BME680_driver/bme680.h"
#include "bme680-driver-fork/bme680.h"
unsigned int i = 0x12345678;
unsigned char c = 2;