Commit Graph

7625 Commits

Author SHA1 Message Date
Léa Saviot
f1849cf17e [usb] Invalid data and instruction caches after locking Flash
Change-Id: I154ef581a640b41c7f9815e0aae7035f7bbefe8a
2018-04-16 10:48:11 +02:00
Léa Saviot
e846e31029 [usb] Clear interrupt on "false" ENUMDNE
Fixes a bug where the device would not get enumerated even if the plug
state was detected (an ENUMDNE interrupt had not been cleared, thus the
new enumeration attempt was not detected).

Change-Id: I19622221fc077965ed3cab5322944e4c2c89fde4
2018-04-16 10:48:11 +02:00
Léa Saviot
37a699f1ab [usb] Clearer USBEnumeration event detection.
Change-Id: I5c15f7cda6fc7132392423ef34beed135b9981ab
2018-04-16 10:48:11 +02:00
Léa Saviot
d2f551a818 [usb] Add waiting before writing on the FLASH.CR register
Change-Id: Ie3dcbe14e031b7149f31c145cf69773b1ece5c26
2018-04-16 10:48:11 +02:00
Romain Goyet
21b5e898c3 Enable the urandom module in mpconfigport.h, not in uPy
Otherwise it breaks when upgrading uPy. Faulty commit 4011290.
2018-04-13 09:39:14 +02:00
Léa Saviot
e90b3fd1cd Merge branch 'SaisieJolieMerge10Apr' into SaisieJolieMerge11Apr (master)
Change-Id: I06732115ee37ffd9a037a8412e1c57751dfb3e0f
2018-04-12 09:58:09 +02:00
Léa Saviot
0fcd2a90f6 [apps] Fix comment aesthetics
Change-Id: I3e91391f0751515efe50ec4e4335a2421f2acbee
2018-04-11 17:11:05 +02:00
Léa Saviot
88aaab64ba [apps] Fix obsolete code in Code and Shared
Change-Id: Ie6ce0f753bf05cb5f6dd5ed974db2a715b21624e
2018-04-11 17:10:09 +02:00
Léa Saviot
749c93e1af [apps/sequence] Fix obsolete code.
Change-Id: I4f6c1792ac245c072a3d70108a55518473c3fe80
2018-04-11 16:56:35 +02:00
Léa Saviot
5984b24107 [apps] Remove obsolete StringLayout.
Change-Id: Ib8ef9f6b89ead2674b3bc1f19131afdd73f0e823
2018-04-11 16:53:38 +02:00
Émilie Feral
774cd3545b Makefile: Version 1.4.0 2018-04-11 16:25:17 +02:00
Romain Goyet
5b98f495db [emscripten] Fix simulator build 2018-04-11 16:14:49 +02:00
Émilie Feral
d9de44a28f Merge branch 'master' of ssh://git.numworks.com/Epsilon 2018-04-11 16:11:15 +02:00
Émilie Feral
934e8feca5 [emscripten] Handle None event from SDL 2018-04-11 16:07:46 +02:00
Léa Saviot
d87e71d847 [usb] Use proper function to scan registers.
Change-Id: I37f0f8ce105c7791fa8890013d672cca7dff4126
2018-04-11 15:40:41 +02:00
Léa Saviot
555ced4941 [usb] If needed, reset the device inside Calculator::Poll
Change-Id: I2d9e2eef4e04b1042a2524a4267569324ad8bcce
2018-04-11 15:40:41 +02:00
Émilie Feral
b566676a76 [apps] Memoize matrix layout displayed in Variable box in global context 2018-04-11 11:53:52 +02:00
Romain Goyet
3613c45381 Merge branch 'master' of ssh://git.numworks.com/Epsilon 2018-04-11 11:01:47 +02:00
Romain Goyet
4c273e10e3 Merge branch 'master' of ssh://git.numworks.com/Epsilon 2018-04-11 11:01:38 +02:00
Léa Saviot
2a251626a6 [apps] When leaving USB mode, go to the last active app.
Change-Id: I4c6276525f119cdc9e45bac24629c6ec4ea7b0fe
2018-04-11 11:01:08 +02:00
Léa Saviot
44e8eb1285 [escher] EditableExpressionView, fix setEditing
It should only apply to the TextField or ScrollableExpressionViewWithCursor
depending on the edition mode.

