Skip to content

Commit b5af472

Browse files
Merge pull request #120 from OpenAstroTech/develop
Merge Develop to Master
2 parents c095a27 + ea5d358 commit b5af472

File tree

115 files changed

+96192
-2725
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+96192
-2725
lines changed

.github/workflows/platformio.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: PlatformIO CI
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
pull_request:
8+
branches:
9+
- develop
10+
11+
jobs:
12+
build:
13+
name: ${{ matrix.board }} STEPPER=${{ matrix.stepper }} DRIVER=${{ matrix.driver }} GPS=${{ matrix.gps }} GYRO=${{ matrix.gyro }} ALTAZ=${{ matrix.azalt }} DISPLAY=${{ matrix.display }}
14+
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
board: [mega2560, esp32]
18+
stepper: [0, 1]
19+
driver: [0, 1, 2, 3]
20+
gps: [0, 1]
21+
gyro: [0, 1]
22+
azalt: [0, 1]
23+
display: [0, 1]
24+
exclude:
25+
- { stepper: 1, driver: 0 } # NEMA17 & ULN2003
26+
- { stepper: 0, driver: 1 } # 28BYJ48 & GENERIC
27+
- { stepper: 0, driver: 2 } # 28BYJ48 & TMC2209_STANDALONE
28+
- { stepper: 0, driver: 3 } # 28BYJ48 & TMC2209_UART
29+
- { board: esp32, gps: 1 }
30+
- { board: esp32, gyro: 1 }
31+
- { board: esp32, azalt: 1 }
32+
- { board: esp32, display: 1 }
33+
34+
steps:
35+
- uses: actions/checkout@v1
36+
- name: Set up Python
37+
uses: actions/setup-python@v1
38+
- name: Install dependencies
39+
run: |
40+
python -m pip install --upgrade pip
41+
pip install platformio
42+
- name: Run PlatformIO
43+
run: platformio run -d Software/Arduino\ code/OpenAstroTracker -e ${{ matrix.board }}
44+
env:
45+
PLATFORMIO_BUILD_FLAGS: |
46+
-D RA_STEPPER_TYPE=${{ matrix.stepper }}
47+
-D DEC_STEPPER_TYPE=${{ matrix.stepper }}
48+
-D RA_DRIVER_TYPE=${{ matrix.driver }}
49+
-D DEC_DRIVER_TYPE=${{ matrix.driver }}
50+
-D USE_GPS=${{ matrix.gps }}
51+
-D USE_GYRO_LEVEL=${{ matrix.gyro }}
52+
-D AZIMUTH_ALTITUDE_MOTORS=${{ matrix.azalt }}
53+
-D DISPLAY_TYPE=${{ matrix.display }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,3 +372,5 @@ Software/Arduino code/sketch_jun08a
372372
# gh-pages stuff
373373
.jekyll-cache
374374
_site
375+
376+
.DS_STORE

Addons/AutoPA/CAD/13_rear_AltAz_mount.step

Lines changed: 6649 additions & 0 deletions
Large diffs are not rendered by default.

Addons/AutoPA/CAD/13_rear_AltAz_mount_6801.step

Lines changed: 6734 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)