-
Notifications
You must be signed in to change notification settings - Fork 226
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
Update all MCUs to ChibiOS 21.11.x/master #310
Conversation
…identally removed
…aster branch of Chibios
…onf.h files to include missing definitions. Still a few more things to add.
@@ -56,7 +55,7 @@ int main(void) | |||
*/ | |||
OnboardLED_Off(); | |||
|
|||
chDbgSuspendTrace(CH_DBG_TRACE_MASK_SWITCH); | |||
chTraceSuspend(CH_DBG_TRACE_MASK_SWITCH); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to change to an updated method
Hello! I've got a CS minor (and done plenty of C/C++) but I've got next to no familiarity with this library - that said, I'm a keyboard nerd and would love to see this PR completed so the RP2040 would be useable in QMK. Is there anything that I can do to help? |
Hey thanks for the expression of interest! As far as I know, all the work has already been done for the PR to be merged, however it's just waiting on a review from a maintainer. But feel free to go over the code and review it yourself if you want to check. I've already gone over all the file changes myself and everything looked good to me, apart from the few things i mentioned in the |
@fpoussin poke :) |
Hi, kindly, can we have some updates on this? Thank you! |
Having a look |
@@ -25,11 +25,11 @@ jobs: | |||
- name: decompress ChibiOS ext resources | |||
run: | | |||
cd $CH_PATH/ext | |||
for i in *.7z; do 7z x -y $i; done | |||
for i in *.7z; do 7z x -y "$i"; done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
.github/workflows/build.yml
Outdated
pull_request: | ||
branches: [ chibios-21.6.x ] | ||
branches: [ chibios-21.11.x-dev ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've pushed a chibios-21.11.x
branch, you can use that
.github/workflows/build.yml
Outdated
@@ -16,7 +16,7 @@ jobs: | |||
release: '10-2020-q4' | |||
- name: setup vars | |||
run: | | |||
echo "CH_VER=stable_20.3.x" >> $GITHUB_ENV | |||
echo "CH_VER=master" >> $GITHUB_ENV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added stable_21.11.x
, please use that, master is a no go
@@ -15,7 +15,7 @@ | |||
*/ | |||
|
|||
#include "fault_handlers.h" | |||
#include <hal.h> | |||
#include "hal.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
New stable branch added to ChibiOS repo, you can add the requested changes now: |
I've changed the merge branch to 21.11.x |
Changed some branches
Thanks for that @fpoussin, requested changes implemented. EDIT: Nevermind I just renamed the branch now. CI is running as I type this. EDIT 2: Looks like my lack of git experience has put this in a tricky spot. Oops. Restored the branch but the CI should still be running in the 21.11.x branch in my fork. Hope that's okay. EDIT 3: Looks like CI passed :) 🎉 |
Yes that's fine, CI should pass then I'll merge. |
CI passed 👍 Thanks for the review fpoussin |
It's done :) |
This PR updates ChibiOS-Contrib to be up to date with ChibiOS 21.11.x (the master branch, because there is no separate branch for 21.11.x currently). Additionally, I believe this is the first build to include the new Raspberry Pi Pico RP2040 MCU.
This is in response to qmk/qmk_firmware#14877. I assume by merging this PR, development on getting RP2040 officially supported by QMK (without having to use sekigon_gonnoc's RP2040 VIAL fork) will be allowed to continue
From @tzarc in the QMK discord:
Changes:
build.yml
to use master branch of ChibiOS. Also fixed a minor bug that didn't allow extension packages to export.chconf.h
files of MCUs, adding new required definintions going from ChibiOS 20.3.x -> ChibiOS 21.11.xhalconf.h
files were also updatedmcuconf.h
files (mainly STM32F4xx)mcuconf.h
files)ffconf.h
filesPACKED_VAR
from some typedef structs in a file because of redefinition errors. I don't know if this is the correct way of resolving this.Notes:
chibios-21.11.x
I'll have to remove some of those vscode files.chconf.h
files using ChibiOS NIL are necessary.