Use python2

This commit is contained in:
Scott Shawcroft 2018-12-04 16:30:02 -08:00
parent 23b55cd35d
commit f2b9422127
No known key found for this signature in database
GPG Key ID: FD0EDC4B6C53CA59
3 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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