Skip to content

Commit e042d54

Browse files
committed
Fix three boards and xtensa cache key
1 parent ca2cb9a commit e042d54

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ jobs:
531531
id: idf-cache
532532
with:
533533
path: ${{ github.workspace }}/.idf_tools
534-
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20210506
534+
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20210716
535535
- name: Clone IDF submodules
536536
run: |
537537
(cd $IDF_PATH && git submodule update --init)

ports/atmel-samd/boards/aloriumtech_evo_m51/board.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
#include "supervisor/board.h"
3232
#include "mpconfigboard.h"
33+
#include "common-hal/microcontroller/Pin.h"
3334

3435
void board_init(void) {
3536
never_reset_pin_number(PIN_PB20);

ports/atmel-samd/boards/trinket_m0_haxpress/mpconfigboard.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
// Rev B - Black
55
#define MICROPY_HW_LED_STATUS (&pin_PA10)
6-
// #define MICROPY_HW_APA102_MOSI (&pin_PA00)
7-
// #define MICROPY_HW_APA102_SCK (&pin_PA01)
6+
#define MICROPY_HW_APA102_MOSI (&pin_PA00)
7+
#define MICROPY_HW_APA102_SCK (&pin_PA01)
88

99
#define SPI_FLASH_MOSI_PIN &pin_PA16
1010
#define SPI_FLASH_MISO_PIN &pin_PA19

ports/atmel-samd/boards/uchip/board.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525
*/
2626

2727
#include "supervisor/board.h"
28+
29+
#include "common-hal/microcontroller/Pin.h"
2830
#include "mpconfigboard.h"
31+
2932
#include "hal/include/hal_gpio.h"
3033

3134
void board_init(void) {
@@ -36,7 +39,7 @@ void board_init(void) {
3639
// USB_DETECT
3740
never_reset_pin_number(PIN_PA28);
3841
// USB_HOST_EN
39-
never_reset_pin_number(PORT_PA27);
42+
never_reset_pin_number(PIN_PA27);
4043
}
4144

4245
bool board_requests_safe_mode(void) {

0 commit comments

Comments
 (0)