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.
This commit is contained in:
committed by
Martin Jäger
parent
187b9c4c4e
commit
0e8f93bc08
+20
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* 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
|
||||
Reference in New Issue
Block a user