SWEN-340

SysTick hardware simulator with unit tests

Overview

This homework is to test your understanding of SysTick as well as C programming

Setup

    Right click on the " systick_sim.zip file" link below and save the link address
    or save to your local folder.

    On any C language platform (such as terminal on a Mac, cygwin
    on a PC, or on any Linux or Unix platform) do the following:

    If running on nitron
    mkdir mydir
    cd mydir
    wget (paste the saved URL -- right mouse click)
    unzip systick_sim.zip
    Compile and link by running the make utility
    Then run it: ./test
    To retrieve your updated systick.c file use
    WinSCP or sftp or other transfer utility.

    If running locally save the systick_sim.zip file to your local folder:
    Compile and link by running the make utility
    Then run it: ./test

Submission

Submit ONLY systick.c file to the MyCourses assignment folder "systick_sim".
Please do NOT put your file in a zip file.

Grading

NOTE Point will be deducted for WARNINGS on compile!

To receive full credit code must compile (without warnings), run and pass all unit tests successfully.

Instructor may add additional unit tests to ensure that code does not fail and work as intended

Students must add adequate comments to their code to help instructor understand their train-of-thought

Student should follow best C-language coding practices

systick_sim zip file