Files
charge-controller-firmware/test/soc.h
T
Martin Jäger 0e8f93bc08 Add ThingSet nodes for DFU (device firmeare upgrade)
Creating new root category dfu instead of adding flash information to
info node so that all DFU / OTA related information is kept together.
2021-05-11 10:57:57 +02:00

21 lines
306 B
C

/*
* Copyright (c) The Libre Solar Project Contributors
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
*
* @brief Mock some functions from STM32 LL API or MCU registers
*/
#include <stdint.h>
static inline uint32_t LL_GetFlashSize(void)
{
return 128;
}
#define FLASH_PAGE_SIZE 2048