minor ci update

This commit is contained in:
hathach 2025-04-18 12:39:49 +07:00
parent 5c7ca2acad
commit ba45625ea4
No known key found for this signature in database
GPG Key ID: 26FAB84F615C3C52
3 changed files with 15 additions and 7 deletions

View File

@ -85,7 +85,7 @@ jobs:
- 'msp430-gcc' - 'msp430-gcc'
- 'riscv-gcc' - 'riscv-gcc'
- 'rx-gcc' - 'rx-gcc'
- 'esp-idf' # build-system is ignored - 'esp-idf'
with: with:
build-system: 'make' build-system: 'make'
toolchain: ${{ matrix.toolchain }} toolchain: ${{ matrix.toolchain }}
@ -115,7 +115,8 @@ jobs:
# cmake is built by circle-ci. Due to IAR limit capacity, only build oe per family # cmake is built by circle-ci. Due to IAR limit capacity, only build oe per family
# --------------------------------------- # ---------------------------------------
arm-iar: arm-iar:
if: github.event_name == 'push' && github.repository_owner == 'hathach' if: false # disable for now since we got reach capacity limit too often
#if: github.event_name == 'push' && github.repository_owner == 'hathach'
needs: set-matrix needs: set-matrix
uses: ./.github/workflows/build_util.yml uses: ./.github/workflows/build_util.yml
secrets: inherit secrets: inherit

View File

@ -44,9 +44,10 @@ family_list = {
"stm32l0 stm32l4": ["arm-gcc", "arm-clang", "arm-iar"], "stm32l0 stm32l4": ["arm-gcc", "arm-clang", "arm-iar"],
"stm32u5 stm32wb": ["arm-gcc", "arm-clang", "arm-iar"], "stm32u5 stm32wb": ["arm-gcc", "arm-clang", "arm-iar"],
"xmc4000": ["arm-gcc"], "xmc4000": ["arm-gcc"],
"-bespressif_kaluga_1": ["esp-idf"], "-bespressif_s2_devkitc": ["esp-idf"],
"-bespressif_s3_devkitm": ["esp-idf"], # S3, P4 will be built by hil test
"-bespressif_p4_function_ev": ["esp-idf"], # "-bespressif_s3_devkitm": ["esp-idf"],
# "-bespressif_p4_function_ev": ["esp-idf"],
} }

View File

@ -36,13 +36,19 @@
extern "C" { extern "C" {
#endif #endif
// Note: On the production version (v1.2) WS2812 is connected to GPIO 18,
// however earlier revision v1.1 WS2812 is connected to GPIO 17
#define NEOPIXEL_PIN 18 #define NEOPIXEL_PIN 18
#define BUTTON_PIN 0 #define BUTTON_PIN 0
#define BUTTON_STATE_ACTIVE 0 #define BUTTON_STATE_ACTIVE 0
// SPI for USB host shield
#define MAX3421_SPI_HOST SPI2_HOST
#define MAX3421_SCK_PIN 36
#define MAX3421_MOSI_PIN 35
#define MAX3421_MISO_PIN 37
#define MAX3421_CS_PIN 15
#define MAX3421_INTR_PIN 14
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif