Skip to content

Commit

Permalink
[omega] 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
M4xi1m3 committed Mar 27, 2022
2 parents 27e1ac9 + f6b1754 commit 8e63e2a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.fr.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><img src="https://user-images.githubusercontent.com/12123721/111199951-80bd3d00-85c1-11eb-936c-28cf590208b8.png" /></p>
<p align="center"><img src="https://user-images.githubusercontent.com/12123721/160276449-891ac0fe-0034-45b0-b43f-0fcc81826dc0.png" /></p>

<p align="center">
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="cc by-nc-sa 4.0" src="https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-525252.svg?labelColor=292929&logo=creative%20commons&style=for-the-badge" /></a>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><img src="https://user-images.githubusercontent.com/12123721/111199951-80bd3d00-85c1-11eb-936c-28cf590208b8.png" /></p>
<p align="center"><img src="https://user-images.githubusercontent.com/12123721/160276449-891ac0fe-0034-45b0-b43f-0fcc81826dc0.png" /></p>

<p align="center">
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="cc by-nc-sa 4.0" src="https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-525252.svg?labelColor=292929&logo=creative%20commons&style=for-the-badge" /></a>
Expand Down
2 changes: 1 addition & 1 deletion build/config.mak
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ DEBUG ?= 0

HOME_DISPLAY_EXTERNALS ?= 1
EPSILON_VERSION ?= 15.5.0
OMEGA_VERSION ?= 2.0.0
OMEGA_VERSION ?= 2.0.1
# OMEGA_USERNAME ?= N/A
OMEGA_STATE ?= public
EPSILON_APPS ?= calculation rpn graph code statistics probability solver atomic sequence regression settings external
Expand Down
2 changes: 1 addition & 1 deletion ion/src/device/bootloader/drivers/external_flash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ int SectorAtAddress(uint32_t address) {
i = address >> NumberOfAddressBitsIn32KbyteBlock;
if (i >= 1) {
i = Config::NumberOf4KSectors + i - 1;
assert(i >= 0 && i <= Config::NumberOf32KSectors);
assert(i >= Config::NumberOf4KSectors && i <= Config::NumberOf4KSectors + Config::NumberOf32KSectors);
return i;
}
i = address >> NumberOfAddressBitsIn4KbyteBlock;
Expand Down
4 changes: 2 additions & 2 deletions ion/src/device/bootloader/drivers/external_flash_tramp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,13 +371,13 @@ void MassErase() {

void WriteMemory(uint8_t * destination, const uint8_t * source, size_t length) {
asm("cpsid if");
reinterpret_cast<void(*)(uint8_t*, const uint8_t*, size_t)>(Ion::Device::Trampoline::address(Ion::Device::Trampoline::ExternalFlashWriteMemory))(destination, source, length);
(*reinterpret_cast<void(**)(uint8_t*, const uint8_t*, size_t)>(Ion::Device::Trampoline::address(Ion::Device::Trampoline::ExternalFlashWriteMemory)))(destination, source, length);
asm("cpsie if");
}

void EraseSector(int i) {
asm("cpsid if");
reinterpret_cast<void(*)(int)>(Ion::Device::Trampoline::address(Ion::Device::Trampoline::ExternalFlashEraseSector))(i);
(*reinterpret_cast<void(**)(int)>(Ion::Device::Trampoline::address(Ion::Device::Trampoline::ExternalFlashEraseSector)))(i);
asm("cpsie if");
}

Expand Down
2 changes: 1 addition & 1 deletion ion/src/device/bootloader/drivers/power.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void __attribute__((noinline)) internalFlashStandby() {
}

void enterLowPowerMode() {
reinterpret_cast<void(*)(void)>(Ion::Device::Trampoline::address(Ion::Device::Trampoline::Suspend))();
(*reinterpret_cast<void(**)(void)>(Ion::Device::Trampoline::address(Ion::Device::Trampoline::Suspend)))();
}

}
Expand Down
1 change: 1 addition & 0 deletions ion/src/simulator/macos/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ion_src += $(addprefix ion/src/simulator/shared/, \
collect_registers.cpp \
haptics.cpp \
journal.cpp \
store_script.cpp \
)

ifeq ($(EPSILON_TELEMETRY),1)
Expand Down

0 comments on commit 8e63e2a

Please sign in to comment.