Commit Graph

68 Commits

Author SHA1 Message Date
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
3f2f1f032c Remove old files 2015-09-19 19:05:10 +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
523522bc0b [ion] Fix the simulator 2015-09-14 19:55:06 +02:00
Romain Goyet
1687bad6c2 [ion] Fix the framebuffer for simulator 2015-09-12 21:12:39 +02:00
Romain Goyet
39cbc78f3f Working text on CalcOne! 2015-09-12 16:21:47 +02:00
Romain Goyet
09171650fd [ion] Define FRAMEBUFFER_LENGTH 2015-09-12 16:00:34 +02:00
Romain Goyet
f84d3f5797 [ion] Nicer naming 2015-09-12 16:00:14 +02:00
Romain Goyet
acef53ef0c [ion] Clean the display init code 2015-09-12 15:23:55 +02:00
Romain Goyet
3a06ada1e1 [ion] FB sent to LCD by DMA 2015-09-12 13:46:47 +02:00
Romain Goyet
9d4ca437c1 [ION] Clean the framebuffer subsystem 2015-09-11 23:04:07 +02:00
Romain Goyet
3a063c602d Proper st7586 driver 2015-09-11 18:55:10 +02:00
Romain Goyet
8750d39b04 Working display on Device 2015-09-10 16:40:42 +02:00
Romain Goyet
174fff79cb Accurate framebuffer size 2015-09-10 12:20:35 +02:00
Romain Goyet
4ad8b4a67f Rename stm32f429 to device 2015-09-10 10:08:11 +02:00
Romain Goyet
a404846029 Remove a warning 2015-09-02 22:05:51 +02:00
Romain Goyet
af0313e22d [ION] Preliminary key -> char mapping 2015-09-02 22:02:31 +02:00
Romain Goyet
7a5893ff05 Remove useless logs 2015-09-02 19:15:12 +02:00
Romain Goyet
596893aa71 [ION] ion_getchar isn't platform-specific 2015-09-02 19:08:41 +02:00
Romain Goyet
ac85fe159c [ION] Naive ion_sleep for the simulator 2015-09-02 19:00:43 +02:00