-
Notifications
You must be signed in to change notification settings - Fork 60
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/storage] new bootloader and fix python issue #205
[bootloader/storage] new bootloader and fix python issue #205
Conversation
|
|
|
@@ -51,7 +51,7 @@ bool waitForVBlank() { | |||
uint64_t startTime = Timing::millis(); | |||
uint64_t timeout = startTime + timeoutDelta; | |||
|
|||
/* If current time is big enough, currentTime + timeout wraps around the | |||
/* If current time is big enough, currentTime + timeout wraps aroud the |
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.
?
@@ -49,7 +49,7 @@ void jump(uint32_t jumpIsrVectorAddress) { | |||
// Disable cache before reset | |||
Ion::Device::Cache::disable(); | |||
|
|||
/* Shutdown all clocks and peripherals to mimic a hardware reset. */ | |||
/* Shutdown all clocks and periherals to mimic a hardware reset. */ |
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.
?
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.
? Changed correct spelling to wrong spelling
@@ -8,7 +8,7 @@ namespace Device { | |||
namespace WakeUp { | |||
|
|||
/* All wakeup functions can be called together without overwriting the same | |||
* register. All together, they will set SYSCFG and EXTi registers as follow: | |||
* register. All togethed, they will set SYSCFG and EXTi registers as follow: |
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.
?
ion/src/device/shared/regs/tim.h
Outdated
@@ -17,7 +17,7 @@ class TIM { | |||
}; | |||
|
|||
class CCMR : Register64 { | |||
/* We're declaring CCMR as a 64 bits register. CCMR doesn't exist per se, | |||
/* We're declaring CCMR as a 64 bits register. CCMR doesn't exsist per se, |
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.
?
@@ -155,7 +155,7 @@ class Calculator : public Device { | |||
ExtendedCompatIDDescriptor m_extendedCompatIdDescriptor; | |||
|
|||
Descriptor * m_descriptors[8]; | |||
/* m_descriptors contains only descriptors that should be returned via the | |||
/* m_descriptors contains only descriptors that sould be returned via the |
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.
?
Co-authored-by: Lauryy06 <80424145+Lauryy06@users.noreply.github.com>
Co-authored-by: Lauryy06 <80424145+Lauryy06@users.noreply.github.com>
Co-authored-by: Lauryy06 <80424145+Lauryy06@users.noreply.github.com>
Co-authored-by: Lauryy06 <80424145+Lauryy06@users.noreply.github.com>
Co-authored-by: Lauryy06 <80424145+Lauryy06@users.noreply.github.com>
Co-authored-by: Lauryy06 <80424145+Lauryy06@users.noreply.github.com>
|
5 similar comments
|
|
|
|
|
|
|
# Disable Script | ||
sys.exit(0) |
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.
Yes, but why are you not removing it from the Makefile ?
uint32_t * persistence_end_32 = (uint32_t *)&_exam_mode_buffer_end; | ||
assert((persistence_end_32 - persistence_start_32) % 4 == 0); | ||
while (persistence_start_32 < persistence_end_32 && *persistence_start_32 == 0x0) { | ||
uint32_t * persitence_start_32 = (uint32_t *)&_exam_mode_buffer_start; |
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.
Why do you edit it ?
Co-authored-by: Yaya-Cout <67095734+Yaya-Cout@users.noreply.github.com>
Co-authored-by: Yaya-Cout <67095734+Yaya-Cout@users.noreply.github.com>
Co-authored-by: Yaya-Cout <67095734+Yaya-Cout@users.noreply.github.com>
Co-authored-by: Yaya-Cout <67095734+Yaya-Cout@users.noreply.github.com>
Co-authored-by: Yaya-Cout <67095734+Yaya-Cout@users.noreply.github.com>
|
|
|
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.
Please remove themes/themes/local/upsilon_light/bootloader/computer.xcf
Co-authored-by: Yaya-Cout <yaya.cout@free.fr>
|
|
|
||
constexpr static const char * bootloaderVersion = "Version 1.0.0 - FREED0M"; | ||
|
||
//USB NAMES |
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.
Why do you use capitals letters ?
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.
Because it's more stylish😎😎
Co-authored-by: Yaya-Cout <yaya.cout@free.fr>
|
1 similar comment
|
Co-authored-by: Yaya-Cout <yaya.cout@free.fr>
|
…psilon into upsilon-new-bootloader
|
|
bootloader/boot.cpp
Outdated
// Ion::Device::Flash::DisableInternalProtection(); | ||
// Ion::Device::Flash::EraseSector(0); |
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.
Remove comments if unused (below too)
// Ion::Device::Flash::DisableInternalProtection(); | |
// Ion::Device::Flash::EraseSector(0); |
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.
it's for the next update x)
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.
But I think i found something out
|
An amazing Upsilon Bootloader !
Thanks @Yaya-Cout for helping me bring this beauty to life ;-)
I also fix by the way the python issue