mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
Added support for STM32w boards MB950 and MB951 revision B.
This commit is contained in:
parent
6dd9f2c37a
commit
ae6972426d
@ -57,7 +57,9 @@
|
|||||||
* - MB954 B
|
* - MB954 B
|
||||||
* - MB954 C
|
* - MB954 C
|
||||||
* - MB950 A
|
* - MB950 A
|
||||||
|
* - MB950 B
|
||||||
* - MB951 A
|
* - MB951 A
|
||||||
|
* - MB951 B
|
||||||
* - IDZ401V1
|
* - IDZ401V1
|
||||||
*/
|
*/
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
@ -318,6 +320,17 @@ const BoardResourcesType MB950A = {
|
|||||||
&stlm20PA4noDiv,
|
&stlm20PA4noDiv,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const BoardResourcesType MB950B = {
|
||||||
|
"MB950 B",
|
||||||
|
(BOARD_HAS_MEMS | BOARD_HAS_TEMP_SENSOR | BOARD_HAS_STM32F),
|
||||||
|
BUTTONS_MB950B,
|
||||||
|
LEDS_MB950B,
|
||||||
|
&ioMB950A,
|
||||||
|
&infraRedLedMB851A,
|
||||||
|
&memsSensor,
|
||||||
|
&stlm20PA4noDiv,
|
||||||
|
};
|
||||||
|
|
||||||
const BoardResourcesType MB951A = {
|
const BoardResourcesType MB951A = {
|
||||||
"MB951 A",
|
"MB951 A",
|
||||||
(BOARD_HAS_STM32F),
|
(BOARD_HAS_STM32F),
|
||||||
@ -329,6 +342,17 @@ const BoardResourcesType MB951A = {
|
|||||||
NULL,
|
NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const BoardResourcesType MB951B = {
|
||||||
|
"MB951 B",
|
||||||
|
(BOARD_HAS_STM32F),
|
||||||
|
BUTTONS_MB951B,
|
||||||
|
LEDS_MB951B,
|
||||||
|
&ioMB951A,
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
};
|
||||||
|
|
||||||
const BoardResourcesType IDZ401V1 = {
|
const BoardResourcesType IDZ401V1 = {
|
||||||
"IDZ401V1",
|
"IDZ401V1",
|
||||||
(BOARD_HAS_STM32F),
|
(BOARD_HAS_STM32F),
|
||||||
@ -349,7 +373,9 @@ static const BoardResourcesType *boardList [] = {
|
|||||||
&MB954B,
|
&MB954B,
|
||||||
&MB954C,
|
&MB954C,
|
||||||
&MB950A,
|
&MB950A,
|
||||||
|
&MB950B,
|
||||||
&MB951A,
|
&MB951A,
|
||||||
|
&MB951B,
|
||||||
&IDZ401V1
|
&IDZ401V1
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -100,10 +100,18 @@ char boardName[16];
|
|||||||
* \brief Define the number of LEDs in the specific board revision
|
* \brief Define the number of LEDs in the specific board revision
|
||||||
*/
|
*/
|
||||||
#define LEDS_MB950A 2
|
#define LEDS_MB950A 2
|
||||||
|
/**
|
||||||
|
* \brief Define the number of LEDs in the specific board revision
|
||||||
|
*/
|
||||||
|
#define LEDS_MB950B 2
|
||||||
/**
|
/**
|
||||||
* \brief Define the number of LEDs in the specific board revision
|
* \brief Define the number of LEDs in the specific board revision
|
||||||
*/
|
*/
|
||||||
#define LEDS_MB951A 2
|
#define LEDS_MB951A 2
|
||||||
|
/**
|
||||||
|
* \brief Define the number of LEDs in the specific board revision
|
||||||
|
*/
|
||||||
|
#define LEDS_MB951B 2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -152,10 +160,18 @@ char boardName[16];
|
|||||||
* \brief Define the number of user buttons in the specific board revision
|
* \brief Define the number of user buttons in the specific board revision
|
||||||
*/
|
*/
|
||||||
#define BUTTONS_MB950A 5
|
#define BUTTONS_MB950A 5
|
||||||
|
/**
|
||||||
|
* \brief Define the number of user buttons in the specific board revision
|
||||||
|
*/
|
||||||
|
#define BUTTONS_MB950B 5
|
||||||
/**
|
/**
|
||||||
* \brief Define the number of user buttons in the specific board revision
|
* \brief Define the number of user buttons in the specific board revision
|
||||||
*/
|
*/
|
||||||
#define BUTTONS_MB951A 1
|
#define BUTTONS_MB951A 1
|
||||||
|
/**
|
||||||
|
* \brief Define the number of user buttons in the specific board revision
|
||||||
|
*/
|
||||||
|
#define BUTTONS_MB951B 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user