|
ENTS-tock
Environmental NeTworked Sensor firmware on Tock OS
|
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) |
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.
Copyright (c) 2026 jLab, UCSC
Definition in file main.c.
| int main | ( | void | ) |
Definition at line 70 of file main.c.
References ControllerInit(), test_ControllerWiFiHost(), test_ControllerWiFiHostInfo(), and test_ControllerWiFiStopHost().
| void test_ControllerUserConfigStart | ( | void | ) |
Definition at line 56 of file main.c.
References ControllerUserConfigStart().
| void test_ControllerWiFiHost | ( | void | ) |
| void test_ControllerWiFiHostInfo | ( | void | ) |
Definition at line 43 of file main.c.
References ControllerWiFiHostInfo(), and ssid.
Referenced by main().
| void test_ControllerWiFiStopHost | ( | void | ) |