Commit Graph

8221 Commits

Author SHA1 Message Date
Émilie Feral
1c3c170aaa [ion] N0200: improve code spliting between internal/external flash
Part I: move peripherals initiation to be executed from the external
flash to avoid many dependencies to limit the number of functions that
are forced in internal flash.
2019-04-30 15:48:27 +02:00
Émilie Feral
51cb00baea [ion] N0200: linker script: ensure that there is no references to the
external flash from the internal flash except the jump to ion_main
2019-04-30 15:48:27 +02:00
Léa Saviot
5e7731c34d [apps/on_boarding] Reset LED only if POST was performed
Fixes LED color bug in the following scenario:
Plug the device, reset, back, unplug the device, select language
-> The led is lit up
2019-04-30 15:40:47 +02:00
Émilie Feral
89031af4fd [ion] device/usb: add comment on how to turn dfu.bin into dfu.o 2019-04-29 18:01:32 +02:00
Émilie Feral
611e4e102f [ion] Namespace Ion::Base64 2019-04-29 18:01:32 +02:00
Émilie Feral
23da0d3f2c [ion] Namespace Ion::UTF8Helper and Ion::UTF8Decoder 2019-04-29 18:01:30 +02:00
Émilie Feral
a499aa9b2c [ion] Add 'noinline' attribute to Ion::suspend and Ion::standby to
ensure not to execute their code from the external flash
2019-04-29 18:00:31 +02:00
Émilie Feral
9e962874b6 Merge branch 'version-11' into HEAD 2019-04-29 18:00:17 +02:00
Émilie Feral
6c476526d1 [calculation] HistoryController: Avoid useless cell reloading (avoid
blinking)
2019-04-29 17:55:28 +02:00
Léa Saviot
dbd7196599 [apps/hardware_test] remove test done twice 2019-04-29 17:20:24 +02:00
Léa Saviot
725c3abd33 [scripts] More bench targets 2019-04-29 14:17:15 +02:00
Léa Saviot
8e3fa8c2e3 [apps/POST] Test not performed if calculator plugged 2019-04-29 10:18:28 +02:00
Léa Saviot
5d94742374 [ion/display] Factorize the dummy waitForVBlank 2019-04-29 09:39:08 +02:00
Émilie Feral
661c7b9943 [escher] SelectableTableView: when reloading data, we temporary deselect
the table. We warn the SelectableTableViewDelegate that the selection
change is 'within a temporary selection change' when notifying it of the
change.
2019-04-26 14:48:31 +02:00
Léa Saviot
235a7ed860 [scripts] By default, EPSILON_ONBOARDING_APP is 0
So that the backlight is inited on platforms where the onboarding app is
not displayed
2019-04-26 12:04:06 +02:00
Léa Saviot
641484457c [apps/hardware_tests and POST] Factorize the tests 2019-04-26 12:02:53 +02:00
Léa Saviot
204be4e7a3 Revert "[apps/hardware_test] Remove POST from hardware tests"
This reverts commit d103cd0919.
This tests are needed to block the production if they fail
2019-04-26 11:35:16 +02:00
Émilie Feral
78907aeb4a [calculation] Calculation: memoized display output 2019-04-26 10:46:46 +02:00
Léa Saviot
30a1a1f0eb [ion/bench] In crc, use print_float instead of print_int 2019-04-26 10:44:13 +02:00
Léa Saviot
f2865c3468 [poincare] Fix print int 2019-04-26 10:41:55 +02:00
Émilie Feral
80ad1e9623 [shared] Clean reloading (highlight, even) of
ScrollableExactApproximateExpressionsCell and
ScrollableExactApproximateExpressionsView
2019-04-26 10:41:36 +02:00
Émilie Feral
87c5004aec [calculation] HistoryViewCell: clean 2019-04-26 10:14:11 +02:00
Émilie Feral
7150669f5e [calculation] Change name: 'calculation selected' --> 'calculation
expanded'
2019-04-26 10:03:24 +02:00
Émilie Feral
aebc5ce4d0 [calculation] Calculation: discard Calculation::toggleDisplayExact (this
feature will be developed later)
2019-04-26 09:50:25 +02:00
Émilie Feral
1535d4dbb4 [calculation] HistoryViewCell: better split reload (highlight, scroll
etc)  between willDisplayCellForIndex and cellDidSelectSubview
2019-04-26 09:43:22 +02:00
Léa Saviot
2cc222856e [ion] remove crc32Padded 2019-04-25 17:11:06 +02:00
Léa Saviot
380ac52cd8 [ion/crc32] crc32Byte and crc32Word 2019-04-25 17:11:06 +02:00
Émilie Feral
a02a1fc5a4 [calculation] HistoryViewCell: fix scroll reloading and right or left
outputs selection (the order of events here matters)
2019-04-25 15:20:55 +02:00
Émilie Feral
25722d578d [calculation] HistoryViewCell: memoize calculation and cell selection to
speed up navigation in HistoryController
2019-04-25 14:03:35 +02:00
Émilie Feral
2b921c9965 [escher] ExpressionView: optimize setLayouts to avoid marking the whole
view as dirty when the layout did not really changed
2019-04-25 14:03:30 +02:00
Émilie Feral
76b4d36826 [escher] Clean empty lines 2019-04-25 13:45:46 +02:00
Émilie Feral
4330e4de42 [poincare] Layout: implement isIdenticalTo 2019-04-25 13:45:39 +02:00
Léa Saviot
9fb7eb9f92 [ion/device] Remove TODO comment 2019-04-25 10:59:10 +02:00
Léa Saviot
794ce8d892 [ion/on_boarding] Fix the backlight initialization 2019-04-25 10:58:49 +02:00
Léa Saviot
69593bd0be [apps/on_boarding] Visually hide the LCD POST to the user
By initing the backlight after the test, not before.
2019-04-25 09:43:44 +02:00
Émilie Feral
3234622df6 [poincare] Layout: discard methods isVerticalOffset(), isHorizontal(),
isRightParenthesisLayout(), isLeftBracket(), isRightBracket(),
isCodePoint(),
isLeftParenthesisLayout() and use type() instead
2019-04-24 17:25:04 +02:00
Léa Saviot
d103cd0919 [apps/hardware_test] Remove POST from hardware tests 2019-04-24 16:25:10 +02:00
Léa Saviot
da5a2d15f7 [apps/on_boarding] Power-on self-test
POST checks the battery, VBLANK and LCDData
2019-04-24 16:18:55 +02:00
Émilie Feral
064025edd5 [poincare] Layout: add a Type to all layouts 2019-04-24 15:45:55 +02:00
Émilie Feral
c6846bb85c [poincare] VerticalOffsetLayout: change name of 'Type' to 'Position' 2019-04-24 15:32:21 +02:00
Émilie Feral
75f2b55dd8 [shared] ScrollableExactApproximateExpressionsView: fix scrolling when
selecting the left or right output result
2019-04-24 14:56:07 +02:00
Émilie Feral
ff87c8c53c [escher] ScrollableView: discard duplicate data source of scrolling
offset
2019-04-24 14:34:18 +02:00
Léa Saviot
a4b0567e64 [hardware_test/lcd_test] Fix the BlackWhite test 2019-04-24 12:05:19 +02:00
Léa Saviot
4b5fd2651f [ion/crc32] Clean crc32 padded algorithm. 2019-04-24 09:55:54 +02:00
Émilie Feral
e29c2b8b39 [calculation] HistoryViewCell: reloadCell selects the right or left
output according to the calculation hold (this enables to discard
unnecessary reloadScroll)
2019-04-24 09:46:12 +02:00
Émilie Feral
8629b4c9e9 [shared] ScrollableExactApproximateExpressionsView: selecting the right
or left output reload the scroll to display the selected output
2019-04-24 09:43:22 +02:00
Léa Saviot
dea3ec71b6 [ion/external_flash] Fix JEDECid command 2019-04-23 16:25:29 +02:00
Émilie Feral
0c453386d3 [calculation] Calculation: improve memoization of a calculation height 2019-04-23 15:16:19 +02:00
Émilie Feral
55e325cc3a [shared] ScrollableExactApproximateExpressionsView: change the selected
output only when one of the two layout is uninitialized. Otherwise, the
parent cell decides of which of right or left output should be selected.
2019-04-23 11:15:17 +02:00
Émilie Feral
494a339c9b [escher] TextView: avoid useless markRectAsDirty when updating
backgroundColor and textColor
2019-04-23 11:14:39 +02:00