Skip to content

Commit

Permalink
add missing esp32c3 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gin66 committed Oct 14, 2023
1 parent 84d4bed commit c9bd343
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/build_examples_esp32c3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build examples for esp32c3arduino @ latest

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Make directories
run: bash extras/scripts/build-pio-dirs.sh
- name: Build on PlatformIO
run: bash extras/scripts/build-platformio.sh esp32c3

2 changes: 1 addition & 1 deletion examples/StepperDemo/StepperDemo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ void test_direct_drive(const struct stepper_config_s *stepper) {
void setup() {
SerialInterface.begin(115200);
#ifdef CONFIG_IDF_TARGET_ESP32C3
while (!USBSerial) {
while (!Serial) {
; // wait for USB serial port to connect.
}
#endif
Expand Down

0 comments on commit c9bd343

Please sign in to comment.