ENTS-tock
Environmental NeTworked Sensor firmware on Tock OS
Loading...
Searching...
No Matches
main.c File Reference

Test application for the MB85RC1MT FRAM driver on TockOS. More...

#include <stdio.h>
#include <string.h>
#include <unity.h>

Go to the source code of this file.

Functions

void setUp (void)
 Run at the start of every test.
 
void tearDown (void)
 Run at the end of every test.
 
void test_template (void)
 
int main (void)
 

Detailed Description

Test application for the MB85RC1MT FRAM driver on TockOS.

Exercises basic FRAM read/write operations and boundary checks using the Unity testing framework.

Based on stm32/test/test_fram/test_fram.c from ENTS-node-firmware.

Author
Pritish Mahato
Date
2026-02-25

Copyright (c) 2026 jLab, UCSC

Definition in file main.c.

Function Documentation

◆ main()

int main ( void  )

Definition at line 38 of file main.c.

References test_template().

◆ setUp()

void setUp ( void  )

Run at the start of every test.

Definition at line 26 of file main.c.

◆ tearDown()

void tearDown ( void  )

Run at the end of every test.

Definition at line 31 of file main.c.

◆ test_template()

void test_template ( void  )

Definition at line 33 of file main.c.

Referenced by main().