Uh oh!
There was an error while loading. Please reload this page.
Refactor to use source & headers structure - #2302
Conversation
robbederks
commented
Dec 3, 2025
Haven't reviewed in depth, but I think this is roughly in the same direction I'd start. Obviously still needs a lot of work to get the subprojects building and all tests passing again, after that I can give it a closer look. |
2e74d6c to
63dfd6bCompareReady for a review. @robbederks
|
63dfd6b to
45ff79fCompare0a89478 to
45c876bComparejakubberkop
commented
Jan 6, 2026
@robbederks please take a look when you have a chance. |
robbederks
commented
Jan 7, 2026
@jakubberkop: looks like it builds and flashes, but doesn't boot on the panda jungle and thus doesn't try it on the pandas either. do you have any hardware to test this on? does it boot on pandas? If not I can try to debug it too |
jakubberkop
commented
Jan 7, 2026
@robbederks: Unfortunately no, I don't have any hardware. |
@jakubberkop the STM hangs in the bootloader right after initializing the interrupts. I've loaded I see you've also had to add an Lmk once you debugged it and would like me to test on hw again |
jakubberkop
commented
Jan 13, 2026
@robbederks thanks for the help! Should be ready for tests on hw. |
robbederks
commented
Jan 13, 2026
Great. I'll try again tomorrow. Any way you can set linker flags to throw errors for mistakes like these? Failing silently doesn't seem like a great option going forward |
robbederks
commented
Jan 14, 2026
In general we also try to avoid adding more misra suppressions and fixing the underlying issues instead. Haven't looked too extensively for other ones that have been added, but would be good to double check that |
robbederks
commented
Jan 14, 2026
@jakubberkop the RSA signature check was failing in the bootstub. Looks like an off-by-one bug was introduced in Can you double check that there are no other changes like this introduced? It's a bit scary in a large PR like this to have functional changes like this since they're very hard to review due to the sheer diff size |
robbederks
commented
Jan 14, 2026
fixed a CAN buffer bug where they weren't in the right memory section, that works now. for some reason the main red LED breathes at like 2.5x speed with this PR though, didn't see anything obvious why that is the case (is the core running at a different frequency?). The uptime counter does look correct at 1Hz so the main PLLs should be fine |
c226f3c to
8651137Comparerobbederks
commented
Jan 15, 2026
Figured out the fast LED breathing too: looks like this is the first time the |
jakubberkop
commented
Jan 15, 2026
I went again through all of the files, and compared them the master branch. I have found a few small changes that I introduced by accident and fixed it here (commit b80bcd7). This also removed extraneous misra suppressions. Interesting that we can get such a huge speedup by just alignment of the delay function. I compared the generated code yesterday, and that the only thing I noticed, but didn't know that it could have had such a big effect. I guess you learn something every day. |
…red interrupt functions are not linked
79e8eab to
8b68ab8Comparejakubberkop
commented
Jan 26, 2026
Rebased after #2318 |
jakubberkop
commented
Feb 3, 2026
@robbederks I think this PR is ready. |
robbederks
commented
Feb 4, 2026
trigger-jenkins |
robbederks
commented
Feb 4, 2026
@jakubberkop will review again! |
adeebshihadeh
commented
Feb 4, 2026
trigger-jenkins |
adeebshihadeh
commented
Feb 15, 2026
trigger-jenkins |
jakubberkop
commented
Mar 11, 2026
Hi, besides the merge conflicts that have now appeared, is there anything else you would want me to still do for this PR? |
Work in progress for #2171.
Is this the refactor you have in mind? @robbederks
Building of jungle and body binaries are commented out of now, just to get a poc of the refactor.