NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mock_flash.cc File Reference
#include <stdint.h>
#include "platform.h"
#include "unittest_macros.h"
#include "gtest/gtest.h"
Include dependency graph for mock_flash.cc:

Data Structures

struct  MockFlash
 

Functions

uint8_t __config_start[8192] __attribute__ ((aligned(1024)))
 
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)
 

Variables

uint8_t __config_end [1]
 
MockFlash mockFlash
 

Function Documentation

uint8_t __config_start [8192] __attribute__ ( (aligned(1024))  )
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  )

Variable Documentation

uint8_t __config_end[1]
MockFlash mockFlash