Skip to content

Commit

Permalink
Merge branch 'master' into 20240729_freeaxisF411
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter authored Sep 26, 2024
2 parents 3098ad1 + 1f80bbb commit 0b02dce
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
run: function curl () { command curl --connect-timeout 30 --retry 10 "$@" ; }

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 9

- name: Cache build toolchain
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-toolchain
with:
path: tools
Expand All @@ -59,7 +59,9 @@ jobs:
continue-on-error: true

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.x'

# EmuFlight version
- name: Get code version
Expand Down Expand Up @@ -101,10 +103,10 @@ jobs:
- id: ids
name : set outputs
run: |
echo "::set-output name=buildtag::${{ env.REVISION_TAG }}"
echo "::set-output name=shortsha::${{ env.SHORT_SHA }}"
echo "::set-output name=artifact::${{ env.ARTIFACT_NAME }}"
echo "::set-output name=version::${{ env.VERSION }}"
echo "buildtag=${{ env.REVISION_TAG }}" >> $GITHUB_OUTPUT
echo "name=${{ env.SHORT_SHA }}" >> $GITHUB_OUTPUT
echo "shortsha=${{ env.SHORT_SHA }}" >> $GITHUB_OUTPUT
echo "version=${{ env.VERSION }}" >> $GITHUB_OUTPUT
continue-on-error: true

# for debugging
Expand All @@ -121,8 +123,8 @@ jobs:
echo "Artifact name: ${{ env.ARTIFACT_NAME }}"
echo "outputs.buildtag: ${{ steps.ids.outputs.buildtag }}"
echo "outputs.shortsha: ${{ steps.ids.outputs.shortsha }}"
echo "outputs.artfact: ${{ steps.ids.outputs.artifact }}"
echo "outputs.artfact: ${{ steps.ids.outputs.artifact }}"
echo "outputs.artifact: ${{ steps.ids.outputs.artifact }}"
echo "outputs.version: ${{ steps.ids.outputs.version }}"
continue-on-error: true

# Build HEX
Expand All @@ -132,7 +134,7 @@ jobs:
# Upload the Builds to ZIP file with existing SHA in .hex names
- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.ARTIFACT_NAME }}
path: obj/*.hex
Expand All @@ -157,13 +159,13 @@ jobs:
echo "Repo: ${{ github.REPOSITORY }}"
echo "outputs.buildtag: ${{ needs.build.outputs.buildtag }}"
echo "outputs.shortsha: ${{ needs.build.outputs.shortsha }}"
echo "outputs.artfact: ${{ needs.build.outputs.artifact }}"
echo "outputs.artfact: ${{ needs.build.outputs.version }}"
echo "outputs.artifact: ${{ needs.build.outputs.artifact }}"
echo "outputs.version: ${{ needs.build.outputs.version }}"
echo "NOW=$(date +'%Y%m%d.%H%M%S')" >> $GITHUB_ENV
continue-on-error: true

- name: download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: ${{ needs.build.outputs.artifact }} #no name parameter will download all artifacts, but create separate subfolders
path: obj
Expand Down
2 changes: 2 additions & 0 deletions src/main/target/JHEF745/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@
#define TARGET_IO_PORTE 0xffff
// notice - masks were programmatically generated - please verify last port group for 0xffff or (BIT(2))

#define ENABLE_DSHOT_DMAR true

#define DEFAULT_FEATURES (FEATURE_OSD | FEATURE_TELEMETRY | FEATURE_AIRMODE | FEATURE_RX_SERIAL)
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL

Expand Down
1 change: 1 addition & 0 deletions src/main/target/TUNERCF405/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
#define USE_UART5
#define UART5_TX_PIN PC12
#define UART5_RX_PIN PD2
#define INVERTER_PIN_UART4 PC14
#define SERIAL_PORT_COUNT 6

#define USE_I2C
Expand Down

0 comments on commit 0b02dce

Please sign in to comment.