Skip to content

Commit e08d456

Browse files
committed
Merge branch 'master' into feature/bms-command-refactor
2 parents 8bb352d + 05e21da commit e08d456

File tree

4 files changed

+44
-2
lines changed

4 files changed

+44
-2
lines changed

.github/workflows/main.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
container: mbedos/mbed-os-env:stable
13+
14+
env:
15+
# The list of projects to run on. This should just run for each dir that includes a mbed_app.json
16+
PROJECTS: bms
17+
18+
steps:
19+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
20+
- uses: actions/checkout@v2
21+
22+
# Install dependencies for all projects
23+
- name: Install dependencies
24+
shell: bash
25+
run: |
26+
for PROJECT in $PROJECTS; do
27+
pushd $PROJECT
28+
mbed deploy
29+
popd
30+
done
31+
32+
# Compile all projects
33+
- name: Compile
34+
shell: bash
35+
run: |
36+
for PROJECT in $PROJECTS; do
37+
pushd $PROJECT
38+
mbed compile
39+
popd
40+
done

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ mbed_settings.py
1313
# Default Build Directory
1414
.build/
1515
BUILD/
16-
.mbed
1716
venv/
1817

1918
# Mbedls

bms/.mbed

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TARGET=lpc1768
2+
TOOLCHAIN=GCC_ARM
3+
ROOT=.

bms/src/LTC6811Bus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "LTC6811Bus.h"
22

33
// TODO: stdout should not be in this header
4-
#include "BmsThread.h"
4+
#include "BmsConfig.h"
55

66
#include "mbed.h"
77

0 commit comments

Comments
 (0)