STM32 Serial Number location is defined in NuttX

This commit is contained in:
David Sidrane
2016-12-21 08:34:20 +01:00
committed by Lorenz Meier
parent fd7d399958
commit 0177e250f4
5 changed files with 50 additions and 25 deletions
@@ -1,4 +1,3 @@
#define UDID_START 0x1FFF7A10
/*
* I2C busses
-5
View File
@@ -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))
+2 -2
View File
@@ -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"