Skip to content

Instantly share code, notes, and snippets.

@mvandervoord
Created December 3, 2020 01:03
Show Gist options
  • Save mvandervoord/79d090cfa3dad4a346add2d78a04f336 to your computer and use it in GitHub Desktop.
Save mvandervoord/79d090cfa3dad4a346add2d78a04f336 to your computer and use it in GitHub Desktop.
awesomesauce2 replacement project.yml for LOCAL builds
---
:project:
:build_root: build
:release_build: FALSE
:test_file_prefix: Test
:use_exceptions: FALSE
:which_ceedling: gem
:options_paths:
- options
:release_build:
:output: unit4.elf
:use_assembly: TRUE
:paths:
:test:
- +:test/**
- -:test/support
:source:
- src/**
- micro/*
- lib/src/*
:include:
- inc/**
- lib/inc/*
:support:
- test/support
:extension:
:assembly: '.S'
:defines:
:commmon: &common_defines []
:test:
- TEST
:release:
- TARGET_LPC1768
:unity:
:defines:
- UNITY_EXCLUDE_STDINT_H
- UNITY_INCLUDE_DOUBLE
- UNITY_SUPPORT_TEST_CASES
:cmock:
:mock_path: 'build/mocks/'
:includes:
- stdint.h
- Defs.h
- LPC1768.h
:includes_h_pre_orig_header:
- stdint.h
- Defs.h
- LPC1768.h
:enforce_strict_ordering: FALSE
:verbosity: 1
:plugins:
- :expect
- :ignore
#- :array
#- :expect_any_args
#- :return_thru_ptr
#- :ignore_arg
#- :callback
:defines:
- CMOCK_MEM_STATIC
# Enough RAM for mocking but not too much to max out emulated RAM usage
- CMOCK_MEM_SIZE=20480
- CMOCK_MEM_ALIGN=2
:test_runner:
:vendor_path: '..'
:defines:
- TEST_INSTANCES
:includes:
- stdint.h
- Core.h
:module_generator:
:source:
:includes:
- Core.h
:plugins:
:load_paths:
- "#{Ceedling.load_path}"
:enabled:
#- xml_tests_report
#- junit_tests_report
- stdout_pretty_tests_report
#- stdout_gtestlike_tests_report #<------ Enable This If Using Eclipse
- module_generator
- command_hooks
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment