mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 00:03:33 +08:00
STM32 Serial Number location is defined in NuttX
This commit is contained in:
committed by
Lorenz Meier
parent
fd7d399958
commit
0177e250f4
@@ -1,4 +1,3 @@
|
||||
#define UDID_START 0x1FFF7A10
|
||||
|
||||
/*
|
||||
* I2C busses
|
||||
|
||||
@@ -162,11 +162,6 @@ using ::isfinite;
|
||||
// NuttX _IOC is equivalent to Linux _IO
|
||||
#define _PX4_IOC(x,y) _IO(x,y)
|
||||
|
||||
/* FIXME - Used to satisfy build */
|
||||
//STM DocID018909 Rev 8 Sect 39.1 (Unique device ID Register)
|
||||
#define UNIQUE_ID 0x1FFF7A10
|
||||
#define STM32_SYSMEM_UID "SIMULATIONID"
|
||||
|
||||
/* FIXME - Used to satisfy build */
|
||||
#define getreg32(a) (*(volatile uint32_t *)(a))
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#define UDID_START 0x1FFF7A10
|
||||
|
||||
/*
|
||||
* I2C busses
|
||||
*/
|
||||
@@ -9,3 +7,5 @@
|
||||
#define PX4_I2C_BUS_LED 3
|
||||
|
||||
#define PX4_I2C_OBDEV_LED 0x55
|
||||
|
||||
#define STM32_SYSMEM_UID "SYSMEMID"
|
||||
|
||||
Reference in New Issue
Block a user