Romain Goyet
306904aec2
[ion/device] Proper flash cache flushing ( fix #439 )
2018-05-09 11:03:01 +02:00
Romain Goyet
26edd70bd7
[ion] Re-enable the Flash I/D cache after flushing it
2018-05-09 11:03:01 +02:00
Romain Goyet
6556751d59
[ion] Use a distinct Device::Flash namespace
2018-05-09 11:03:01 +02:00
Émilie Feral
aefcf5262d
[apps] On a plugging event, the brightness is set a its prefered level instead
...
of the maximum level
2018-05-09 09:51:14 +02:00
Émilie Feral
7bc5142c8f
[hardware test] Avoid passing battery test if the level is "somewhere in
...
between"
2018-05-09 09:50:56 +02:00
Émilie Feral
71b972ceb1
[sequence] Decrease sequence graph resolution (2 dots per pixel instead
...
of 5)
2018-05-08 14:45:23 +02:00
Émilie Feral
8a6c06367e
[home] Fix number of rows instead of fixing number of columns
2018-05-08 14:44:54 +02:00
Romain Goyet
1785288e19
[ion] Clean an unused file
2018-05-08 14:31:35 +02:00
Romain Goyet
bc3c517084
[ion] Discard useless small file
2018-05-08 14:31:35 +02:00
Romain Goyet
f4c5e4b701
[ion] Remove unneeded files
2018-05-08 14:31:35 +02:00
Romain Goyet
6d214a79b4
[ion] Sort the device/usb folder
2018-05-08 14:31:35 +02:00
Romain Goyet
3e57d75a71
[ion] Add a VBLANK command to the bench
2018-05-08 14:16:18 +02:00
Romain Goyet
a6cc87183e
[ion] Tell when on the bench
2018-05-08 14:16:18 +02:00
Léa Saviot
4d259442b5
[build/ion] Remove code used for debug.
...
Change-Id: I41802f79e7103204991edf38dff94b1c0a3a23ea
2018-05-08 14:13:34 +02:00
Léa Saviot
4a0fe345e2
[ion/dfu_interface] De-activate Flash Programming after write operations
...
Change-Id: I2a9395a4f7f6e70f0d7981ed07684f230678c212
2018-05-08 10:55:40 +02:00
Léa Saviot
c59778a01e
[ion/dfu_interface] Check BSY bit before each CR register access
...
Change-Id: I4999906c694fed30e6101c8c5e1f33f1957db397
2018-05-08 10:55:40 +02:00
Jean-Baptiste Boric
92b9fc53f3
Use saner default debug flags
2018-05-07 21:05:30 +02:00
Émilie Feral
67cfb93987
[poincare] PrintFloat: fix error due to float/double prevision
...
floor(abs(100000))*pow(10,-5)= 0.9999999 instead of 1
2018-05-04 17:32:23 +02:00
Romain Goyet
a29c775663
[ion] Encode the serial number in Base64
...
Also, expose serialNumber() in Ion and keep "copySerialNumber" in
Ion::Device. This allows the DFU bootloader to remain .bss-free.
2018-05-04 17:31:41 +02:00
Émilie Feral
11ae2da6c5
[poincare] Fix tests: randint(a,b) might return b
2018-05-04 17:28:27 +02:00
Romain Goyet
5d9f66df28
[hardware_test] Get rid of the USB step
2018-05-04 17:04:24 +02:00
Romain Goyet
aa776be032
[hardware_test] Get rid of the reset step
2018-05-04 17:04:24 +02:00
Romain Goyet
339ec330c1
[apps] Don't SU prompt in the hardware test
2018-05-04 17:04:24 +02:00
Romain Goyet
71f9ce3b67
[hardware test] Use a BankViewController
...
And add a SerialNumberController
2018-05-04 17:04:24 +02:00
Romain Goyet
69545b9cf9
[apps] Handle Ion::Events::USBPlug in processEvent
...
This gives apps a chance to catch this event. This is used in the
hardware test.
2018-05-04 17:04:24 +02:00
Romain Goyet
29aca1a7dc
[escher] Add a BankViewController
2018-05-04 17:04:24 +02:00
Romain Goyet
84561a929f
[escher] Clean the ScrollView, TableView and SelectableTableView constructors
2018-04-18 18:08:07 +02:00
Émilie Feral
c934eab947
[emscripten] Add white-listed symbols
...
When input() is called in a script, it will happen at script
importation and thus requires more white-listed symbols.
2018-04-18 11:20:39 +02:00
Émilie Feral
235ec73e8e
[emscripten] Fix alignment issue
...
Emscripten expects 32 and 16-bit memory accesses to be aligned.
2018-04-18 11:20:39 +02:00
Romain Goyet
5744c010a4
[emscripten] Add more debug flags
2018-04-18 10:04:18 +02:00
Romain Goyet
2f1ebf7310
[emscripten] Work around alignment issues
...
Emscripten expects 32 and 16-bit memory accesses to be aligned.
This happens automatically most of the time, but in the case of our
Storage class, where we happen to read uint16_t out of a char array,
memory accesses might not be aligned. In that case, we rebuild the
uint16_t manually out of two bytes.
2018-04-18 10:04:18 +02:00
Romain Goyet
c4330ae7b1
Use <span> instead of <a> for the keys
...
Indeed, a keypress on the Enter key submits the last active links,
resulting in double inputs.
2018-04-18 10:04:18 +02:00
Émilie Feral
f12c1b8511
Makefile: Version 1.4.1
2018-04-16 10:56:39 +02:00
Léa Saviot
65744cb9f4
[ion] Fix SRAM end address.
...
Change-Id: If4fbadd42ffbc8868112f1f2b7cfb97266cbf974
2018-04-16 10:48:11 +02:00
Léa Saviot
ee6997a07d
[usb] Implement jumpReset in assembly.
...
This avoids unwanted stack modifications emited by the compiler.
Change-Id: I2a2a13ee5395b95ed676f6634be86eeb148d55fd
2018-04-16 10:48:11 +02:00
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
É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