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

Bootloader #306

Merged
merged 34 commits into from
Sep 29, 2024
Merged

Bootloader #306

merged 34 commits into from
Sep 29, 2024

Conversation

Akashem06
Copy link
Member

No description provided.

@@ -15,6 +15,17 @@ proc stm_flash {IMGFILE} {
reset run
}

proc stm_flash_bootloader_application {IMGFILE} {
reset halt
sleep 100
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the purpose of all these sleeps? Is it just a catch all to let things complete? If so, this first one seems to be redundant since you're calling wait_halt 2 right after

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this?



class TestCanDatagram(unittest.TestCase):
'''Test Can Datagram functions'''
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just curious, I see that these are copied from FWXIV, is there a reason you changed all the docstrings to single quotes?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reason I like single quotes more

@@ -0,0 +1,29 @@
ENTRY(Reset_Handler)

_bootloader_size = 8K;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you come up with this number after compilation?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I initially wanted 4k but it was too small, 8k is good for now

Copy link
Collaborator

@Bafran Bafran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm gonna approve this since you said it works lol. It's a bit too large and I don't have enough context to properly review. Did you say there's a confluence doc though? Ryan's old bootloader page doesn't 1:1 match this and I think it would be better to make things a little more clear here

@Akashem06 Akashem06 merged commit 7a0a7ae into main Sep 29, 2024
1 check passed
@Akashem06 Akashem06 deleted the bootloader branch September 29, 2024 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants