Commit Graph

11243 Commits

Author SHA1 Message Date
Romain Goyet
713e0f5426 [kandinsky] The rasterizer encodes Unicode codepoints 2019-05-03 15:53:18 +02:00
Romain Goyet
25456b7973 [kandinsky] Assume UTF-8 encoding for strings 2019-05-03 15:53:18 +02:00
Léa Saviot
16c8f0fb97 [ion/bench] Fix comment 2019-05-03 15:13:07 +02:00
Émilie Feral
db49a6b31a Build: error if building bench_files without the right flags 2019-05-02 17:12:51 +02:00
Léa Saviot
7afea80508 [ion] internal_flash.ld 2019-05-02 17:11:56 +02:00
Léa Saviot
bfc21c304a [apps/on_boarding] Shorter logo display 2019-05-02 13:52:33 +02:00
Léa Saviot
9ebce79247 [ion/n0200/flash.ld] Fix internal/external dependencies 2019-05-02 11:04:03 +02:00
Léa Saviot
7c9747da64 [apps/post_and_hardware_tests] Clean code 2019-04-30 17:15:30 +02:00
Léa Saviot
c388d9bb4c [apps/hardware_test] No black screen in LCDDataOK 2019-04-30 17:15:30 +02:00
Léa Saviot
f32e35c7a8 [apps/on_boarding] Faster LCDData test in POST 2019-04-30 17:15:30 +02:00
Émilie Feral
7d71ea87b0 [kandinsky] Color: improve Orange color 2019-04-30 16:31:44 +02:00
Émilie Feral
53f0500c3b [ion] N0200: linker script: add missing internal flash symbols
required when LTO is used.
2019-04-30 16:22:47 +02:00
Émilie Feral
15977504f6 [ion] N0200: improve code spliting between internal/external flash
Part III: split suspend in two methods: one executed from the external
flash, one executed from the internal flash. This avoids to force many
functions to be linked in the internal flash.
2019-04-30 15:48:27 +02:00
Émilie Feral
75582b59c8 [ion] Power: remove useless initClocks 2019-04-30 15:48:27 +02:00
Émilie Feral
ea104cff9f [ion] N0200: improve code spliting between internal/external flash
Part II: split standby in two methods: one executed from the external
flash, one executed from the internal flash. This avoids to force many
functions to be linked in the internal flash.
2019-04-30 15:48:27 +02:00
É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
e7d2c61cec [apps/regression] Increase the iterations limit to compute a regression
The exponential regression on the following data now works:
1 120000
3 130000
6 150000
8 160000
2019-04-29 17:24:53 +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
Romain Goyet
8308068b69 [apps/code] Add catalog entry for kandinsky.fill_rect 2019-04-26 17:44:27 +02:00
Romain Goyet
42f72eee77 [python/kandinsky] draw_string takes two optional colors (text/bg) 2019-04-26 17:44:27 +02:00
Romain Goyet
ec50e75a3a [python/kandinsky] Bubble-up input errors before switching to draw mode 2019-04-26 17:44:27 +02:00
Romain Goyet
926b96cafb [python/kandinsky] Expose the fill_rect method
Which allows for *much* faster graphics
2019-04-26 17:44:27 +02:00
Romain Goyet
bb89ae9211 [python/kandinsky] Color can now be passed as a tuple
The values are expected to be integers between 0 and 255
2019-04-26 17:44:27 +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