Commit Graph

4052 Commits

Author SHA1 Message Date
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
É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
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
É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
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
Léa Saviot
b7fd109f93 [ion] Fix hexNumber().
Change-Id: Ic12e3f17ec5e6508613034c4b259eee2fd103be4
2018-04-10 10:17:21 +02:00
Léa Saviot
0e578fa0e6 [ion] Fix Ion::getSerialNumber for simulator.
Change-Id: Id6a616695bc43718751a3e3861d0410aa0b35416
2018-04-09 16:30:51 +02:00
Léa Saviot
0419713de0 [ion/usb] Remove Ion::USB::removeSoftDisconnect()
Change-Id: I02268dc52aefa9d9d90ed559757f005af49f4732
2018-04-09 15:36:44 +02:00
Léa Saviot
0e977bac00 [ion] Use dummy usb.cpp in simulator.
Change-Id: Id7f0e110a661372702d550883b6d341c1b5915d4
2018-04-09 15:35:50 +02:00
Romain Goyet
b691d3d6ed Merge branch 'usb' 2018-04-09 14:48:18 +02:00
Léa Saviot
3e66d51a6e [apps/sequence] Reset first rank when changing sequence type to Explicit
Change-Id: I3f356ebf95f1f81ab4601f0654166f146a505c27
2018-04-09 14:44:20 +02:00
Romain Goyet
8745a258d4 Remove un-needed headers
This fixes some heavily-parallels build failures
2018-04-09 14:43:35 +02:00
Romain Goyet
55e4c955f4 Upgrade to MicroPython 1.9.3 2018-04-09 14:43:15 +02:00
Émilie Feral
31f79c702a [apps] Code: when updating a script name, handle the event 'clear' to
keep '.py'
2018-04-09 14:42:45 +02:00
Émilie Feral
b714d9242e [apps] Code: when in input loop, handle 'up' event 2018-04-09 14:42:26 +02:00
Romain Goyet
256ef9a5c6 [ion] Don't call KDColorYellow which doesn't work on the flasher 2018-04-09 14:04:09 +02:00
Romain Goyet
d0dff5e7fe [ion] The flasher starts on a yellow screen 2018-04-09 13:37:11 +02:00
Romain Goyet
5155957c5a [ion] The bench starts on a white screen 2018-04-09 13:36:54 +02:00
Romain Goyet
4a19c79df8 [ion] Add a Print bench command 2018-04-09 13:36:36 +02:00
Romain Goyet
e543e83766 [usb/flasher] Enable USB before jumping in, correct keyboard logic 2018-04-09 11:57:17 +02:00
Romain Goyet
9aed025abc [usb] Calculator::PollAndReset can ignore the keyboard 2018-04-09 11:04:30 +02:00
Romain Goyet
6c33963e04 [usb] Don't exit from the flasher 2018-04-09 10:57:19 +02:00
Romain Goyet
0e1410932c [usb] Fix the build 2018-04-09 10:55:30 +02:00
Léa Saviot
332b0ffd6b [usb/flasher] Add flasher.exe and .bin to the products.
Change-Id: I7061342c70c679e1c1b1dc81f56797d5a48514f3
2018-04-09 10:52:45 +02:00
Léa Saviot
3e0a1959e9 [usb] Only build the flasher if EPSILON_USB_DFU_XIP and
EPSILON_DEVICE_BENCH

Change-Id: I2b93668d07b85c8b33857f2b1652b1a4176bb804
2018-04-09 10:52:39 +02:00
Léa Saviot
b807938031 [ion] Add EPSILON_DEVICE_BENCH
Change-Id: I58de053755305fc610c410a139572f2d0eee2a2d
2018-04-09 10:52:32 +02:00
Léa Saviot
1378c77907 [usb] Move usb_dfu_* files into the usb/ subfolder
Change-Id: I1d1e99295adc9b7f44c2d3f0dba4cd8b49dc3b3c
2018-04-09 10:52:16 +02:00
Léa Saviot
68bdb7ff58 [usb] Unlock the flash only if it is locked.
Change-Id: I0cfc34fc158c8babb025b143fc77f4d64440876e
2018-04-09 10:51:07 +02:00
Léa Saviot
1d21b4ed9e [python] Remove un-necessary dependencies.
Change-Id: Ib3542c364ae8f670372cc848f6b59d7c7364817d
2018-04-09 10:50:51 +02:00
Léa Saviot
d0c7f94dba [usb-flasher] Recognize our flasher when running make *_flash
Change-Id: Icc5f3044b58efb7910547ca84d7780f55dbc3b4d
2018-04-09 10:50:45 +02:00
Léa Saviot
fc2c975623 [usb-flasher] Create a standalone DFU .bin.
Change-Id: I34e87b66cc51f4e6f4578c8efc7a510ee08cd138
2018-04-09 10:50:28 +02:00
Léa Saviot
bc9a7ec3f7 [apps/on_boarding] Fix Deutsh message for update.
Change-Id: Iced13c5d02ade43db62725a0a4911d2225b0c343
2018-04-06 14:31:49 +02:00
Léa Saviot
898d82532b [apps/usb] Translate "Calculator connected" message.
Change-Id: I225c262ab1af41becb47e29cde0e0a8b4ed97298
2018-04-06 14:31:49 +02:00