Use python2
This commit is contained in:
parent
23b55cd35d
commit
f2b9422127
@ -22,8 +22,8 @@ before_script:
|
|||||||
- gcc --version
|
- gcc --version
|
||||||
- arm-none-eabi-gcc --version
|
- arm-none-eabi-gcc --version
|
||||||
- python3 --version
|
- python3 --version
|
||||||
- sudo apt-get install -y python3-pip
|
- python --version
|
||||||
- pip3 install --user adafruit-nrfutil
|
- pip install --user adafruit-nrfutil
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- python3 tools/build_all.py
|
- python3 tools/build_all.py
|
||||||
|
@ -49,6 +49,7 @@
|
|||||||
#define LED_RGB_RED_PIN _PINNUM(0, 13)
|
#define LED_RGB_RED_PIN _PINNUM(0, 13)
|
||||||
#define LED_RGB_GREEN_PIN _PINNUM(0, 14)
|
#define LED_RGB_GREEN_PIN _PINNUM(0, 14)
|
||||||
#define LED_RGB_BLUE_PIN _PINNUM(0, 15)
|
#define LED_RGB_BLUE_PIN _PINNUM(0, 15)
|
||||||
|
#define BOARD_RGB_BRIGHTNESS 0x202020
|
||||||
|
|
||||||
/*------------------------------------------------------------------*/
|
/*------------------------------------------------------------------*/
|
||||||
/* BUTTON
|
/* BUTTON
|
||||||
|
@ -44,11 +44,12 @@
|
|||||||
*------------------------------------------------------------------*/
|
*------------------------------------------------------------------*/
|
||||||
#define LEDS_NUMBER 1
|
#define LEDS_NUMBER 1
|
||||||
#define LED_PRIMARY_PIN _PINNUM(1, 12)
|
#define LED_PRIMARY_PIN _PINNUM(1, 12)
|
||||||
#define LED_STATE_ON 0
|
#define LED_STATE_ON 1
|
||||||
|
|
||||||
#define LED_RGB_RED_PIN _PINNUM(0, 13)
|
#define LED_RGB_RED_PIN _PINNUM(0, 13)
|
||||||
#define LED_RGB_GREEN_PIN _PINNUM(0, 14)
|
#define LED_RGB_GREEN_PIN _PINNUM(0, 14)
|
||||||
#define LED_RGB_BLUE_PIN _PINNUM(0, 15)
|
#define LED_RGB_BLUE_PIN _PINNUM(0, 15)
|
||||||
|
#define BOARD_RGB_BRIGHTNESS 0x202020
|
||||||
|
|
||||||
/*------------------------------------------------------------------*/
|
/*------------------------------------------------------------------*/
|
||||||
/* BUTTON
|
/* BUTTON
|
||||||
|
Loading…
Reference in New Issue
Block a user