ChibiOS as submodule

This commit is contained in:
rusefillc 2021-04-21 18:31:48 -04:00
parent ee65dea43b
commit 2c2295557a
3 changed files with 7 additions and 2 deletions

4
.gitmodules vendored Normal file
View File

@ -0,0 +1,4 @@
[submodule "ChibiOS"]
path = ChibiOS
url = https://github.com/ChibiOS/ChibiOS
branch = stable_20.3.x

1
ChibiOS Submodule

@ -0,0 +1 @@
Subproject commit aac09d3da8b019cf5f6ac4366200b6d2a1e26fc7

View File

@ -82,9 +82,9 @@ endif
# Define project name here
PROJECT = ch
CHIBIOSLUA ?= $(shell pwd)
CHIBIOSLUA ?= .
# Imported source files and paths
CHIBIOS = $(CHIBIOSLUA)/../ChibiOS
CHIBIOS = $(CHIBIOSLUA)/ChibiOS
include $(CHIBIOS)/os/hal/hal.mk
include $(CHIBIOS)/os/hal/boards/ST_STM32F4_DISCOVERY/board.mk
include $(CHIBIOS)/os/hal/ports/STM32/STM32F4xx/platform.mk