mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/stm32f3discovery: add lsm303dlhc configuration
This commit is contained in:
parent
9458f18f1a
commit
18e58e4963
@ -1,3 +1,4 @@
|
||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||
USEMODULE += saul_gpio
|
||||
USEMODULE += lsm303dlhc
|
||||
endif
|
||||
|
@ -90,6 +90,12 @@ extern "C" {
|
||||
#define BTN0_MODE GPIO_IN
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name LSM303DLHC magnetometer data ready pin
|
||||
* @{
|
||||
*/
|
||||
#define LSM303DLHC_PARAM_MAG_PIN GPIO_PIN(PORT_E, 2)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||
|
Loading…
Reference in New Issue
Block a user