Skip to content

Commit 4665528

Browse files
authored
Merge pull request #160 from spacelab-ufsc/dev
Dev: Release v1.0 #159
2 parents 0e10b14 + 8762031 commit 4665528

File tree

144 files changed

+5389
-2315
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+5389
-2315
lines changed

.github/workflows/static-analysis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ jobs:
8181
run: cppcheck --std=c99 --error-exitcode=-1 --inline-suppr --addon=misra.py firmware/system/ --suppress=misra-c2012-19.2
8282

8383
- name: Execute CppCheck on libraries files
84-
run: cppcheck --std=c99 --error-exitcode=-1 --inline-suppr --addon=misra.py firmware/libs/
84+
run: |
85+
cppcheck --std=c99 --error-exitcode=-1 --addon=misra.py -I$PWD/firmware/app/libs/ngham-1.0/rsclib/include/ $PWD/firmware/app/libs/ngham-1.0/rsclib/src/*
86+
cppcheck --std=c99 --error-exitcode=-1 --addon=misra.py --inline-suppr -I$PWD/firmware/app/libs/ngham-1.0/include/ngham/ -I$PWD/firmware/app/libs/ngham-1.0/include/ $PWD/firmware/app/libs/ngham-1.0/src/* --suppress=misra-c2012-8.4
8587
8688
- name: Execute CppCheck on main files
8789
run: cppcheck --std=c99 --error-exitcode=-1 --addon=misra.py firmware/main.c firmware/version.h
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
11
#
2-
# unit-test-ngham.yml
2+
# test.yml
33
#
4-
# Copyright The TTC 2.0 Contributors.
4+
# Copyright The RSCLib Contributors.
55
#
6-
# This file is part of TTC 2.0.
6+
# This file is part of RSCLib.
77
#
8-
# TTC 2.0 is free software: you can redistribute it and/or modify
9-
# it under the terms of the GNU General Public License as published by
8+
# RSCLib is free software: you can redistribute it and/or modify
9+
# it under the terms of the GNU Lesser General Public License as published by
1010
# the Free Software Foundation, either version 3 of the License, or
1111
# (at your option) any later version.
1212
#
13-
# TTC 2.0 is distributed in the hope that it will be useful,
13+
# RSCLib is distributed in the hope that it will be useful,
1414
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
# GNU General Public License for more details.
15+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
# GNU Lesser General Public License for more details.
1717
#
18-
# You should have received a copy of the GNU General Public License
19-
# along with TTC 2.0. If not, see <http://www.gnu.org/licenses/>.
18+
# You should have received a copy of the GNU Lesser General Public License
19+
# along with RSCLib. If not, see <http://www.gnu.org/licenses/>.
2020
#
2121
#
2222

23-
name: NGHam unit tests
23+
name: NGHam Unit test
2424

2525
on:
2626
push:
27-
branches: [dev_firmware]
27+
branches: [ dev_firmware ]
2828
pull_request:
29-
branches: [master, dev, dev_firmware]
29+
branches: [ master, dev, dev_firmware]
30+
3031

3132
# 'workflow_dispatch' allows manual execution of this workflow under the repository's 'Actions' tab
3233
workflow_dispatch:
3334

3435
jobs:
3536

3637
unit-tests:
37-
name: NGHam unit tests
38+
name: Unit tests
3839
runs-on: ubuntu-latest
3940

4041
strategy:
4142
fail-fast: false
4243

4344
steps:
4445
- uses: actions/checkout@v3
46+
with:
47+
submodules: true
48+
4549

4650
- name: Install dependencies
4751
run: |
4852
sudo apt install -y cmake libcmocka0 libcmocka-dev
49-
git clone https://github.com/mgm8/rsclib.git
50-
cd rsclib
51-
mkdir build
52-
cd build
53-
cmake ..
54-
make
55-
sudo make install
53+
mkdir firmware/app/libs/ngham-1.0/tests/build_tests
54+
cd firmware/app/libs/ngham-1.0/tests/build_tests
55+
cmake ../
5656
5757
- name: Compile the test
5858
run: |
59-
cd firmware/app/libs/ngham-0.1/tests
60-
make
59+
cd firmware/app/libs/ngham-1.0/tests/build_tests
60+
cmake --build .
6161
6262
- name: Execute the test
63-
run: ./firmware/app/libs/ngham-0.1/tests/ngham_unit_test
63+
run: ./firmware/app/libs/ngham-1.0/tests/build_tests/ngham_test
Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,41 @@
11
#
2-
# unit-test-rsclib.yml
2+
# test.yml
33
#
4-
# Copyright The TTC 2.0 Contributors.
4+
# Copyright The RSCLib Contributors.
55
#
6-
# This file is part of TTC 2.0.
6+
# This file is part of RSCLib.
77
#
8-
# TTC 2.0 is free software: you can redistribute it and/or modify
9-
# it under the terms of the GNU General Public License as published by
8+
# RSCLib is free software: you can redistribute it and/or modify
9+
# it under the terms of the GNU Lesser General Public License as published by
1010
# the Free Software Foundation, either version 3 of the License, or
1111
# (at your option) any later version.
1212
#
13-
# TTC 2.0 is distributed in the hope that it will be useful,
13+
# RSCLib is distributed in the hope that it will be useful,
1414
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
# GNU General Public License for more details.
15+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16+
# GNU Lesser General Public License for more details.
1717
#
18-
# You should have received a copy of the GNU General Public License
19-
# along with TTC 2.0. If not, see <http://www.gnu.org/licenses/>.
18+
# You should have received a copy of the GNU Lesser General Public License
19+
# along with RSCLib. If not, see <http://www.gnu.org/licenses/>.
2020
#
2121
#
2222

23-
name: RSCLib unit tests
23+
name: RSCLib Unit tests
2424

2525
on:
2626
push:
27-
branches: [dev_firmware]
27+
branches: [ dev_firmware ]
2828
pull_request:
29-
branches: [master, dev, dev_firmware]
29+
branches: [ master, dev, dev_firmware]
30+
3031

3132
# 'workflow_dispatch' allows manual execution of this workflow under the repository's 'Actions' tab
3233
workflow_dispatch:
3334

3435
jobs:
3536

3637
unit-tests:
37-
name: RSCLib unit tests
38+
name: Unit tests
3839
runs-on: ubuntu-latest
3940

4041
strategy:
@@ -48,9 +49,9 @@ jobs:
4849

4950
- name: Compile the test
5051
run: |
51-
cd firmware/app/libs/rsclib-0.1/tests
52+
cd firmware/app/libs/ngham-1.0/rsclib/tests
5253
cmake .
5354
make
5455
5556
- name: Execute the test
56-
run: ./firmware/app/libs/rsclib-0.1/tests/rsc_test
57+
run: ./firmware/app/libs/ngham-1.0/rsclib/tests/rsc_test

doc/user_manual/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SRC=main
2-
VERSION=v0.5
2+
VERSION=v1.0
33
TARGET=slb-ttc2-doc-$(VERSION)
44

55
ifndef BUILD_DIR

0 commit comments

Comments
 (0)