Commit Graph

35 Commits

Author SHA1 Message Date
Léa Saviot
caa0795713 [simulator] Coding style 2019-01-21 12:10:37 +01:00
Romain Goyet
ddf2457ce7 [ion/timing] Fix some typos 2018-11-15 16:44:06 +01:00
Romain Goyet
07a768ace6 [ion/timing] Use explicit integer types 2018-11-15 15:18:19 +01:00
Damien Nicolet
24630011b1 [code] keep only CPython equivalent functions in utime module 2018-11-10 00:00:03 +01:00
Damien Nicolet
4640b67bc8 [ion] add missing ussleep function 2018-11-09 02:14:20 +01:00
Damien Nicolet
9b818bd963 [ion] fix sleep functions in emscripten build 2018-11-09 01:36:38 +01:00
Damien Nicolet
f93bf97182 [ion] Sharing millis & micros for blackbox and simulator 2018-11-09 01:30:22 +01:00
Damien Nicolet
c0c0905b84 [ion] millis() and micros() returns uint32_t and are defined in their own header 2018-11-09 01:30:22 +01:00
Damien Nicolet
940270e78a [ion] add millis() and micros() using systick on device 2018-11-09 01:30:22 +01: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
Léa Saviot
0e578fa0e6 [ion] Fix Ion::getSerialNumber for simulator.
Change-Id: Id6a616695bc43718751a3e3861d0410aa0b35416
2018-04-09 16:30:51 +02:00
Jacob Young
adc41fc240 I hate to do this, but a better solution will have to wait for a different PR. 2018-01-16 09:59:49 +01:00
Jacob Young
115f75c06a Fix #8 with a custom getEvent for the simulator. 2018-01-16 09:59:49 +01:00
ydupas
8741e4d116 Fix: invalid characters on windows simulator #240 2017-12-06 13:36:54 +01:00
Jacob Young
d21d5594f9 Fix #7 fix #11 by using millisecond units in msleep (microseconds would be in usleep). 2017-08-30 03:42:14 -04:00
Romain Goyet
e19b2b9085 [ion] Add a Display::waitForVBlank method
Change-Id: Ie744ec4a73eeb7c2d7c549fd7f47ff4c74aab5ee
2017-04-10 15:29:18 +02:00
Émilie Feral
7091b2ea35 [ion] Add software version, patch level and serial number
Change-Id: I011eeb2d8596f63e0c2fdedf353d544dc8a8a202
2017-04-04 14:18:11 +02:00
Romain Goyet
a85158d4ce [ion] Introduce Ion::Keyboard::State
Change-Id: I8da2814365391c3c23f2011f92532269b7a4381d
2017-03-30 17:48:14 +02:00
Romain Goyet
9b2fecfb12 [ion] Add Ion::usleep
Change-Id: Ife70133410e55c3f0af9a838543042a3da618119
2017-01-05 16:00:01 +01:00
Romain Goyet
753a4a7cb5 [Ion] Move to C++
Change-Id: Id75fca5e92a3fdf18258015bcda7cd70297b0fdb
2016-08-23 16:30:15 +02:00
Romain Goyet
2eeec9e929 [ion] Clean ion_sleep
Change-Id: Ib71e7e535ecd2ee572d09f2e64f2cba9368c614f
2016-08-18 16:45:36 +02:00
Romain Goyet
5de28e01db Migrate Kandinsky to C++
Change-Id: I2752a8db84ad0bb817119cf6c2993c1622621150
2016-07-21 13:42:32 +02:00
Romain Goyet
30aa62e3c5 Escher: Introduce the TiledView
Change-Id: I97d612cf89bd9cf45f8b440881918b9626cd65f6
2016-07-21 11:32:33 +02:00
Romain Goyet
8e4b1666bb Kandinsky: KDFillRect takes a pattern, always
Change-Id: I32113345d742f21c0e238c1707bcee0116694d6f
2016-07-05 13:32:47 +02:00
Romain Goyet
e10f688124 ION: Use a color framebuffer on the simulator
Change-Id: Ie7aeb91b07295774bfbdb77e1e08ac744693c193
2016-06-16 11:30:16 +02:00
Romain Goyet
80296e6448 Escher: use ion_fill_rect
Change-Id: Ibedac8cb7da905d5cfada6dbbce46cac4bab2eae
2016-06-10 18:30:19 +02:00
Romain Goyet
ac4660bf3b ION: SCREEN_WIDTH becomes ION_SCREEN_WIDTH
Change-Id: Ifc7d06b773f8660cff30e727f510eea448b23852
2016-06-10 17:32:31 +02:00
Romain Goyet
7a389ca11b ION: Clean the st7789 driver
Change-Id: I706768fc49cb48ea3d965807efc0c6c825d96683
2016-06-10 17:16:19 +02:00
Felix Raimundo
2818b7f907 Remove annoying fltk warning...
Change-Id: If1294a0f9c7c414c9ae162e0239a40ea51bbaafc
2016-04-18 18:48:56 +02:00
Felix Raimundo
ecab47b1e4 Fix bad assert.
Change-Id: Id9c6b9d100a978df8e25758d84f828ab31babe3d
2016-04-08 13:43:57 +02:00
Felix Raimundo
411e983ccf Final pass at removing the warnings.
Change-Id: I4cd0276c97112e69fe2449c8db5eaaa1c186dfb6
2016-03-23 11:42:32 +01:00
Felix Raimundo
2778ccea11 Use the same macro for the screen size.
The screen size used to be defined by the framebuffer size, this was weird,
the creen size can be defined in the makefile if needed (in order to have different one for
different targets)

Change-Id: Ie294fba5f6cf5e942b4b35847ae8ccd18d3ddf85
2016-03-22 18:39:59 +01:00
Romain Goyet
84b07546f3 [ion] Nicer layout of the simulator 2015-09-19 23:02:00 +02:00
Romain Goyet
96b46818ac [ion] Clean the simulator 2015-09-19 18:59:36 +02:00
Romain Goyet
1e4c5cdc0a [ion] cleanup 2015-09-19 11:01:38 +02:00