You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ar...@apache.org on 2022/11/21 09:39:23 UTC
[incubator-nuttx] 11/12: Fix Error: board/dfu_signature.c:53:16: error: unknown attribute 'externally_visible' ignored
This is an automated email from the ASF dual-hosted git repository.
archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 81b9df53fccbf47ace77a50327295121c2dac0e7
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sun Nov 20 15:08:49 2022 +0800
Fix Error: board/dfu_signature.c:53:16: error: unknown attribute 'externally_visible' ignored
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
boards/arm/stm32/photon/src/dfu_signature.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boards/arm/stm32/photon/src/dfu_signature.c b/boards/arm/stm32/photon/src/dfu_signature.c
index e13659a6c9..76189cb5f7 100644
--- a/boards/arm/stm32/photon/src/dfu_signature.c
+++ b/boards/arm/stm32/photon/src/dfu_signature.c
@@ -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 */