commit 02e923970e5698829f7798886aed1060fd976083 Author: Eric Bagus Date: Thu Feb 8 15:51:05 2024 +0100 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2111849 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.out +.idea +CMakeLists.txt +cmake-build-debug +build \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/build-project.sh b/build-project.sh new file mode 100644 index 0000000..1767847 --- /dev/null +++ b/build-project.sh @@ -0,0 +1,7 @@ +#!/bin/bash +if test -d build; then + rm -r build +fi +ceedling test:all +ceedling release +cp build/release/Calculator.out Calculator.out diff --git a/project.yml b/project.yml new file mode 100644 index 0000000..7808c3b --- /dev/null +++ b/project.yml @@ -0,0 +1,80 @@ +:project: + :use_exceptions: FALSE + :use_test_preprocessor: TRUE + :use_auxiliary_dependencies: TRUE + :build_root: build + :release_build: TRUE + :test_file_prefix: test_ + :which_ceedling: gem + :ceedling_version: 0.31.1 + :default_tasks: + - test:all + +:test_build: + :use_assembly: TRUE + +:release_build: + :output: Calculator.out + :use_assembly: FALSE + +:environment: + +:extension: + :executable: .out + +:paths: + :test: + - +:test/** + :source: + - src/** + :support: + :libraries: [] + +:defines: + :common: &common_defines [] + :test: + - *common_defines + - TEST + - UNITY_INCLUDE_DOUBLE + :test_preprocess: + - *common_defines + - TEST + +:cmock: + :mock_prefix: mock_ + :when_no_prototypes: :warn + :enforce_strict_ordering: TRUE + :plugins: + - :ignore + - :callback + :treat_as: + uint8: HEX8 + uint16: HEX16 + uint32: UINT32 + int8: INT8 + bool: UINT8 + +:gcov: + :reports: + - HtmlDetailed + :gcovr: + :html_medium_threshold: 75 + :html_high_threshold: 90 + +:libraries: + :placement: :end + :flag: "-l${1}" + :path_flag: "-L ${1}" + :system: + - 'm' # for example, you might list 'm' to grab the math library + :test: [] + :release: [] + +:plugins: + :load_paths: + - "#{Ceedling.load_path}" + :enabled: + - stdout_pretty_tests_report + - xml_tests_report + - module_generator +... diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..86d4137 --- /dev/null +++ b/src/main.c @@ -0,0 +1,4 @@ +#include + +int main() { +} \ No newline at end of file diff --git a/team.md b/team.md new file mode 100644 index 0000000..9389aab --- /dev/null +++ b/team.md @@ -0,0 +1,3 @@ +- Eric Bagus, fdai7812 +- Leon Wolf, fdai7845 +- Sandro Welte, fdai7728 \ No newline at end of file diff --git a/test/.gitkeep b/test/.gitkeep new file mode 100644 index 0000000..e69de29