Commit Graph

51 Commits

Author SHA1 Message Date
Romain Goyet
e10f688124 ION: Use a color framebuffer on the simulator
Change-Id: Ie7aeb91b07295774bfbdb77e1e08ac744693c193
2016-06-16 11:30:16 +02:00
Romain Goyet
96d1973276 Ion: Don't forget parethesis in macro definitions
Change-Id: Ibec0acaffc7d16ea84dbebe6d2cdb9c0731937e3
2016-06-13 12:59:50 +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
Romain Goyet
4ac040ac0f Ion: Updated keyboard driver to match NW8901
Change-Id: I8ba2db36afb4d437b5452ec06fbde3b8bc781397
2016-06-10 15:15:07 +02:00
Romain Goyet
3fc55b5fd4 Ion: Cleaner macros
Change-Id: I81cc67b04b9e0d8053f098a9c363b7f56a72481f
2016-06-10 14:59:51 +02:00
Romain Goyet
d1ea456709 Ion: Remove dead code
Change-Id: Ie6d026c11ba2bf97686a1eac00e738d2366a4857
2016-06-09 16:52:34 +02:00
Romain Goyet
4db9e030f7 Ion: Remove LCD DMA
Change-Id: I59b47e43b2c1a6cfad6dcd7e6cdb25f66dd8f830
2016-06-09 16:37:48 +02:00
Romain Goyet
cfb44503b9 Ion: Use the new device's SPI config
Change-Id: I2151d42f803b3be8fde8d856382e58cd581dcb7c
2016-06-09 16:37:48 +02:00
Romain Goyet
2477305c17 Ion: Add an ST7789 driver
Change-Id: I62490dd2c944ecc93dc8c593aa3686ce1b7ac0f3
2016-06-09 16:37:48 +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
fd95a7e558 Adds a text_input function to get text.
Also removes ion_getchar in favor of ion_get_event.

Change-Id: Id95ea509315185da24fd2a3fe90969da0bd19cfc
2016-03-23 17:31:59 +01: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
b5b11e0120 Pretify the makefile.
Change-Id: I14e8d3a5fcdd23b0cd28094d0d1f9d2dc702f86e
2016-03-18 14:33:53 +01:00
Félix Raimundo
2db5b3e092 Merge changes Ic11846bc,Iaf6d678f
* changes:
  Updates the addition code to use attributes.
  Adds the power and parentheses to the parser.
2016-03-18 14:31:16 +01:00
Felix Raimundo
b33eb99067 Adds the power and parentheses to the parser.
Also removes some dead code and adds buttons in order to have parentehses.

Change-Id: Iaf6d678f765bb6a1c3405818738c51661aa43e12
2016-03-18 13:00:17 +01:00
Felix Raimundo
fd972bce65 Fix build
Change-Id: If550f0db40be8085fade58896f7d8a1b7db2cb47
2016-03-18 10:48:17 +01:00
Romain Goyet
92a62eea12 Use KDCoordinate 2015-10-03 13:00:49 +02:00
Romain Goyet
8869986a76 [ion] Proper CM4 registers 2015-09-30 14:46:29 +02:00
Romain Goyet
5da8500e77 [ion] blackbox 2015-09-29 22:01:48 +02:00
Romain Goyet
d384266ca6 [liba] Overridable pointer for heap start/end 2015-09-29 15:15:35 +02:00
Romain Goyet
3726bc11cc Hack to fix the build with Os 2015-09-25 15:18:40 +02: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
7df9c7c183 [ion] Fix display on device 2015-09-19 18:29:39 +02:00
Romain Goyet
101b10e028 Cleaner build system 2015-09-19 18:14:14 +02:00
Romain Goyet
08441e6ec5 [ion] big cleanup 2015-09-19 13:09:41 +02:00
Romain Goyet
045394d21d [ion] cleanup 2015-09-19 11:37:02 +02:00
Romain Goyet
1e4c5cdc0a [ion] cleanup 2015-09-19 11:01:38 +02:00
Romain Goyet
3d65c0dc33 [ion] Start of keymap 2015-09-19 10:34:25 +02:00
Romain Goyet
e45e5a0049 [ion] better ion_getchar 2015-09-19 09:54:24 +02:00
Romain Goyet
c6bde2f92c [ion] Preliminary keyboard on device 2015-09-18 10:56:27 +02:00
Romain Goyet
033b091e07 [ion] Rewrite the keyboard routine 2015-09-17 20:15:00 +02:00
Romain Goyet
af0313e22d [ION] Preliminary key -> char mapping 2015-09-02 22:02:31 +02:00
Romain Goyet
65bfef0a96 [ION] Cleaner keyboard interface 2015-09-02 18:54:43 +02:00
Romain Goyet
b77627fdb9 [ION] Delete useless file 2015-09-01 22:47:19 +02:00
Romain Goyet
b32b47300a ION re-structuring 2015-08-05 15:52:44 +02:00
Romain Goyet
96c2ad4228 Proper DEBUG flag 2015-08-04 22:45:08 +02:00