Ruben Dashyan
9489911eb3
[ion/device] External flash: include alternate bytes in Quad-SPI instructions
2019-01-09 12:07:41 +01:00
Ruben Dashyan
4f5f3952d5
[quiz] Fix quiz_print to fit screen height
2019-01-09 12:07:41 +01:00
Ruben Dashyan
de424ace3c
[ion/device] Optimize external flash initQSPI
2019-01-09 12:07:41 +01:00
Ruben Dashyan
36c9966419
[ion/device] External flash: SetReadParameters (dummy cycles) according to clock frequency
2019-01-09 12:07:41 +01:00
Ruben Dashyan
534b6b7816
[ion/device] External flash: add constexpr ClockFrequencyDivisor
2019-01-09 12:07:41 +01:00
Ruben Dashyan
6555277995
[ion/device] Define GPIO OSPEEDR register
2019-01-09 12:07:41 +01:00
Ruben Dashyan
9c9ece40b4
[ion/device] Add external flash tests
2019-01-09 12:07:41 +01:00
Ruben Dashyan
cfe2ce731f
[ion/device] Access external flash through DFU
2019-01-09 12:07:41 +01:00
Ruben Dashyan
300ba9cf67
[ion/device] External flash: replace nullptr address by an out-of-range address
2019-01-09 12:07:41 +01:00
Ruben Dashyan
cce2eaa228
[ion/device] External flash erase routines
2019-01-09 12:07:41 +01:00
Ruben Dashyan
46707b294a
[ion/device] Add explanatory comments to external flash
2019-01-09 12:07:41 +01:00
Ruben Dashyan
d55a86f909
[ion/device] External flash WriteMemory
2019-01-09 12:07:41 +01:00
Ruben Dashyan
db91e8b404
[ion/device] Convert external flash addresses from uint32_t to uint8_t *
2019-01-09 12:07:41 +01:00
Ruben Dashyan
ffc4f28fb9
[ion/device] Fast Read external flash in QPI mode
2019-01-09 12:07:41 +01:00
Ruben Dashyan
db2193b8ef
[ion/device] Fast Read external flash in SPI mode
2019-01-09 12:07:41 +01:00
Ruben Dashyan
ee302e8413
[ion/device] Add dummyCycles parameter for ExternalFlash commands
2019-01-09 12:07:41 +01:00
Ruben Dashyan
1feb82e345
[ion/device] Read Data from external flash in memory-mapped mode
2019-01-09 12:07:41 +01:00
Romain Goyet
8a0572a3d3
[ion/device] Clean the external flash init code
2019-01-09 12:07:41 +01:00
Ruben Dashyan
0418cbeaeb
[ion/device] Start implement external flash API
2019-01-09 12:07:41 +01:00
Ruben Dashyan
962e340689
[ion/device] Add QuadSPI regs
2019-01-09 12:07:41 +01:00
EmilieNumworks
bfb5826a1d
Merge pull request #748 from boricj/python_turtle
...
[python] Turtle module
2019-01-08 14:58:09 +01:00
Léa Saviot
4f4ae4e0f7
Merge branch 'master' into python_turtle
2019-01-08 14:32:43 +01:00
Léa Saviot
58f94f5e5f
[apps/code] Check that app can be exited before switching to DFU
...
This fixes the following crash: create a script which contains only
"input()". Execute it, then while in the input, plug in the calculator.
When un-plugging it, the device crashes.
2019-01-07 13:36:01 +01:00
Léa Saviot
1782326ed8
[apps/code] Clean ConsoleController code
2019-01-07 13:36:01 +01:00
Léa Saviot
33072eb9b1
[apps/code] Add some comments
2019-01-07 13:36:01 +01:00
Léa Saviot
8830821d0e
[apps/code/python] Inline and indent some code
2019-01-07 13:36:01 +01:00
Léa Saviot
9b07f1936e
[apps/code] Squares script template: start by resetting the turtle
2019-01-03 15:28:55 +01:00
Léa Saviot
384fa04798
[apps/code] Change the default scripts: squares instead of factorial
2018-12-27 17:21:10 +01:00
Léa Saviot
03f300a754
[python/turtle] Add showturtle and hideturtle to the toolbox
2018-12-27 17:09:45 +01:00
Léa Saviot
df2b9c4d81
[escher/apps] Get children count via template in ToolboxMessageTree::Node
2018-12-21 13:29:32 +01:00
Léa Saviot
c2dbe9f7cc
[python/turtle] Fix line drawing glitches
2018-12-21 11:57:36 +01:00
Léa Saviot
5a941bc1d5
[python/turtle] Clean circle code
2018-12-21 11:57:09 +01:00
Léa Saviot
216b16fc11
[apps/shared] Increase memoized heights count in StorageExpModelListCtrl
2018-12-20 14:51:51 +01:00
Léa Saviot
13419f434f
[apps/shared] Memoize in StorageFuncListCtrl::indexFromCumulatedHeight
2018-12-20 14:51:51 +01:00
Léa Saviot
6740198e06
[apps/shared] Constexpr reset value in storage_expr_model_list_ctrlr
2018-12-20 14:51:51 +01:00
Léa Saviot
56504525c9
[Makfile] Remove superfluous test_objs
...
We now build all objects even for test, so we do not need most of the
previous test_objs
2018-12-19 09:44:58 +01:00
Léa Saviot
5498c84ed7
[apps/regression] Add tests about regression navigation
2018-12-19 09:44:58 +01:00
Léa Saviot
f6a5759a16
[poincare] Fix the replacement of unknowns in the storage
...
In the Graph app, define f(x) = cos(x) and g(x)=diff(f(x),x,x).
The graph and table are perfectly computed, but in the Calculation apps,
g(5) fails.
2018-12-19 09:40:37 +01:00
Léa Saviot
de6646a0ae
[build/emscripten] Add turtle symbols to the whitelist
2018-12-18 12:05:51 +01:00
Léa Saviot
4b306791c0
[python/turtle] Turtle::m_drawn is false if sandbox not displayed
...
This way, Turtle::draw() and erase() are more symetrical and no not
perform themselves if the turtle is already drawn / erased.
2018-12-18 12:05:46 +01:00
Émilie Feral
ec08f027c0
[poincare] Revert: Use Simplify instead of Reduce II
...
To approximate an expression, it is more precise to
approximate its simplified form than its reduced form. Indeed, we want
to minimize the number of nodes in the expression before approximating.
For instance, a/b has fewer nodes than a*b^-1.
2018-12-18 10:46:20 +01:00
Émilie Feral
78e4c9066f
[shared] Revert: Use Simplify instead of Reduce
...
To approximate an expression, it is more precise to
approximate its simplified form than its reduced form. Indeed, we want
to minimize the number of nodes in the expression before approximating.
For instance, a/b has fewer nodes than a*b^-1.
2018-12-18 09:39:43 +01:00
Émilie Feral
9a254eb78b
[poincare] Fix Integer approximation
...
Take into accound the sign even if the approximation is infinite
2018-12-18 09:34:15 +01:00
Émilie Feral
90fa6f0850
[poincare] Fix Integer::approximate
...
Take the sign into account even for infinite values
2018-12-17 17:04:31 +01:00
Léa Saviot
ed19d19070
Merge branch 'master' into python_turtle
2018-12-17 15:49:46 +01:00
Léa Saviot
ad745f7114
[python/turtle] Add speed() methods without args
2018-12-17 15:40:34 +01:00
Léa Saviot
101370c507
[escher] Change ToolboxMessageTree constructors
...
To simplify ToolboxMessageTree cosntruction
2018-12-17 15:27:38 +01:00
Léa Saviot
62de89ceba
[apps/code] Fix 'blue', 'red', ... python command insertion
...
The 'blue' command would be stripped and become ''.
2018-12-17 14:25:31 +01:00
Léa Saviot
b3c11f2425
[apps/code] Put turtle module higher in Python toolbox
2018-12-17 13:58:13 +01:00
Léa Saviot
b058b023db
[apps/code] Add turtle functions in the toolbox catalog
2018-12-17 13:58:13 +01:00