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 <libents/controller/controller.h>
#include <libents/controller/modules/wifi.h>
#include <libents/controller/modules/wifi_userconfig.h>
#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_ControllerWiFiHost (void)
 
void test_ControllerWiFiHostInfo (void)
 
void test_ControllerUserConfigStart (void)
 
void test_ControllerWiFiStopHost (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  )

◆ setUp()

void setUp ( void  )

Run at the start of every test.

Definition at line 29 of file main.c.

◆ tearDown()

void tearDown ( void  )

Run at the end of every test.

Definition at line 34 of file main.c.

◆ test_ControllerUserConfigStart()

void test_ControllerUserConfigStart ( void  )

Definition at line 56 of file main.c.

References ControllerUserConfigStart().

◆ test_ControllerWiFiHost()

void test_ControllerWiFiHost ( void  )

Definition at line 36 of file main.c.

References ControllerWiFiHost().

Referenced by main().

◆ test_ControllerWiFiHostInfo()

void test_ControllerWiFiHostInfo ( void  )

Definition at line 43 of file main.c.

References ControllerWiFiHostInfo(), and ssid.

Referenced by main().

◆ test_ControllerWiFiStopHost()

void test_ControllerWiFiStopHost ( void  )

Definition at line 63 of file main.c.

References ControllerWiFiStopHost().

Referenced by main().