Skip to content

Commit cccb32b

Browse files
kmilo17petcamilo
andauthored
sync dev (#29)
* Update README.md * Create .gitattributes * Update README.md * doc fixes * fix on qfp16 fun.naming for rad<>deg conversions * minor doc fixes * doc typo fixes and others * qcrc added macros with selected algorithms * added qFIS_StoreAggregatedRegion to qfis * fix qfis doc" * added toc to some dox * minor fix to qpid autotune. Doc fixes * doc typo fixes * typo fixes to qtlisys.h doc * fix doc fcn parameters for some fcns * minor fixes and updated figures * minor doc fixes * minor doc fix * minor doc fixes * Update qfis.dox * fixed bumpless transfer on qpid. added derivative kick removal * fixed initialization * centered formulas on doc * minor changes on qpid. Doc fixes * fixed doc for qpid * qpid doc update * additive mrac anti-windup * qpid doc fixes * doc update * fix formula sintax doc qpid * minor addons to qpid * minor addon to qpid * qpid rev to v1.15 * fix figure on qfis.dox * Update mainpage.dox * added typegeneric and fvector libs * doc fix on typegenerics * minor doc fixes * doc fixes * changes on doc * minor doc fixes * minor changes * updated doc * addons to qfmathex and qtypegeneric * doc fixes y minor changes * updated readme * added qffmath : fast floating-point math * added qfis dep list * minor doc fix * doc group fix * minor doc fixes * math kernel can be selected by using QLIBS_USE_STD_MATH * added cbrt and rcbrt to qffmath * minor adjustments * readme update * fixes to qssmoother * addons to qssmoother and qffmath * doc typo fixes * minor doc typo fixes * added CMakeLists.txt and minor doc fixes" * minor fixes * minor changes * fix doc for qfis * doc typos and text redaction. added static_analisys workflow * SA fixes * added SA deps for misra * SA minor adjustments * SA rev 3 * SA rev 4 * SA rev 5 * SA rev 6 * SA rev 7 * SA rev 8 * SA rev 9 * Update stylesheet * Update doxygen_gen.yml * fix typo in qffmath.h * fix typo and math core selection * minor fixes * minor fixes * updated ver on cmakelists.txt * added qLTISys_SetInitStates. doc update * doc update * doc fixes * fixe to qltisys * Update README.md * fix grammar and typos * minor doc fixes * Create .deepsource.toml * Update stylesheet * fix doxygen version on doc * fixed overflow check on qfp * fix to wrapto180 on qfp16 * fixes to qpid, qnuma & some improvements * bump to 1.2.7 * update readem * sa rev * sa rev * sa fixes * sa rev * sa rev again * fix to qpid * move ffmathex to ffmath. Fix tuning rule for PID. added more functions to ffmath * update qfis.list * update doc stylesheet and doxygen file * update workflows * Update Doxygen file --------- Co-authored-by: camilo <[email protected]>
1 parent 7d01536 commit cccb32b

Some content is hidden

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

48 files changed

+6249
-1580
lines changed

.deepsource.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
version = 1
2+
3+
[[analyzers]]
4+
name = "cxx"

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.gitattributes export-ignore
2+
.gitignore export-ignore
3+
.gitmodules export-ignore
4+
README.md export-ignore
5+
doc export-ignore
6+
.github export-ignore

.github/workflows/doxygen_gen.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,21 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout repository and submodules
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515
with:
16-
submodules: recursive
16+
submodules: recursive
1717
- name: create dirs
1818
run: mkdir docout
19+
- name: set repo url on corner
20+
run: sed -i 's,https://github.com/jothepro/doxygen-awesome-css,https://github.com/kmilo17pet/qlibs,g' doc/stylesheet/doxygen-custom/header.html
1921
- name: Doxygen Action
20-
uses: mattnotmitt/doxygen-action@v1.9.2
22+
uses: mattnotmitt/doxygen-action@edge
2123
with:
2224
doxyfile-path: './doc/Doxyfile'
2325
- name: rm gitignore
24-
run: rm .gitignore
26+
run: rm .gitignore
2527
- name: Deploy doc
26-
uses: peaceiris/actions-gh-pages@v3
28+
uses: peaceiris/actions-gh-pages@v4
2729
with:
2830
github_token: ${{ secrets.GITHUB_TOKEN }}
29-
publish_dir: ./doxyout/html
31+
publish_dir: ./doxyout/html
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Static-Analysis
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
paths-ignore:
7+
- 'dep/**'
8+
- 'doc/**'
9+
10+
jobs:
11+
analize:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
submodules: recursive
17+
- name: Update OS packages list
18+
run: |
19+
sudo apt-get update -yq
20+
- name: Install analyzer
21+
run: |
22+
sudo apt-get install -y cppcheck python3
23+
mkdir sa_results
24+
- name: General checks
25+
run: cppcheck --enable=all --inline-suppr --inconclusive --std=c99 ./ -I ./include --output-file=./sa_results/general.txt --suppress=missingIncludeSystem --suppress=unmatchedSuppression:{}
26+
- name: CERT checks
27+
run: cppcheck --addon=cert.py --inline-suppr --inconclusive --std=c99 ./ -I ./include --output-file=./sa_results/cert.txt --suppress=missingIncludeSystem --suppress=unmatchedSuppression:{}
28+
- name: MISRA checks
29+
run: cppcheck --addon=./check/misra.json --inline-suppr --inconclusive --std=c99 ./ -I ./include --output-file=./sa_results/misra.txt --suppress=missingIncludeSystem --suppress=unmatchedSuppression:{}
30+
- uses: actions/upload-artifact@v4
31+
with:
32+
name: Static_Analisys_Results
33+
path: sa_results

.vscode/settings.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"files.associations": {
3+
"algorithm": "c",
4+
"qffmath.h": "c",
5+
"float.h": "c",
6+
"functional": "c",
7+
"math.h": "c",
8+
"qfis.h": "c",
9+
"qpid.h": "c",
10+
"qltisys.h": "c",
11+
"cmath": "c",
12+
"string.h": "c",
13+
"random": "c"
14+
}
15+
}

CMakeLists.txt

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# qLibs CMakeLists.txt file
2+
# Copyright (C) 2012 Eng. Juan Camilo Gómez Cadavid MSc. All Rights Reserved.
3+
#
4+
# To make use of the qLibs libraries on your solution just add the following
5+
# directives to the top-level CMakeLists.txt file :
6+
#
7+
# add_subdirectory( <relative/path/to/qlibs> )
8+
# target_link_libraries( ${PROJECT_NAME} qlibs )
9+
#
10+
# This file is part of the qLibs distribution.
11+
12+
cmake_minimum_required( VERSION 3.2 )
13+
project( qlibs
14+
VERSION 1.2.8
15+
DESCRIPTION "A collection of useful libraries for embedded systems"
16+
LANGUAGES C
17+
)
18+
19+
add_library( ${PROJECT_NAME}
20+
qbitfield.c
21+
qcrc.c
22+
qffmath.c
23+
qfis.c
24+
qfp16.c
25+
qltisys.c
26+
qnuma.c
27+
qpid.c
28+
qrms.c
29+
qssmoother.c
30+
qtdl.c
31+
qtypegeneric.c
32+
qvfloat.c
33+
)
34+
target_include_directories( ${PROJECT_NAME} PUBLIC include )

0 commit comments

Comments
 (0)