Commit Graph

8883 Commits

Author SHA1 Message Date
Léa Saviot
a8d8e72fb4 [poincare] Fix MatrixTrace::shallowReduce 2019-08-08 16:29:37 +02:00
Léa Saviot
bf4293991d [poincare] Fix some matrix tests 2019-08-08 16:29:37 +02:00
Léa Saviot
1688c45e3c [poincare] MatrixTranspose 2019-08-08 16:29:37 +02:00
Léa Saviot
956cfc2bc4 [poincare] Expression:replaceWithUndefinedInPlace 2019-08-08 16:29:37 +02:00
Léa Saviot
c525386e4c [poincare] Fix shallowReduce that return Undefined 2019-08-08 16:29:37 +02:00
Léa Saviot
1bce23ccda [poincare] Allow simplification with matrices 2019-08-08 16:29:37 +02:00
Léa Saviot
6537f5e967 [poincare] Multiplication handles matrices 2019-08-08 16:29:37 +02:00
Léa Saviot
7cf3ce4fee [poincare] Expression::mapOnMatrixChild -> mapOnMatrixFirstChild 2019-08-08 16:29:37 +02:00
Léa Saviot
c3d5db42d1 [poincare] Power::shallowReduce handles matrices 2019-08-08 16:29:37 +02:00
Léa Saviot
1b42efb2cd [poincare] Tests about basic matrix simplifications + fix tests 2019-08-08 16:29:37 +02:00
Léa Saviot
c60cda3fb2 [poincare] Continue handling matrices in shallowReduce 2019-08-08 16:29:37 +02:00
Léa Saviot
a6e4d1cd6f [poincare/addition] shallowReduce on matrices 2019-08-08 16:29:37 +02:00
Léa Saviot
86301b0884 [poincare] NAryExpressionNode::sortChildrenInPlace for matrices 2019-08-08 16:29:37 +02:00
Léa Saviot
9c9e292974 [poincare] ComplexCartesian::norm, special case for pure imaginary 2019-08-08 16:29:37 +02:00
Léa Saviot
3b729ca1cf [poincare/power] Clean code -> do not create expression if not needed 2019-08-08 16:29:37 +02:00
Léa Saviot
61cf762eef [poincare] Expression::ReductionContext 2019-08-08 16:29:37 +02:00
Léa Saviot
de2d9f7c57 [poincare] SerializationHelper::Map -> Expression::mapOnMatrixChild 2019-08-08 16:24:51 +02:00
Léa Saviot
51ee5d8e21 [poincare] More matrix simplification when map/undefined 2019-08-08 16:24:51 +02:00
Léa Saviot
476d4f0046 [poincare] Matrix exact reducing when mapping or undefined 2019-08-08 16:24:51 +02:00
Léa Saviot
d11b8a9614 [poincare] Remove flag MATRICES_ARE_DEFINED 2019-08-08 16:24:51 +02:00
Léa Saviot
ba05d040dd [poincare/n_ary_expression] Comment 2019-08-08 16:24:51 +02:00
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