mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-18 18:30:36 +08:00
Linux: Add support for blinkm to test I2C layering
Running the blinkm device to test I2C Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -1 +1,9 @@
|
||||
#define UDID_START 0x1FFF7A10
|
||||
|
||||
/*
|
||||
* I2C busses
|
||||
*/
|
||||
#define PX4_I2C_BUS_ESC 1
|
||||
#define PX4_I2C_BUS_ONBOARD 2
|
||||
#define PX4_I2C_BUS_EXPANSION 3
|
||||
#define PX4_I2C_BUS_LED 3
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#include <px4_config.h>
|
||||
#elif defined (__PX4_LINUX)
|
||||
#define CONFIG_NFILE_STREAMS 1
|
||||
#define PX4_I2C_BUS_ONBOARD 1
|
||||
|
||||
#define px4_errx(x, ...) errx(x, __VA_ARGS__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user