Skip to content

Commit

Permalink
prevent copying the pysical layout dtsi for reset firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
280Zo committed Nov 6, 2024
1 parent 9085633 commit 69b0274
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/user_config_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,13 @@ jobs:
cp -R "${{ inputs.config_path }}"/* "$base_config_path/"
echo "config files ready"
# Copy active keymap to the board directory & adjust for bt/dongle format
# Copy keymap & physical layouts
if [ "${{ env.shield }}" != "settings_reset" ]; then
# Copy physical layout file to shield directory
mv -v "$base_config_path/charybdis-layouts.dtsi" \
"${GITHUB_WORKSPACE}/boards/shields/charybdis-${{ env.format }}/"
# Copy active keymap to the board directory & adjust for bt/dongle format
cp -Rv "$GITHUB_WORKSPACE/${{ inputs.keymap_path }}/${{ env.keymap }}.keymap" \
"$base_config_path/charybdis.keymap"
echo "format: ${{ env.format }}"
Expand All @@ -139,10 +144,6 @@ jobs:
;;
esac
fi
# Copy physical layout file to shield directory
mv -v "$base_config_path/charybdis-layouts.dtsi" \
"${GITHUB_WORKSPACE}/boards/shields/charybdis-${{ env.format }}/"
fi
# Remove untargeted shields so they don't get auto picked up by the west build command
Expand Down
4 changes: 0 additions & 4 deletions config/charybdis.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
// chosen { zmk,matrix_transform = &default_transform; };
// };

/ {
chosen { zmk,physical-layout = &charybdis_physical_layout; };
};

/ {
/* input config for mouse move mode */
trackball_listener {
Expand Down

0 comments on commit 69b0274

Please sign in to comment.