mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/limifrog-v1: load lis3mdl module when SAUL is
This commit is contained in:
parent
7727871923
commit
d7154dc258
3
boards/limifrog-v1/Makefile.dep
Normal file
3
boards/limifrog-v1/Makefile.dep
Normal file
@ -0,0 +1,3 @@
|
||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||
USEMODULE += lis3mdl
|
||||
endif
|
@ -51,6 +51,14 @@ extern "C" {
|
||||
#define XTIMER_WIDTH (16U)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name Define the interface to the LIS3MDL 3-axis magnetometer
|
||||
* @{
|
||||
*/
|
||||
#define LIS3MDL_PARAM_I2C (I2C_DEV(1))
|
||||
#define LIS3MDL_PARAM_ADDR (0x28)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user