Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRAFT: Fix for VSCode Windows Extension #89

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
9cdab51
checking my simple hunch
wyattearp Sep 4, 2024
1430ddc
1-wire PIO program fixed on all hardware (yeah!). Includes port of Pi…
Sep 6, 2024
c8f9a8f
logic command: add -b flag to set base pin of logic analyzer capture.
Sep 6, 2024
e824122
Add clang-format file (it's pretty!)
Sep 6, 2024
fa5a688
Add legacy mode for third parties flashrom avrdude
therealdreg Sep 6, 2024
0eb1087
updating to address pip changes
wyattearp Aug 29, 2024
ec86024
lets fix that name now that there are more pirates...
wyattearp Aug 29, 2024
a0e6826
updating readme now that pull works
wyattearp Aug 30, 2024
2866a96
updating to address pip changes
wyattearp Aug 29, 2024
f10f98f
lets fix that name now that there are more pirates...
wyattearp Aug 29, 2024
6e53e13
should now build docker correctly, also picotool
wyattearp Sep 7, 2024
c496cf4
add -a flag to bug command to check all IO pins for E9 errata
Sep 9, 2024
2c25f65
Merge pull request #86 from wyattearp/fix-update-pipx-docker
DangerousPrototypes Sep 10, 2024
5bbaed7
Merge pull request #85 from therealdreg/legacy2third
DangerousPrototypes Sep 10, 2024
0e3571b
checking my simple hunch
wyattearp Sep 4, 2024
1e4b745
Windows dev containers should build now
wyattearp Sep 11, 2024
921b445
adding notes on why this is a problem
wyattearp Sep 11, 2024
37b4e4c
fix conflict
wyattearp Sep 11, 2024
6d1784c
on the off chance that this works out the gate...
wyattearp Sep 11, 2024
abca91d
apparently we cannot set these in gh workflows
wyattearp Sep 11, 2024
6227602
revert change, patch with pico-tool 1820 ... fix
wyattearp Sep 11, 2024
e498c21
let us move the fix to the right step
wyattearp Sep 11, 2024
64faa91
one more guess that maybe windows is not pruning the directory correctly
wyattearp Sep 11, 2024
f4b7d67
ok, now in powershell.
wyattearp Sep 11, 2024
aafe817
none of the other instructions seem to require this
wyattearp Sep 11, 2024
26a3d3d
removing env vars which should not need to be set if picotool worked …
wyattearp Sep 11, 2024
6194bf9
revert aafe817
wyattearp Sep 11, 2024
25069a4
matching instructions on forum
wyattearp Sep 11, 2024
6bd74e0
powershell, use powershell wyatt
wyattearp Sep 11, 2024
d52ecea
turn up the volume ... of logs
wyattearp Sep 11, 2024
bd7f016
only be loud on the build
wyattearp Sep 11, 2024
b890e47
trying to clean up line endings
wyattearp Sep 11, 2024
05e5c1b
might as well fix this while i am here
wyattearp Sep 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
BasedOnStyle: Mozilla
IndentWidth: 4
TabWidth: 4
UseTab: Never
ContinuationIndentWidth: 4
ConstructorInitializerIndentWidth: 4
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
NamespaceIndentation: All
SortIncludes: false
InsertBraces: true
BreakBeforeBraces: Attach
ColumnLimit: 120
UseCRLF: true
AlwaysBreakAfterReturnType: None
AlwaysBreakAfterDefinitionReturnType: None
6 changes: 6 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "BusPirate v5+ Build Environment",
"dockerComposeFile": "../docker-compose.yml",
"service": "dev",
"workspaceFolder": "/project"
}
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,18 @@ jobs:
echo "PICO_SDK_PATH=$Env:TEMP\pico-sdk" >> "$env:GITHUB_ENV"
cd "$Env:TEMP\pico-sdk"
git submodule init
git submodule update
git submodule update --recursive

- name: Configure CMake Linux & MacOS
if: ${{ matrix.os != 'windows-latest'}}
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Configure CMake Windows
if: ${{ matrix.os == 'windows-latest'}}
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=C:\ProgramData\chocolatey\bin\arm-none-eabi-gcc.exe -DCMAKE_CXX_COMPILER=C:\ProgramData\chocolatey\bin\arm-none-eabi-g++.exe -G "Unix Makefiles"
run: $env:PICO_SDK_FETCH_FROM_GIT=1; cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=C:\ProgramData\chocolatey\bin\arm-none-eabi-gcc.exe -DCMAKE_CXX_COMPILER=C:\ProgramData\chocolatey\bin\arm-none-eabi-g++.exe -G "Unix Makefiles"

- name: Build
run: cmake --build ${{github.workspace}}/build --target ${{env.BUILD_TARGET}}
run: cmake --build ${{github.workspace}}/build --target ${{env.BUILD_TARGET}} --verbose

- name: Save Artifacts
uses: actions/upload-artifact@v4
Expand Down
Loading
Loading