diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-03-11 13:22:32 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2018-03-11 13:22:32 +0000 |
commit | 168a92a948eb6c1f942e386d9b14eb887d32d60e (patch) | |
tree | a79a47bcbaa24a851b185970f8064e39ce23e840 /testex | |
parent | d97542b7b824570b0a372cb848ae02bf01d60039 (diff) | |
download | ChibiOS-168a92a948eb6c1f942e386d9b14eb887d32d60e.tar.gz ChibiOS-168a92a948eb6c1f942e386d9b14eb887d32d60e.tar.bz2 ChibiOS-168a92a948eb6c1f942e386d9b14eb887d32d60e.zip |
Driver pre-compile time settings aligned for all drivers.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11698 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testex')
-rw-r--r-- | testex/STM32/STM32F3xx/SPI-L3GD20/Makefile | 2 | ||||
-rw-r--r-- | testex/STM32/STM32F3xx/SPI-L3GD20/main.c | 2 | ||||
-rw-r--r-- | testex/STM32/STM32F4xx/SPI-L3GD20/Makefile | 2 | ||||
-rw-r--r-- | testex/STM32/STM32F4xx/SPI-L3GD20/main.c | 2 | ||||
-rw-r--r-- | testex/STM32/STM32L4xx/SPI-L3GD20/Makefile | 2 | ||||
-rw-r--r-- | testex/STM32/STM32L4xx/SPI-L3GD20/main.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/testex/STM32/STM32F3xx/SPI-L3GD20/Makefile b/testex/STM32/STM32F3xx/SPI-L3GD20/Makefile index 4fb007a36..a280ee768 100644 --- a/testex/STM32/STM32F3xx/SPI-L3GD20/Makefile +++ b/testex/STM32/STM32F3xx/SPI-L3GD20/Makefile @@ -193,7 +193,7 @@ CPPWARN = -Wall -Wextra -Wundef # List all user C define here, like -D_DEBUG=1
UDEFS = -DCHPRINTF_USE_FLOAT=1 \
- -DL3GD20_USE_ADVANCED=0 -DL3GD20_SHARED_SPI=0
+ -DL3GD20_GYRO_USE_ADVANCED=0 -DL3GD20_SHARED_SPI=0
# Define ASM defines here
UADEFS =
diff --git a/testex/STM32/STM32F3xx/SPI-L3GD20/main.c b/testex/STM32/STM32F3xx/SPI-L3GD20/main.c index 31379de73..79baaa44d 100644 --- a/testex/STM32/STM32F3xx/SPI-L3GD20/main.c +++ b/testex/STM32/STM32F3xx/SPI-L3GD20/main.c @@ -51,7 +51,7 @@ static L3GD20Config l3gd20cfg = { NULL,
L3GD20_FS_250DPS,
L3GD20_ODR_760HZ,
-#if L3GD20_USE_ADVANCED
+#if L3GD20_GYRO_USE_ADVANCED
L3GD20_BDU_CONTINUOUS,
L3GD20_END_LITTLE,
L3GD20_BW3,
diff --git a/testex/STM32/STM32F4xx/SPI-L3GD20/Makefile b/testex/STM32/STM32F4xx/SPI-L3GD20/Makefile index afb3b77ee..8a147e738 100644 --- a/testex/STM32/STM32F4xx/SPI-L3GD20/Makefile +++ b/testex/STM32/STM32F4xx/SPI-L3GD20/Makefile @@ -197,7 +197,7 @@ CPPWARN = -Wall -Wextra -Wundef # List all user C define here, like -D_DEBUG=1
UDEFS = -DCHPRINTF_USE_FLOAT=1 \
- -DL3GD20_USE_ADVANCED=0 -DL3GD20_SHARED_SPI=0
+ -DL3GD20_GYRO_USE_ADVANCED=0 -DL3GD20_SHARED_SPI=0
# Define ASM defines here
UADEFS =
diff --git a/testex/STM32/STM32F4xx/SPI-L3GD20/main.c b/testex/STM32/STM32F4xx/SPI-L3GD20/main.c index 08e0dadbb..c6860e828 100644 --- a/testex/STM32/STM32F4xx/SPI-L3GD20/main.c +++ b/testex/STM32/STM32F4xx/SPI-L3GD20/main.c @@ -52,7 +52,7 @@ static L3GD20Config l3gd20cfg = { NULL,
L3GD20_FS_250DPS,
L3GD20_ODR_760HZ,
-#if L3GD20_USE_ADVANCED
+#if L3GD20_GYRO_USE_ADVANCED
L3GD20_BDU_CONTINUOUS,
L3GD20_END_LITTLE,
L3GD20_BW3,
diff --git a/testex/STM32/STM32L4xx/SPI-L3GD20/Makefile b/testex/STM32/STM32L4xx/SPI-L3GD20/Makefile index c3da94e7f..958300775 100644 --- a/testex/STM32/STM32L4xx/SPI-L3GD20/Makefile +++ b/testex/STM32/STM32L4xx/SPI-L3GD20/Makefile @@ -193,7 +193,7 @@ CPPWARN = -Wall -Wextra -Wundef # List all user C define here, like -D_DEBUG=1
UDEFS = -DCHPRINTF_USE_FLOAT=1 \
- -DL3GD20_USE_ADVANCED=0 -DL3GD20_SHARED_SPI=0
+ -DL3GD20_GYRO_USE_ADVANCED=0 -DL3GD20_SHARED_SPI=0
# Define ASM defines here
UADEFS =
diff --git a/testex/STM32/STM32L4xx/SPI-L3GD20/main.c b/testex/STM32/STM32L4xx/SPI-L3GD20/main.c index 7a16de45f..693e0f0f7 100644 --- a/testex/STM32/STM32L4xx/SPI-L3GD20/main.c +++ b/testex/STM32/STM32L4xx/SPI-L3GD20/main.c @@ -51,7 +51,7 @@ static L3GD20Config l3gd20cfg = { NULL,
L3GD20_FS_250DPS,
L3GD20_ODR_760HZ,
-#if L3GD20_USE_ADVANCED
+#if L3GD20_GYRO_USE_ADVANCED
L3GD20_BDU_CONTINUOUS,
L3GD20_END_LITTLE,
L3GD20_BW3,
|