Chapter 231. eCos port

Table of Contents

231.1. Overview

231.1. Overview

The goal for the CYGPKG_UNITY package is to avoid where possible having to have any core Unity source file changes made specifically for eCos. This is to ensure that re-imports of newer versions of the library sources involve minimal effort. The files are as provided in the official Unity release package as imported, with the following exceptions:

  1. Files have been moved, unmodified, to create a standard eCos package tree structure to integrate with the eCosPro build environment

    Only relevant files from the original project have been included in the eCos package.

The current Unity version provided by the eCos package is the github tagged release v2.5.2 (released 26th January 2021).

The original project homepage can be found on github: Unity

The release package was downloaded from the github project page: releases/tag/v2.5.2

The following table highlights the files taken from the Unity package and their new location within the eCos CYGPKG_UNITY package:

Original githubeCos package
src/unity.hinclude/unity.h
src/unity_internals.hinclude/unity_internals.h
extras/memory/src/unity_internals.hinclude/unity_memory.h
extras/fixture/src/unity_fixture.hinclude/unity_fixture.h
extras/fixture/src/unity_fixture_internals.hinclude/unity_fixure_internals.h
src/unity.csrc/unity.c
extras/memory/src/unity_memory.csrc/unity_memory.c
extras/fixture/src/unity_fixture.csrc/unity_fixture.c
test/tests/self_assessment_utils.htests/tests/self_assessment_utils.h
test/tests/test_unity_core.ctests/tests/test_unity_core.c
extras/memory/test/unity_memory_Test.ctests/memory/unity_memory_Test.c
extras/memory/test/unity_output_Spy.ctests/memory/unity_output_Spy.c
extras/memory/test/unity_output_Spy.htests/memory/unity_output_Spy.h
test/tests/test_unity_arrays.ctests/tests/test_unity_arrays.c
test/tests/test_unity_doubles.ctests/tests/test_unity_doubles.c
test/tests/test_unity_floats.ctests/tests/test_unity_floats.c
test/tests/test_unity_integers.ctests/tests/test_unity_integers.c
test/tests/test_unity_integers_64.ctests/tests/test_unity_integers_64.c
test/tests/test_unity_memory.ctests/tests/test_unity_memory.c
test/tests/test_unity_parameterized.ctests/tests/test_unity_parameterized.c
test/tests/test_unity_strings.ctests/tests/test_unity_strings.c
examples/example_1/src/ProductionCode.htests/example_1/ProductionCode.h
examples/example_1/src/ProductionCode.ctests/example_1/ProductionCode.c
examples/example_1/test/TestProductionCode.ctests/example_1/TestProductionCode.c
examples/example_1/src/ProductionCode2.htests/example_1/ProductionCode2.h
examples/example_1/src/ProductionCode2.ctests/example_1/ProductionCode2.c
examples/example_1/test/TestProductionCode2.ctests/example_1/TestProductionCode2.c