Moved PX4_SOC_ARCH_ID from px4_micro_hal to board_common

This commit is contained in:
David Sidrane
2018-10-03 10:30:10 +02:00
committed by Beat Küng
parent 695a7f6839
commit dc59e19bbb
2 changed files with 36 additions and 21 deletions
+23
View File
@@ -321,6 +321,29 @@ typedef enum board_power_button_state_notification_e {
typedef int (*power_button_state_notification_t)(board_power_button_state_notification_e request);
/* PX4_SOC_ARCH_ID is monotonic ordinal number assigned by PX4 to a chip
* architecture. The 2 bytes are used to create a globally unique ID when
* prepended to a padded Soc ID.
*/
typedef enum PX4_SOC_ARCH_ID_t {
PX4_SOC_ARCH_ID_STM32F4 = 0x0001,
PX4_SOC_ARCH_ID_STM32F7 = 0x0002,
PX4_SOC_ARCH_ID_KINETISK66 = 0x0003,
PX4_SOC_ARCH_ID_SAMV7 = 0x0004,
PX4_SOC_ARCH_ID_EAGLE = 0x1001,
PX4_SOC_ARCH_ID_QURT = 0x1002,
PX4_SOC_ARCH_ID_OCPOC = 0x1003,
PX4_SOC_ARCH_ID_RPI = 0x1004,
PX4_SOC_ARCH_ID_SIM = 0x1005,
PX4_SOC_ARCH_ID_SITL = 0x1006,
} PX4_SOC_ARCH_ID_t;
/* UUID
*
* Define the types used for board UUID, MFG UID and PX4 GUID