Skip to content

Commit 8e63e2a

Browse files
committed
[omega] 2.0.1
2 parents 27e1ac9 + f6b1754 commit 8e63e2a

File tree

7 files changed

+8
-7
lines changed

7 files changed

+8
-7
lines changed

README.fr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<p align="center"><img src="https://user-images.githubusercontent.com/12123721/111199951-80bd3d00-85c1-11eb-936c-28cf590208b8.png" /></p>
1+
<p align="center"><img src="https://user-images.githubusercontent.com/12123721/160276449-891ac0fe-0034-45b0-b43f-0fcc81826dc0.png" /></p>
22

33
<p align="center">
44
<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>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<p align="center"><img src="https://user-images.githubusercontent.com/12123721/111199951-80bd3d00-85c1-11eb-936c-28cf590208b8.png" /></p>
1+
<p align="center"><img src="https://user-images.githubusercontent.com/12123721/160276449-891ac0fe-0034-45b0-b43f-0fcc81826dc0.png" /></p>
22

33
<p align="center">
44
<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>

build/config.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ DEBUG ?= 0
55

66
HOME_DISPLAY_EXTERNALS ?= 1
77
EPSILON_VERSION ?= 15.5.0
8-
OMEGA_VERSION ?= 2.0.0
8+
OMEGA_VERSION ?= 2.0.1
99
# OMEGA_USERNAME ?= N/A
1010
OMEGA_STATE ?= public
1111
EPSILON_APPS ?= calculation rpn graph code statistics probability solver atomic sequence regression settings external

ion/src/device/bootloader/drivers/external_flash.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ int SectorAtAddress(uint32_t address) {
405405
i = address >> NumberOfAddressBitsIn32KbyteBlock;
406406
if (i >= 1) {
407407
i = Config::NumberOf4KSectors + i - 1;
408-
assert(i >= 0 && i <= Config::NumberOf32KSectors);
408+
assert(i >= Config::NumberOf4KSectors && i <= Config::NumberOf4KSectors + Config::NumberOf32KSectors);
409409
return i;
410410
}
411411
i = address >> NumberOfAddressBitsIn4KbyteBlock;

ion/src/device/bootloader/drivers/external_flash_tramp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,13 +371,13 @@ void MassErase() {
371371

372372
void WriteMemory(uint8_t * destination, const uint8_t * source, size_t length) {
373373
asm("cpsid if");
374-
reinterpret_cast<void(*)(uint8_t*, const uint8_t*, size_t)>(Ion::Device::Trampoline::address(Ion::Device::Trampoline::ExternalFlashWriteMemory))(destination, source, length);
374+
(*reinterpret_cast<void(**)(uint8_t*, const uint8_t*, size_t)>(Ion::Device::Trampoline::address(Ion::Device::Trampoline::ExternalFlashWriteMemory)))(destination, source, length);
375375
asm("cpsie if");
376376
}
377377

378378
void EraseSector(int i) {
379379
asm("cpsid if");
380-
reinterpret_cast<void(*)(int)>(Ion::Device::Trampoline::address(Ion::Device::Trampoline::ExternalFlashEraseSector))(i);
380+
(*reinterpret_cast<void(**)(int)>(Ion::Device::Trampoline::address(Ion::Device::Trampoline::ExternalFlashEraseSector)))(i);
381381
asm("cpsie if");
382382
}
383383

ion/src/device/bootloader/drivers/power.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void __attribute__((noinline)) internalFlashStandby() {
7979
}
8080

8181
void enterLowPowerMode() {
82-
reinterpret_cast<void(*)(void)>(Ion::Device::Trampoline::address(Ion::Device::Trampoline::Suspend))();
82+
(*reinterpret_cast<void(**)(void)>(Ion::Device::Trampoline::address(Ion::Device::Trampoline::Suspend)))();
8383
}
8484

8585
}

ion/src/simulator/macos/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ ion_src += $(addprefix ion/src/simulator/shared/, \
1515
collect_registers.cpp \
1616
haptics.cpp \
1717
journal.cpp \
18+
store_script.cpp \
1819
)
1920

2021
ifeq ($(EPSILON_TELEMETRY),1)

0 commit comments

Comments
 (0)