Commit Graph

1159 Commits

Author SHA1 Message Date
É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
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
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
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
Léa Saviot
65f5eb6f6a [ion/bench] Fix LCDData / LCDTiming answer 2019-07-16 09:43:18 +02:00
Léa Saviot
aafb6d5a5e [apps/ion] Clean and shorten LCDData and LCDTiming tests 2019-07-15 15:21:14 +02:00
Romain Goyet
a975f020f0 [ion/device/display] Update the LCD timings 2019-07-15 14:47:30 +02:00
Léa Saviot
606e132747 [apps/bench] Change LCD Data pattern (tiling red/blue/green) 2019-07-12 17:50:38 +02:00
Léa Saviot
bf9ba7b363 [apps/hardware_test] ColorsLCDTest 2019-07-05 12:25:50 +02:00
Léa Saviot
5a8596acd7 [ion/utf8_helper] Put default parameter in RemovePreviousGlyph 2019-06-21 14:30:14 -04:00
Léa Saviot
5f549b514e [escher] Fix backspace on utf8 combining code point 2019-06-21 14:30:14 -04:00
Léa Saviot
1043426c40 [ion/utf8] next/previousGlyphPosition methods and tests 2019-06-21 14:30:14 -04:00
Léa Saviot
fd4eeada42 [ion/display] Increase display timings for bad LCD 2019-06-17 18:10:51 +02:00
Ruben Dashyan
cd94530d4a [ion/device/usb] Decrease GPIO OSPEEDR to fast 2019-06-17 18:09:18 +02:00
Ruben Dashyan
987f21ffe8 [ion/device/led] Decrease GPIO OSPEEDR 2019-06-17 18:07:56 +02:00
Ruben Dashyan
0468adea35 [ion/device/n0110/external_flash] Decrease GPIO OSPEEDR to fast 2019-06-17 18:07:30 +02:00
Léa Saviot
ea0a4856c6 [ion/n0110] Add Spread spectrum at 0.25% 2019-06-17 18:07:03 +02:00
Romain Goyet
7e1b4efbd2 [ion/device/display] Make sure the calibration is properly sent 2019-06-17 11:26:53 +02:00
Léa Saviot
abb94feea9 Merge branch 'master' into f7 2019-06-14 16:03:59 +02:00
Léa Saviot
872de8deef [ion/utf8_helper] Fix StringGlyphLength 2019-06-14 08:16:55 -04:00
Léa Saviot
c04d33e5fe [ion/bench] Fix includes and namespace 2019-06-14 11:18:47 +02:00
Émilie Feral
0d1efdfd78 Merge branch 'master' into f7 2019-06-13 12:12:55 -04:00
Léa Saviot
2061c5d692 [escher/text_area] Fix text indentation handling
We used a small buffer to preprocess a text to insert in text area (add
indentation, remove empty code points, compute the next cursor location),
but the size of this buffer was sometimes too small and caused a crash.
Now we do all the text odification in place in the text area buffer.
2019-06-13 11:40:13 -04:00
Émilie Feral
89c8aaeb49 [ion] Coding style: change method names for more consistency 2019-06-13 11:36:55 -04:00