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