NinjaFlight
|
#include <stdint.h>
#include "drivers/config_streamer.h"
#include "platform.h"
#include "unittest_macros.h"
#include "gtest/gtest.h"
Data Structures | |
struct | MockFlash |
Functions | |
void | FLASH_Unlock (void) |
void | FLASH_Lock (void) |
FLASH_Status | FLASH_ErasePage (uint32_t address) |
FLASH_Status | FLASH_ProgramWord (uint32_t address, uint32_t data) |
config_streamer_t | setup () |
TEST (configStreamerTest, TestInit) | |
TEST (configStreamerTest, TestWriteSmall) | |
TEST (configStreamerTest, TestWriteCrossWord) | |
TEST (configStreamerTest, TestWriteWordMultiple) | |
TEST (configStreamerTest, TestWriteThreeChunks) | |
FLASH_Status FLASH_ErasePage | ( | uint32_t | address | ) |
void FLASH_Lock | ( | void | ) |
FLASH_Status FLASH_ProgramWord | ( | uint32_t | address, |
uint32_t | data | ||
) |
void FLASH_Unlock | ( | void | ) |
config_streamer_t setup | ( | ) |
TEST | ( | configStreamerTest | , |
TestInit | |||
) |
TEST | ( | configStreamerTest | , |
TestWriteSmall | |||
) |
TEST | ( | configStreamerTest | , |
TestWriteCrossWord | |||
) |
TEST | ( | configStreamerTest | , |
TestWriteWordMultiple | |||
) |
TEST | ( | configStreamerTest | , |
TestWriteThreeChunks | |||
) |