Fix Error: board/dfu_signature.c:53:16: error: unknown attribute 'externally_visible' ignored

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-11-20 15:08:49 +08:00 committed by archer
parent a34230c954
commit 81b9df53fc

View File

@ -50,7 +50,7 @@ extern uint8_t _firmware_end[];
* Private Data
****************************************************************************/
__attribute__((externally_visible)) locate_data(".dfu_signature")
locate_data(".dfu_signature")
const struct dfu_signature dfu_sign =
{
(uint32_t)_firmware_start, /* Flash image start address */