Readme
This is a readme file for Project #3 for the Principles of Embedded Software (Fall 2019) class.
Team Members : Akshita Bhasin & Madhukar Arora
Source Files :
- led_blink.c : Contains code for LED Control
- led_blink.h : Contains required function prototypes for executing led_blink.c
- logger.c : Contains code for cross platform logger
- logger.h : Contains required function prototypes for executing logger.c
- main.c : Contains code for executing the various memory tests.
- main.h : Contains required function prototypes for executing main.c
- memorytest.c : Contains function definitions for various memory tests
- memorytest.h : Contains required function prototypes for executing memorytest.h
- pattern_gen.c : Code for pattern generation
- pattern_gen.h : Contains required function prototypes for executing pattern_gen.h
Test Files :
-
test.c : Unit test cases for all memory tests
-
test.h : Contains required function prototypes and header files for executing test.c
Guides on Compilation:
IDE USED : MCU Xpresso (https://mcuxpresso.nxp.com/en/welcome)
-
Clean before building any targets.
-
Build Targets:
Please refer to the following build targets along with their functionality for compilation.
-
KL25Z : If selected, the suite of memory tests along with other source files will be run on the target system i.e. Freedom Board KL25Z with the logger functionality disabled.
-
KL25Z_LOG : If selected, the suite of memory tests along with other source files will be run on the target system i.e. Freedom Board KL25Z with the logger functionality enabled
-
PC : The suite of memory tests along with other source files will be run on the host machine (Windows/Linux) with the logger functionality disabled.
-
PC_LOG : The suite of memory tests along with other source files will be run on the host machine (Windows/Linux) with the logger functionality enabled.
-
KL25Z_UT : To conduct unit tests on the freedom board
-
PC_UT : To conduct unit tests on the host machine.
NOTE : If there are any elf error, delete the exisiting debug folder and create a new one.
-