Commit Graph

1268 Commits

Author SHA1 Message Date
Romain Goyet
51e42f4f0f Merge branch 'sdl-macos-fix' into sdl-apple-fix 2019-09-20 10:02:40 +02:00
Romain Goyet
c838c4657c [build] Use rule_for/rule_label when needed 2019-09-18 17:46:38 +02:00
Émilie Feral
36278b5aec Merge branch 'master' into version-12 2019-09-18 11:00:03 +02:00
Romain Goyet
9e59e8e38e [ion] Homogenize type definitions to avoid LTO warnings 2019-09-18 10:52:20 +02:00
Léa Saviot
7c5cf82598 [apps/cartesian_function] When changing plot type, recompute unknowns 2019-09-12 10:38:51 +02:00
Léa Saviot
d9f650d283 [ion/utf8_helper] HasCodePoint 2019-09-09 13:30:04 +02:00
Émilie Feral
24b2ef29ce [ion] Remove unused variable 2019-09-05 16:35:16 +02:00
Émilie Feral
77304040ad [ion] Storage: fix crash due to wrong assertion
Python tries to import files without extension, it should not crash but
return an empty Record.
2019-09-02 16:55:39 +02:00
Léa Saviot
5235f74852 [ion/storage] Memoize last retrieved record
Faster Graph navigation
2019-08-30 10:47:15 +02:00
Ruben Dashyan
ee1cdea837 [apps/shared/cartesian_function] Function symbol depends on its plot type 2019-08-29 11:07:22 +02:00
Ruben Dashyan
a8810ef066 Use UCodePointUnknownX instead of UCodePointUnknownN 2019-08-29 11:07:21 +02:00
Léa Saviot
601827e790 [poincare/serializ_hlpr] Use SerHlpr::CodePoint, not UTF8Decoder
SerializationHelper::CodePoint puts a null-terminating char
2019-08-08 17:22:06 +02:00
Léa Saviot
b0b10f184e [poincare/print_float] convertFloatToText -> ConvertFloatToText 2019-08-08 17:22:06 +02:00
Émilie Feral
cedcab21ec [poincare] Tidy tests and add TODO for tests that need to be completed 2019-08-08 17:22:04 +02:00
Émilie Feral
42ba0c2a16 [ion] Fix Makefile bug due to including non-existing flag 2019-08-08 17:22:01 +02:00
Émilie Feral
69a46c2aca [ion] sdl: remove duplicate definition of waitForVBlank 2019-08-08 17:22:01 +02:00
Émilie Feral
87b54385aa [scripts] Enable to call "make PLATFORM=blackbox compare" without
precising the building directory
2019-08-08 17:22:01 +02:00
Émilie Feral
1b7def19c2 [scripts] Build in release and debug objects in separated subfolders:
(eg, build/[release|debug]/[device|emscripten|...]/)
2019-08-08 17:22:01 +02:00
Émilie Feral
8818d64f05 [ion] Avoid useless dependency of ion/src/emscripten/main.o on i18n
files
2019-08-08 17:22:01 +02:00
Émilie Feral
059c596a80 Makefiles: avoid building all sources for each target; introduce more
modularity
2019-08-08 17:22:01 +02:00
Émilie Feral
518903c390 Clean warnings 2019-08-08 17:22:01 +02:00
Émilie Feral
6b3d2cc8df [ion] test.external_flash: split this test target into two targets -
test.external_flash.write and test.external_flash.read
2019-08-08 17:22:00 +02:00
Émilie Feral
e89389591d [ion] Clean test.external_flash target 2019-08-08 17:22:00 +02:00
Émilie Feral
a4dfe2eb9e [scripts] Remove EPSILON_ONBOARDING_APP flag 2019-08-08 16:32:18 +02:00
Émilie Feral
697b4a6d4d [scripts] Remove unused EPSILON_DEVICE_BENCH flag 2019-08-08 16:29:38 +02:00
Émilie Feral
2861a35840 Clean some warnings 2019-08-08 16:29:38 +02:00
Émilie Feral
86487567d4 [scripts] Makefile: Remove objs variable and add all_objs 2019-08-08 16:29:38 +02:00
Émilie Feral
2ddb586bdc [scripts] Remove EPSILON_USB_DFU_XIP flag: specify the right dfu sources
for each target
2019-08-08 16:29:38 +02:00
Émilie Feral
2baf79a08b [ion] Linker script N0110: add rodata symbol to internal flash to fix
building with DEBUG=1
2019-08-08 16:29:38 +02:00
Émilie Feral
c89c271f8c [ion] Fix assert which did not compile 2019-08-08 16:29:38 +02:00
Léa Saviot
1d5220ccb2 [ion/tests] More UTF8Helper tests 2019-08-08 16:19:53 +02:00
Léa Saviot
a2bda4b955 [ion/utf8_helper] Fix RemoveCodePoint
The index to update was not updated properly
2019-08-08 16:19:53 +02:00
Léa Saviot
af96698ecb [ion/tests] More UTF8Helper tests 2019-08-08 16:19:53 +02:00
Léa Saviot
b2efb478e6 [ion/utf8_helper] Remove unused method parameter 2019-08-08 16:19:53 +02:00
Léa Saviot
8c8dec05c9 [ion/utf8_helper] Optimize NotCodePointSearch for one byte long c 2019-08-08 16:19:53 +02:00
Léa Saviot
b094480671 [ion/n0110/display] Gamma calibration: better darks 2019-08-08 15:54:42 +02:00
Émilie Feral
b2e3592f6e Flasher targets: get rid of flag EPSILON_FLASHER_VERBOSE and create
instead two targets flasher.light.bin and flasher.verbose.bin
2019-08-08 15:54:42 +02:00
Émilie Feral
51284296e7 [ion][liba] Add 'noinline' attribute for symbols that have to be in
internal flash (we don't need to consider these symbol dependencies
though)
2019-08-08 15:54:42 +02:00
Émilie Feral
1219b77b52 [ion] N0110 linker script: add missing symbol in internal flash -
Reset::coreWhilePlugged
2019-08-08 15:54:42 +02:00
Émilie Feral
fa13305d36 [ion] Implement different Power::configWakeUp for N0100 and N0110
WakeUp::onChargingEvent can't work on N0100 because of a hardware
limitation
2019-08-08 15:54:42 +02:00
Émilie Feral
bd5d94ba6c [ion] Discard old comment 2019-08-08 15:54:42 +02:00
Émilie Feral
3aa6775cc1 [ion] Move Power::standbyConfiguration to N0110 folder to prevent anyone
to use it in N0100
2019-08-08 15:54:41 +02:00
Émilie Feral
d67a1d00a7 [ion] Power: add a comment to explain why standby use stopConfiguration
on N0100
2019-08-08 15:54:41 +02:00
Léa Saviot
db6496baf9 [ion/n0100] Fix updateColorWithPlugAndCharge
Make sure not to erase the exam mode led color
2019-08-08 15:54:41 +02:00
Émilie Feral
2d8f98942e [ion] LED changes color on charging event only for N0110 model 2019-08-08 15:54:41 +02:00
Émilie Feral
f99ea4b5f6 [ion] Fix bug in Power: after waking up from standby, call
Reset::coreWhilePlugged instead of Reset::core (the device might be
plugged at this point and we don't want to jump to ST bootloader when
waking up from standby on N0100)
2019-08-08 15:54:41 +02:00
Émilie Feral
bf80957b56 [ion] Reset: add a method Reset::coreWhilePlugged implemented
differently for N0100 & N0110
2019-08-08 15:54:41 +02:00
Léa Saviot
3a953e19c4 [ion/dummy] Fix method implementation namespace 2019-08-07 11:15:28 +02:00
Léa Saviot
f5a7a44546 [apps/ion] Factorize code and TODO 2019-08-07 11:15:28 +02:00
Léa Saviot
a450ce3855 Merge branch 'master' into f7 2019-08-06 17:40:14 +02:00