Commit Graph

20 Commits

Author SHA1 Message Date
Marcin Smoczyński
ea7264d434 [EGD-5941] Add tool to analyze stack usage
Add a script to determine a stack usage of code components.
The GENERATE_STACK_USAGE option must be used in the build configuration.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-03-01 13:27:44 +01:00
Marcin Smoczyński
e9fae2e321 [EGD-5869] Add puregdb
Add misc-tools repo containing:
 - linker map file analyzer (firmware size analyzer)
 - gdb's plugin which checks system memory health

Automatically load puregdb at startup of a debug session.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-02-24 12:49:53 +01:00
Piotr Tański
c7c45122fa [EGD-5236] Clang tidy diff integrated
It is now possible to run clang-tidy analysis only on the HEAD commit.
2021-02-18 11:27:55 +01:00
Radoslaw Wicik
b661aa0320 [EGD-4763] Update tests add missing corner cases
Some tests where not added during the initial setup,
and there where few more corner cases that need to fixed
like line wrapping by `catch2 -l` and need of escaping
some characters [],
2021-02-08 23:19:21 +01:00
Radoslaw Wicik
bb496101b2 [EGD-4763] Add check if all Unit Tests where run
Catch2 doesn't report some errors in test, and some test are
disabled on porpoise this commit adds set of scripts and changes to CI
that will clearly mark what test haven't been run.
2021-02-04 16:45:50 +01:00
Radoslaw Wicik
844903ad7b [EGD-5384] Download selected assets from releases
Allows easy downloading of assets in MuditaOS repository, where there
is multiple packages.
2021-01-25 12:46:50 +01:00
Radoslaw Wicik
da3a4382d8 [EGD-4529] on release upload packages to GitHub assets
Uploading packages to github assets release is required for
Mudita Center application to be able to update phones.
2021-01-22 10:34:53 +01:00
Marcin Smoczyński
f554354452 [EGD-5344] Fix commit subject check
Commit subject check run with CI was lacking check for:
 - EGD identifier (any word was allowed),
 - capital letter start.
2021-01-21 11:17:46 +01:00
Piotr Tański
c8a31091e8 [EGD-3390] Add integration with clang-tidy
Clang-tidy is used to perform static code analysis.
2021-01-21 10:56:40 +01:00
Borys Jelenski
1a26cdb407 [EGD-4527] Add creating update package as CMake target
Standalone and update packages can be generated by CMake targets. During
creation of update package, the bootloader will be downloaded
and included in the package along with version information.

Additionally, a small refactor was performed since the Version.cmake
script is now used for generating both the version.hpp and version.json
files. Observervable side effects from this script have been moved to
separate scripts which are invoked at build time.
2021-01-19 14:42:30 +01:00
Piotr Leniec
e63cb65ae9 [DW-31] Don't require commit subject to start with Add/Change/Fix
After the testing period we decided that the rule to start
a commit subject with Add/Change/Fix is overly restrictive.
2021-01-13 15:21:14 +01:00
Piotr Leniec
33ae5357e9 [DW-31] Add documentation link to the commit format error
Make sure that reference is easily accessible by printing the link to it
on commit message check failure.
2020-12-22 09:42:04 +01:00
piotrleniec-mudita
2695cc8304 [DW-31] Add commit message format checking on CI (#1201)
The changes include adding a custom github action and
integrating it into the main flow.
2020-12-16 14:01:50 +01:00
Radoslaw Wicik
9cf04ca2f0 [EGD-4627] Add target for ecooboot.bin download
ecoboot.bin - bootloader is required in final package.
We will not build it here, we just download newest available
in github releases.
2020-12-15 09:09:23 +01:00
Radoslaw Wicik
488ac36339 [EGD-4341] Detect static globals in CI 2020-11-25 14:23:42 +01:00
Adam
9d57c2ab5a Crash restore python script update to work with both python2 and python3 && ./run.sh update to accept more parameters (#1066) 2020-11-24 10:36:07 +01:00
Marcin Smoczyński
486d21af0e [EGD-4288] refactor global data (#959)
Reduce firmware size by refactoring global data defined in public
headers.

Each global variable which require runtime initialization adds
initialization code to every translation unit which includes the header
where the variable is defined and declared.
2020-11-04 18:24:39 +01:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Radoslaw Wicik
d9f8fe1170 [EGD-4022] Update Docker image 2020-10-13 12:43:22 +02:00
Adam
f5f27d642f EGD-2955 EGD-3588 Timers fully refactored & updated (#721)
* Timers now are Application thread safe
* Timers now have consistent API independend of Application (no more c style timers)
* Timers can have either: callback or override onTimer() method - this
  way we can create more complicated timers or just use existing ones
* gui::Timer added via adapter class GuiTimer to decouple sys::Timer
  with gui::Timer
* Fixed race in wrapper
* Updated docs
* fixed using std and cpp_freertos and DataReceivedHandler hidden in Application.hpp
2020-10-02 14:04:57 +02:00