Commit Graph

8862 Commits

Author SHA1 Message Date
Léa Saviot
976b506c70 [poincare] n_ary_expression_node.h -> n_ary_expression.h 2019-08-08 16:24:51 +02:00
Léa Saviot
5a79d26191 [apps/regression] Factorize Model::simplifiedExpression 2019-08-08 16:22:28 +02:00
Léa Saviot
e8be088478 [apps/escher] Factorize TxtArea and Code::EditorCtrlr's k_indentSpaces 2019-08-08 16:22:28 +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
fbd18dbf7d [apps/Makefile] Fix compilation flags for apps/main.cpp
EPSILON_APPS_NAMES needed when building emscripten
2019-08-07 16:18:20 +02:00
Léa Saviot
989e3427b6 [apps/post_and_hardware_tests] Comment display tests 2019-08-07 11:15:28 +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
5a68c52120 [apps/post_and_hardware_tests] Remove unnecessary initPanel 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
Ruben Dashyan
d171c2a2be [apps/shared/function_graph_controller] Comment about the sampling step in computeYRange 2019-07-30 14:15:08 +02:00
Ruben Dashyan
bc750ef2da [apps/shared/curve_view] Clean clipping of the line segment for straightJoinDots 2019-07-30 14:15:08 +02:00
Ruben Dashyan
79dbdaa98c [apps/shared/curve_view] stampAtLocation: clarify stampRect and shiftedMask 2019-07-30 14:15:08 +02:00
Ruben Dashyan
75a273be2a [apps/shared/curve_view] Gather calls to stampAtLocation in jointDots 2019-07-30 14:15:08 +02:00
Ruben Dashyan
6f5b551104 [apps/shared/curve_view] Gather NAN detections in jointDots 2019-07-30 14:15:08 +02:00
Ruben Dashyan
0d82e40b1c [apps/shared/curve_view] Clean straightJoinDots 2019-07-30 14:15:08 +02:00
Ruben Dashyan
b4099180a3 [apps/shared/curve_view] Correctly check whether successive dots are joined 2019-07-30 14:15:08 +02:00
Ruben Dashyan
327547dd37 [apps/shared/curve_view] Do not evaluate several times in drawCurve 2019-07-30 14:15:08 +02:00
Ruben Dashyan
9ab55e6a04 [apps/shared/curve_view] drawCurve does not call straightJoinDots anymore
Remove the "bool continuously" parameter of the method drawCurve that allowed
to bypass the call to jointDots and call straightJoinDots directly
instead.
2019-07-30 14:15:08 +02:00
Ruben Dashyan
585b77c38f [apps/shared/curve_view] Clarify coordinates' conventions 2019-07-30 14:15:08 +02:00
Ruben Dashyan
07474caf6c [kandinsky/coordinate] Define KDCoordinate limits 2019-07-30 14:15:08 +02:00
Ruben Dashyan
f8fd654157 [liba/stdint] Define int16_t limits 2019-07-30 14:15:08 +02:00
Ruben Dashyan
ab0bfe2039 [apps/shared/curve_view] Inline pixelLength 2019-07-30 14:15:08 +02:00
Ruben Dashyan
95be59fdc6 [apps/shared/curve_view] Fix label position rounding error 2019-07-30 14:15:08 +02:00
Ruben Dashyan
702a222dbc [apps/shared/curve_view] Simplify drawGridLines' for loop parameter 2019-07-30 14:15:08 +02:00
Ruben Dashyan
ce75a99d93 [apps/shared/curve_view] Simplify drawGridLines' for loop bounds 2019-07-30 14:15:08 +02:00
Ruben Dashyan
985876f115 [apps/shared/curve_view] Simplify drawDot 2019-07-30 14:15:08 +02:00
Ruben Dashyan
01d2db1342 [apps/probability/law_curve_view] No need to convert from pixel to float back and forth 2019-07-30 14:15:08 +02:00
Ruben Dashyan
292493ba36 [apps/*curve_view] Substitute resolution by pixelWidth 2019-07-30 14:15:08 +02:00
Ruben Dashyan
c80baae1e9 [apps/*/curve_view] Remove samplingRatio()
The resolution() method is useful to get a horizontal step equivalent to
the width of a pixel. A higher sampling ratio (or resolution) had been
introduced in the following commit.
[apps] In curve view, avoid white vertical lines in integral curves due to pixel rounding
2019-07-30 14:15:08 +02:00
Ruben Dashyan
7cbc489052 [apps/shared/curve_view] Use drawSegment to color area under curve 2019-07-30 14:15:08 +02:00
Ruben Dashyan
f5c3cb74e2 [apps/shared/curve_view] Fix rounding error in drawSegment 2019-07-30 14:15:08 +02:00
Ruben Dashyan
503995746a [apps/shared/function_graph_controller] Clean resolution usage in computeYRange 2019-07-30 14:15:08 +02:00
Ruben Dashyan
f4b7967a58 [apps/shared/curve_view] step in drawHistogram depends on x-range's width
instead of the width of the rect that is being drawn.
2019-07-30 14:15:08 +02:00