README File:
PES PROJECT 6 README
This is a readme for Project #6 for the Principles of Embedded Software (Fall 2019) class.
Team Members: Akshita Bhasin & Madhukar Arora
Source Files:
- circularbuffer.h
- circularbuffer.c
- led_control.h
- led_control.c
- logger.h
- logger.c
- timestamp.h
- timestamp.c
- FreeRTOSConfig.h
- main.c
Guides on Compilation / Execution Notes:
Hardware Used: Freedom Board FRDM KL25Z IDE Used: MCU Xpresso (https://mcuxpresso.nxp.com/en/welcome)
Build Using Macros:
-
To run the program in Debug Mode set the log_level_a in logger.c to 1.
-
To run the program in Normal Mode set the log_level_a in logger.c to
-
Program 1 and 2 are executed using #ifdef macros.
#if PGM_1 // runs program 1 #if PGM_2 // runs program 2
Observations:
-
We faced issues using semaphores to control access to the shared LED with the application hitting a hard fault. Used flags to deal with this.
-
Priority setting for tasks only lead to the highest priority task being executed, and hence had to change a few underlying modules.
-
TaskDelayUntil gave various hardfault errors woth semaphores, we weren't able to fix it, but will work on it in the future.