Commit Graph

44 Commits

Author SHA1 Message Date
Émilie Feral
7091b2ea35 [ion] Add software version, patch level and serial number
Change-Id: I011eeb2d8596f63e0c2fdedf353d544dc8a8a202
2017-04-04 14:18:11 +02:00
Émilie Feral
4e920d2a6c [apps/hardware_test] Add LED test
Change-Id: I998074b74357f76a624962bfa274ebf7a10ac0fc
2017-04-03 14:04:13 +02:00
Émilie Feral
7d39182aeb [apps/hardware_test] Add a battery level and a charging state indicators
Change-Id: Ibb0534d8b1eb69b03703147ae0030a8010ea9c8f
2017-04-03 10:10:21 +02:00
Romain Goyet
a85158d4ce [ion] Introduce Ion::Keyboard::State
Change-Id: I8da2814365391c3c23f2011f92532269b7a4381d
2017-03-30 17:48:14 +02:00
Émilie Feral
8559e43061 [ion] implement battery level for device and simulator
Change-Id: I6983132f25408805971a495d4a8b3d3e029d3a55
2017-03-28 14:49:27 +02:00
Romain Goyet
e7be0bbcae [ion] Add stdio console
Change-Id: If608587fb88912c887a26fb1ba729740357d39c9
2017-03-17 16:00:53 +01:00
Romain Goyet
bfab275a88 [ion] Get rid of log
Change-Id: Icf37d4cedb1cc3ffbc9e020cdb7b4a89d543aa23
2017-03-17 16:00:47 +01:00
Romain Goyet
809fd8a17a [ion] Ion::random()
Change-Id: Ib85055ab3b4bf3dfce991f9990659c744be20f39
2017-02-20 16:14:48 +01:00
Romain Goyet
a94e8c314f Simplify the makefile configuration
Change-Id: I826916e0d0b23f7429a66dfa7001b19dcc53080a
2017-02-16 11:00:17 +01:00
Romain Goyet
9b6b341c62 [ion] Clean the shared folder
Change-Id: I165135ec1600795266a331ee740e608be16c7933
2017-02-16 10:59:43 +01:00
Romain Goyet
6343a84735 [ion] Fix the C API
Change-Id: Ifbe11515171d7ee919f90fb28d63907c3c4cfd42
2017-02-14 11:24:47 +01:00
Romain Goyet
a56a2a060e [ion] Share the Ion::Power::suspend stub
Change-Id: I6a278547a5b5d5caec796ad53e88bca706cbcad3
2017-01-25 11:04:29 +01:00
Romain Goyet
025405d01d [ion] Add Ion::crc32
Takes only 32bit values. Uses non-reversed data/input

Change-Id: I8a776064af69047f7a8fa1399cf8a484f42b9b18
2017-01-06 17:22:29 +01:00
Romain Goyet
9b2fecfb12 [ion] Add Ion::usleep
Change-Id: Ife70133410e55c3f0af9a838543042a3da618119
2017-01-05 16:00:01 +01:00
Émilie Feral
1556ec3d2b [ion] adjust simulator to new keyboard
Change-Id: Ib0baddf88f74621c21276746161d2d0bdb68942e
2016-11-10 17:29:48 +01:00
Romain Goyet
3702af0f11 [ion] The shared routines are not always needed
Namely, the keydown to getevent routine should eventually not be shared

Change-Id: Ie3afabe9cc1cd7503dc3de06928471edd4f1f22b
2016-11-06 12:04:59 +01:00
Romain Goyet
973a013d8b [ion] Simulator uses the physical keyboard
Change-Id: I843faaa35931eae59bbe2d75eab36bc5820fb68e
2016-10-27 14:59:40 +02:00
Romain Goyet
831c42796b [ion] Add battery-related functions
Change-Id: Ib63b48140a8347d0d07902d956a3685fb040c481
2016-08-29 13:25:14 +02: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
Romain Goyet
c07ef9a3f6 Ion: Increase the number of keys to match NW8901
Change-Id: Iaad8bf8167cc53cbe9869997dbdecba91a1196cc
2016-06-10 15:46:14 +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
f334977c6a Nicer plot
Change-Id: I6f080a4c26ad8ce574661228a4d4b53632d2f870
2016-04-07 16:53:39 +02:00
Felix Raimundo
f9b7836e1e Add a delete button to the keyboard.
Change-Id: I10e57f19a7edfb4a59fb3c2f48bc0f8a8a58643f
2016-04-01 15:13:47 +02:00
Felix Raimundo
418d081f6e Add the trig menu.
Change-Id: Ifbe2518cb3a089dace82d56031987fbc7a2e6181
2016-03-29 13:41:36 +02:00
Felix Raimundo
411e983ccf Final pass at removing the warnings.
Change-Id: I4cd0276c97112e69fe2449c8db5eaaa1c186dfb6
2016-03-23 11:42:32 +01:00
Felix Raimundo
605dd9f372 Add memory_map for simulator.
Also use clang for the simulator building.

Change-Id: I87f5b938d9066375fbfabfdcdd3c5218c9790bb0
2016-03-22 18:39:59 +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
Felix Raimundo
16b650c5d5 Add left and righ arrows to move in the expression
Change-Id: Icf58335c9a78a97bdbed0da5d01f715dc11757d2
2016-03-22 18:39:59 +01:00
Felix Raimundo
4e9c33de2d Put the keys on the simulator.
NOTE: I messed up a merge so this si a bad commit.
Change-Id: I80c9bc3f9dd8b1d24069eb0cc87ce7fe15368071
2016-03-22 18:39:59 +01:00
Felix Raimundo
3cf9f3ebcb Small hack to get keys on the simulator.
NOTE: this is really hacky and should be improved as soon as possible,
but working zithout it is just to big a pain.

Change-Id: I01e322fa5f653f04e9fdf6b16b4b9fe023a4fe93
2016-03-21 18:30:01 +01:00
Felix Raimundo
fd972bce65 Fix build
Change-Id: If550f0db40be8085fade58896f7d8a1b7db2cb47
2016-03-18 10:48:17 +01:00
Romain Goyet
84b07546f3 [ion] Nicer layout of the simulator 2015-09-19 23:02:00 +02:00
Romain Goyet
323d810105 [ion] Simulator show keys in a matrix 2015-09-19 22:58:02 +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