Change-Id: I2ae4a3a4e956dc1d51729c9497642b9c236f9069
2018-04-11 10:42:20 +02:00
Léa Saviot
cbaba85daa [apps] Fix missing arguments in layout creation.
Change-Id: If819c6f8d067b80d5672774ca303b68e21cf0d7a
2018-04-11 10:41:28 +02:00
Léa Saviot
2146dd6422 [apps] Fix wrong method call
Change-Id: I2695d7c659f18edb1839cdf7c8282cc69862a4e5
2018-04-11 10:40:06 +02:00
Émilie Feral
53e56bcda8 [poincare] Characteristic range has to be positive 2018-04-11 10:39:12 +02:00
Romain Goyet
921dab4f6e Merge branch 'master' of ssh://git.numworks.com/Epsilon 2018-04-11 10:31:54 +02:00
Romain Goyet
8aef4d996c [python] Restore the should_interrupt routine 2018-04-11 10:27:18 +02:00
Léa Saviot
6d3c67e9db [apps] Merge apps/sequence/graph/term_sum_controller.cpp
Change-Id: I9cbcbb73f4f475590762e29ab98999bd42906e74
2018-04-11 10:21:25 +02:00
Léa Saviot
6ae9361b6e [apps/code] Fix all scripts deletion.
Change-Id: I802673f3d6a8ec6643e11c221bb6dbd5c8ab2ef2
2018-04-11 10:04:18 +02:00
Léa Saviot
28b9e8c301 [apps] If USB connection stops onBoardingApp, relaunch it when leaving USB.
Change-Id: I16274134699ff708bf61d64471f6a0ed870ec2ee
2018-04-11 09:54:44 +02:00
Romain Goyet
382537ccfe Merge branch 'github-master' 2018-04-10 18:28:15 +02:00
Léa Saviot
7991c5376f [apps] Fix typos
Change-Id: I650d0d98daab5959e9efab79b78905533316b85d
2018-04-10 18:14:55 +02:00
Léa Saviot
a6e6416e09 [poincare] Fix code typos
Change-Id: I02143e1b99d3cf2f4ced6954bf2e612542c01642
2018-04-10 18:03:40 +02:00
Léa Saviot
1c6e8119b3 [apps] Remove use of StringLayout
Change-Id: I4b8cac2fa778ebddb3e2b1f3f0f75182deb45a61
2018-04-10 18:03:19 +02:00
Léa Saviot
0e67cc6b11 [poincare] Add missing header
Change-Id: Ic0a90940b16a3d4c30c85e22fba9ab5d4f1006c8
2018-04-10 17:56:13 +02:00
Léa Saviot
6044ca8493 [poincare] Fix too many arguments problem
Change-Id: Ie3018b2b82f0c87b1551ab2bcd9c80bb41212ecb
2018-04-10 17:55:31 +02:00
Léa Saviot
9f9692b009 [poincare] Add numberOfSignificantDigits arguent in writetextInBuffer
Change-Id: I1bef3462dbdfd94bff0af0e9d569d0ecf63d157c
2018-04-10 17:55:20 +02:00
Émilie Feral
57d25293e3 [poincare] Avoid computing polynomial degree twice 2018-04-10 17:39:51 +02:00
Émilie Feral
92d2c42ff8 [apps] Code: allocate the indentation buffer instead of using an
arbitrary value
2018-04-10 17:39:34 +02:00
Léa Saviot
f504b52dac [poincare] Remove un-needed function typedef.
Change-Id: I36b17a1978f03e51064c8e11768dcc9fad5b9b35
2018-04-10 17:27:10 +02:00
Léa Saviot
ac84a2e045 [poincare] Fix EmptyExpression.
Change-Id: I317bbb546af5a42de3c896b2e9a92a8040a95d22
2018-04-10 17:26:49 +02:00
Léa Saviot
c4b5d4cf40 Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02:00
Romain Goyet
1b8123e66a [ion] Error-out on any global variable that needs a constructor 2018-04-10 15:09:30 +02:00
Romain Goyet
628992680b [ion] Ion::Storage is not a global variable anymore 2018-04-10 15:09:30 +02:00
Romain Goyet
5b379010d8 [apps] Don't make the apps_container_storage a global variable 2018-04-10 15:09:30 +02:00
Romain Goyet
73af1a3d36 [poincare] Don't make Preferences::s_preferences a global variable 2018-04-10 15:09:30 +02:00
Romain Goyet
7de609028c [poincare] Don't make Integer::k_primorial32 a global variable 2018-04-10 15:09:30 +02:00
Romain Goyet
c090e2aa13 [ion] Remove useless macros 2018-04-10 15:09:30 +02:00
Romain Goyet
e072630437 [ion] Get rid of FORCE_LINK 2018-04-10 15:09:30 +02:00
Léa Saviot
f0532b7f97 [apps] Dismiss the Exam mode before connecting the calculator.
Change-Id: If9754841aaa17c677a451387c8c7ec43926890da
2018-04-10 11:30:15 +02:00
Émilie Feral
a9e8cc3f35 [poincare] fix characteristicXRange to take into account radian unit 2018-04-10 11:26:43 +02:00