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
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
Léa Saviot
93744b9844
[apps/on_boarding] Fix typo in spanish update message.
...
Change-Id: I1389651a6872d0f85523bce82a31b762e642199a
2018-04-06 14:31:49 +02:00
Léa Saviot
49e1e56abe
[ion] Add dummy USB functions
...
Change-Id: Id67dd947997a2812dd718fdf1ded2f3a2b68ff48
2018-04-06 14:31:49 +02:00
Léa Saviot
50cc2a310b
[apps] MessageView for OnBoarding update and USBConnected controllers
...
Change-Id: I3a775a81a62c408c9d02d98be25518d03fe5f9bf
2018-04-06 14:31:49 +02:00
Léa Saviot
3059f27c00
[apps/code] Remove un-necessary dependency.
...
Change-Id: I65a7b81b44aa1be6ff064e8fde0af23760fb5d7d
2018-04-06 14:31:49 +02:00
Léa Saviot
f9717a38ce
[usb] Lower power consumption.
...
Change-Id: I3822a6dec193c04ef297bdd47f02f84f61c36094
2018-04-06 14:31:49 +02:00
Léa Saviot
fa0530a5f0
[usb] ShutdownOTG.
...
Change-Id: Id2fd4d978ce5d273cb4b67b8bb5b3343c7184377
2018-04-06 14:31:49 +02:00
Léa Saviot
b2f9c4c0c9
[usb] Better comments in usb.cpp
...
Change-Id: I81074c755e2e192a1c82bfabf26ca601a6162bd8
2018-04-06 14:31:49 +02:00
Léa Saviot
61e880935a
[usb] Add comment in InterfaceDescriptor
...
Change-Id: I8e20edd31577b7608a2fd28234787204a0fac7e4
2018-04-06 14:31:49 +02:00
Léa Saviot
6062886ed7
[usb] Better comment for needed alternate interface Descriptor.
...
Change-Id: Ide46d7ecd1259dc200d491eac309e7b15b5a60e8
2018-04-06 14:31:49 +02:00
Léa Saviot
55c8304689
[usb] Fix bmAttributes of DFUFunctionalDescriptor.
...
Change-Id: I0d793332a33a4380ad2dec8036d7a52050b91d36
2018-04-06 14:31:49 +02:00
Léa Saviot
4bd0ab3edd
[Makefile] Fix verbose.
...
Change-Id: I629d1b6eac0682d7c7de82f5ba7c90b3ebcfef13
2018-04-06 14:31:49 +02:00
Léa Saviot
cf1907ca5e
[ion] Discard un-needed sections in DFU linker script.
...
Change-Id: I1c1c44675a5c1849dc4270673d305abc82d29c48
2018-04-06 14:31:49 +02:00
Léa Saviot
24dd554aee
[usb] Set the bcdDevice to 1.00
...
Change-Id: I21bc05cc7d9084b3c43c7b19caccc8bb06bbc73b
2018-04-06 14:31:49 +02:00
Léa Saviot
55d56b3927
[usb] Send real serial number in the device descriptor.
...
Change-Id: Ie64f2a0fb03913600c96986dab8171afaa6bf05b
2018-04-06 14:31:49 +02:00
Léa Saviot
0441fa5119
[usb] Fix rad/deg that did not appear when plugging USB while onboarding
...
Refresh the apps container preferrences before on-boarding app: this
way, if the calculator is plugged during the onboarding, the
"deg/rad" symbol will still appear after the calculator in unplugged.
Change-Id: Iafa6a94ba725285712e86ab37c8dde54b46d3706
2018-04-06 14:31:49 +02:00