Commit Graph

4113 Commits

Author SHA1 Message Date
Émilie Feral
31801ac20c [poincare] Power: do no simplify Power whose result is too big (fix bug
1.00666666666667^60 = undef)
2018-05-15 11:03:11 +02:00
Émilie Feral
0bc2594489 [ion] Storage: deferencing nullptr? 2018-05-15 11:02:35 +02:00
Romain Goyet
4718fbe64e [ion/device] Fix the flasher bridge 2018-05-11 16:43:16 +02:00
Romain Goyet
6b31f47a08 [travis] Run the integration tests on blackbox 2018-05-11 16:43:04 +02:00
Romain Goyet
1496ec3a72 [blackbox] add a make epsilon_fuzz target 2018-05-11 16:43:04 +02:00
Romain Goyet
a92f44b666 [blackbox] Add the option to run all the integration tests 2018-05-11 16:43:04 +02:00
Romain Goyet
f8f9cee082 [tests] Add some integration scenarios 2018-05-11 16:43:04 +02:00
Romain Goyet
a38369aa98 [ion] Revert blackbox's object list 2018-05-09 18:11:45 +02:00
Romain Goyet
0f02483a36 [ion] Build libepsilon as an object file 2018-05-09 18:11:45 +02:00
Romain Goyet
aad95380f5 [ion] Multithreaded framebuffer comparison 2018-05-09 18:11:45 +02:00
Romain Goyet
806b87ef36 [ion] Add the ability to build blackbox as a shared library 2018-05-09 18:11:45 +02:00
Romain Goyet
49e1b0e373 [ion/device] Give an opportunity to slow down the whole machine 2018-05-09 17:52:09 +02:00
Romain Goyet
324ff8277b [ion/device/display] Always use send_data/send_command functions
Wrap all accesses to DataAddress and CommandAddress into 3 functions
2018-05-09 17:52:09 +02:00
Romain Goyet
c091d1f59d [apps/code] Add an EditorView that has a gutter 2018-05-09 17:46:09 +02:00
Romain Goyet
daee2998c5 [escher] Add a ScrollViewDelegate 2018-05-09 17:46:09 +02:00
Romain Goyet
7851aa6fff [ion/device] Remove useless delays in the Flash operations
The datasheet advises to wait for BSY to be cleared before performing
any operation on the Flash. That being said, in the only two cases where
BSY could be set in the first place (writing to or erasing the flash),
we already wait for it to be cleared. There's therefore no need to
double check it afterwards.
2018-05-09 11:03:01 +02:00
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