From 5e020510c40d86d4f97fd0e3aabc9709a5a59545 Mon Sep 17 00:00:00 2001 From: PaulZC Date: Wed, 17 Nov 2021 13:27:57 +0000 Subject: [PATCH 1/2] Change yml to STM32 Gen F4 to avoid '.rodata' will not fit in region `FLASH' --- .github/workflows/compile-sketch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/compile-sketch.yml b/.github/workflows/compile-sketch.yml index 997ad05..189fd2e 100644 --- a/.github/workflows/compile-sketch.yml +++ b/.github/workflows/compile-sketch.yml @@ -79,7 +79,7 @@ jobs: # STM32 # https://github.com/arduino/ArduinoCore-mbed/blob/master/boards.txt - - fqbn: STMicroelectronics:stm32:GenF1 + - fqbn: STMicroelectronics:stm32:GenF4 platforms: | - name: STMicroelectronics:stm32 source-url: https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json From 5479950ee65ac952145851a09d38de827844cf68 Mon Sep 17 00:00:00 2001 From: PaulZC Date: Wed, 17 Nov 2021 13:38:06 +0000 Subject: [PATCH 2/2] Only run yml on pull requests --- .github/workflows/compile-sketch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/compile-sketch.yml b/.github/workflows/compile-sketch.yml index 189fd2e..97efba1 100644 --- a/.github/workflows/compile-sketch.yml +++ b/.github/workflows/compile-sketch.yml @@ -1,7 +1,7 @@ name: Compile Sketch on: - - push + # - push - pull_request