From 82dcfeb576cbfc4e41a57e19df3f2493508f02bc Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Mon, 11 Sep 2017 13:12:20 -1000 Subject: [PATCH] eagle:Use Non Arch specific Board identity API --- src/drivers/boards/eagle/CMakeLists.txt | 7 +++++-- src/drivers/boards/eagle/board_config.h | 5 ++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/drivers/boards/eagle/CMakeLists.txt b/src/drivers/boards/eagle/CMakeLists.txt index f5d0da302b..112f13ef31 100644 --- a/src/drivers/boards/eagle/CMakeLists.txt +++ b/src/drivers/boards/eagle/CMakeLists.txt @@ -1,6 +1,6 @@ ############################################################################ # -# Copyright (c) 2015 PX4 Development Team. All rights reserved. +# Copyright (c) 2017 PX4 Development Team. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -31,4 +31,7 @@ # ############################################################################ -px4_add_library(drivers_board sitl_led.c) +px4_add_library(drivers_board + sitl_led.c + ../common/board_identity.c + ) diff --git a/src/drivers/boards/eagle/board_config.h b/src/drivers/boards/eagle/board_config.h index 8ec056bc10..684db5c1c9 100644 --- a/src/drivers/boards/eagle/board_config.h +++ b/src/drivers/boards/eagle/board_config.h @@ -39,9 +39,8 @@ #pragma once -#define BOARD_OVERRIDE_UUID "EAGLE" // must be of length 12 (PX4_CPU_UUID_BYTE_LENGTH) -#define BOARD_OVERRIDE_MFGUID BOARD_OVERRIDE_UUID -#define BOARD_OVERRIDE_PX4_GUID "00000000" BOARD_OVERRIDE_UUID // must be of length 18 (PX4_GUID_BYTE_LENGTH) +#define BOARD_OVERRIDE_UUID "EAGLEID000000000" // must be of length 16 +#define PX4_SOC_ARCH_ID 0x1005 #define BOARD_NAME "EAGLE"