Commit Graph

65 Commits

Author SHA1 Message Date
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
Léa Saviot
0e977bac00 [ion] Use dummy usb.cpp in simulator.
Change-Id: Id7f0e110a661372702d550883b6d341c1b5915d4
2018-04-09 15:35:50 +02:00
Léa Saviot
b7829a0937 [usb] Change apps and relocate usb stack on ram.
When the device is plugged to a USB host.

Change-Id: I5d7ae3c86cacce509b6ccca2746984f7e806cb49
2018-04-06 14:31:45 +02:00
Émilie Feral
37ff8dc0a3 [ion] Give the options to ion_app that becomes ion_main 2018-03-22 11:58:56 +01: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
Adrien Bertrand
4373bdeda4 [ion] [simulator] key chars: use unicode escapes 2017-09-01 14:15:37 +02:00
Adrien Bertrand
520775901b [ion] [simulator] more realistic button labels 2017-09-01 14:15:37 +02:00
Jean-Baptiste Boric
7d79a01ed2 [ion/simulator] Improve key mapping 2017-08-30 21:30:59 +02:00
EmilieNumworks
ea56a74955 Merge pull request #18 from jacobly0/fix-simulator-msleep
[ion] Fix simulator msleep
2017-08-30 10:34:37 +02: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
Jacob Young
67d4df5f59 Fix #9 by deactivating empty keys. 2017-08-30 03:39:23 -04:00
Émilie Feral
8fd329d167 [ion] Fix alpha and shift modifiers for emscripten
Change-Id: If8ae07048dddbcf77c18a7c9f06160359f6638ba
2017-08-25 11:20:49 +02:00
Émilie Feral
6a888136c3 [apps/settings] Add FCC ID in about menu
Change-Id: Iafe06e56591399a1442b8de64257990ffa23ddac
2017-06-02 14:16:55 +02:00
Romain Goyet
7f4ac05b55 [ion] Share the dummy battery implementation
Change-Id: Id85dc5b65bc31bc59e8a130b9f18077eaa37f4d3
2017-04-25 17:03:50 +02:00
Romain Goyet
5a1e890eeb [ion] Share the dummy backlight implementation
Change-Id: Id9dcaa0a72d10cd2ff3a147ebf6443725639ebd2
2017-04-25 14:04:40 +02:00
Émilie Feral
c2b6777b58 [apps] Extinction and backlight timers
Change-Id: I91daf6ab78fff9ec4bc924915a17a559f9ddfa63
2017-04-25 11:00:04 +02:00
Romain Goyet
e19b2b9085 [ion] Add a Display::waitForVBlank method
Change-Id: Ie744ec4a73eeb7c2d7c549fd7f47ff4c74aab5ee
2017-04-10 15:29:18 +02:00
Émilie Feral
3261701d2d [ion] Add a method to know if the USB is plugged
Change-Id: I040ce7996bbec121c71d57a5092ffae4f5f76025
2017-04-07 14:40:34 +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
É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