Commit Graph

900 Commits

Author SHA1 Message Date
Émilie Feral
e40ccf65cf [ion] Implement method generate wake up event for USB plugging, battery
charging and power event

Change-Id: I10e12aa9c0ed6e9440d03c0a4b58cc66092522b3
2017-04-12 09:37:49 +02:00
Émilie Feral
d0d7021066 [ion] In regs, create registers in EXTI and SYSCFG
Change-Id: I571e8f87c8996300f3ac2f60c20a50b2128749b2
2017-04-12 09:37:49 +02:00
Émilie Feral
82d904dae0 [ion] Complete scheme of pin functions and roles
Change-Id: I78f418794a713e974606769b84a058fa7e68e0bf
2017-04-12 09:37:49 +02:00
Romain Goyet
081f2ce40a Remove warnings
Change-Id: Ibe5c0a0b937cd595983317a8c08ff38ffee5977d
2017-04-10 16:01:35 +02:00
Romain Goyet
d1db9b5d67 [ion/device] DMA pixel push uses bursts
Change-Id: I8f9ad873edeb39b6a71ce39d3d35d0445d723672
2017-04-10 15:29:24 +02:00
Romain Goyet
ea7a82b5a4 [ion/device] pushRectUniform goes in the same direction as the screen
refresh

Change-Id: Iec3cc67c20bd128bbd7d16b6132b2878fe883aa2
2017-04-10 15:29:24 +02:00
Romain Goyet
37647d8537 [ion/device] Use DMA to send pixel data to the LCD controller
Change-Id: Ia607f18c6a7f57fb28cf9febe30f05d19e7b3e59
2017-04-10 15:29:24 +02:00
Romain Goyet
4929dbac52 [ion/device] Burst pixel upload
Change-Id: I979e8842381a5aba216b56ceddf19e0fbd8b0be7
2017-04-10 15:29:23 +02:00
Romain Goyet
9eaa507b18 [ion/device] Use a 40Hz frame rate
Change-Id: Id7dd36af2a0ebf3b2af65e4c87064aed0aa8725b
2017-04-10 15:29:23 +02:00
Romain Goyet
4dc7afa4c3 [ion/device] Enable the LCD EXTC pin
Change-Id: I9aa0c37072431ac18fa3af46e0097ba3e1216945
2017-04-10 15:29:23 +02:00
Romain Goyet
e19b2b9085 [ion] Add a Display::waitForVBlank method
Change-Id: Ie744ec4a73eeb7c2d7c549fd7f47ff4c74aab5ee
2017-04-10 15:29:18 +02:00
Émilie Feral
cebd5f69ed Merge commit 'refs/changes/64/1864/1' of ssh://git.numworks.com/CalcOS
Change-Id: I596a0df552272eaeab707170e1da0dbee9e8d1d4
2017-04-10 10:39:30 +02:00
Émilie Feral
4546bdfb15 Merge "[ion/device] Delay Console::peerConnected by 1ms" 2017-04-10 10:19:28 +02:00
Émilie Feral
8f137514a8 [ion] Setting the LED to black turn it off
Change-Id: Iee8b1ec8a3d2c56a0e54477bcb91d84c9d83866d
2017-04-07 16:21:54 +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
a24cea77d0 [ion] Add a time out in get event
Change-Id: I7c54deb46141d921a7c5019fe8afa324f240954a
2017-04-07 11:30:07 +02:00
Romain Goyet
c709d161af [ion/device] Proper ordering of console init and bench launch
Change-Id: Ic43ee84e2b2024a10d6704835736535b3d952f0c
2017-04-06 10:14:59 +02:00
Romain Goyet
d940a9de11 [ion/device] Delay Console::peerConnected by 1ms
Change-Id: I1a759760347c3ff29fc59eb158e59d854b2b5cf6
2017-04-05 17:18:30 +02:00
Romain Goyet
806d0809f3 Merge "[ion] Enable/disable FSMC clock with all clocks" 2017-04-04 16:42:12 +02:00
Romain Goyet
b26bfb98e6 Merge "[ion] Correct display reading timings" 2017-04-04 16:42:00 +02:00
Émilie Feral
6c2dabe7cc [ion] Enable/disable FSMC clock with all clocks
Change-Id: I541532b1803181109d788dd943a6384b3b09db63
2017-04-04 16:26:25 +02:00
Émilie Feral
296a9aae1b [ion] Correct display reading timings
Change-Id: I43ca8082227ab8b9f9c3d68e2a872341f6b968d5
2017-04-04 16:25:24 +02:00
Romain Goyet
c9be15ba63 [ion/device] Add Console::peerConnected()
Change-Id: Ic6dcea692f09a3efdccaf23db4aa17ab6d6cebde
2017-04-04 15:27:32 +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
Émilie Feral
fad88b5da7 [ion] In fsmc regs, enable different reading and writing timings
Change-Id: I3c387889d6716fd591e0455b44683ef579a4824a
2017-03-31 15:16:34 +02:00
Romain Goyet
27f9847713 [ion/device] Fix events generation
We now repeat some events (arrow, backspace)

Change-Id: I5f8e09b5f29ea4edbc709b94aae8674d7112a7b3
2017-03-31 10:43:43 +02:00
Romain Goyet
a85158d4ce [ion] Introduce Ion::Keyboard::State
Change-Id: I8da2814365391c3c23f2011f92532269b7a4381d
2017-03-30 17:48:14 +02:00
Romain Goyet
6d6e5932a5 [ion/register] GPIO IDR/ODR can be bulk-accessed
Change-Id: I41e8723c46d6a851ab8c3603c295bb638545fd9f
2017-03-30 16:33:42 +02:00
Romain Goyet
1df7583dda [ion/registers] set/getBitRange can be useful as a public interface
Change-Id: I1204898325c8b9c6acbf778cb7331ef55907a07e
2017-03-30 16:30:24 +02:00
Romain Goyet
11b4a504ff [ion/device] Fix the slow keyboard issue
Change-Id: I0111dea54423b230f5c656771ded8a30dedaeea3
2017-03-30 11:01:20 +02:00
Romain Goyet
404f69e8fa Merge "[ion] Calibrate the delay loops for the 96 MHz clock" 2017-03-29 22:40:35 +02:00
Romain Goyet
85d0aab2c6 Merge changes Iefaef017,Iff854e9c,I995984b9
* changes:
  [Apps] Refresh the screen upon wakeup
  [Escher] Window can be force-redrawn
  [ion/device] Use the USART3 port for the console
2017-03-29 15:31:58 +02:00
Romain Goyet
a58430e885 [ion] Calibrate the delay loops for the 96 MHz clock
Change-Id: I991d994c5c347c7d90a09b1daa2c2f3ca67dd1a1
2017-03-29 15:18:45 +02:00
Émilie Feral
475b3ce54a [ion] Fix error in data for event
Change-Id: Ib23206b7ca9bcf5c4d6432d17e069a63a613996b
2017-03-29 11:34:46 +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
b67a70e4df [ion/device] Use the USART3 port for the console
Change-Id: I995984b94d6a2cc8a6e234cbecafc9be4c461327
2017-03-27 17:08:42 +02:00
Romain Goyet
cc2d6847c0 [ion/device] Add an EXIT command to the bench
Change-Id: Id616aaf9528ce5dfd2ffe35884bac5f36e4b2c2c
2017-03-17 16:53:58 +01:00
Romain Goyet
c494eba179 [ion/device/bench] Remove duplicate MCU_SERIAL
Change-Id: I46b1f4e9f6709bfdb76b14a5017d8ee982652c91
2017-03-17 16:34:34 +01:00
Romain Goyet
f68dfe1338 [ion] Events from stdin
Change-Id: I3ad9900b44eb1907f02c619227894ffcdc59f459
2017-03-17 16:00:53 +01: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
c7b4890708 [ion] Console can now read and write lines and chars
Change-Id: Ifca7bb4effc00b8bbcd76e0725d0740436ce37c9
2017-03-17 15:41:46 +01:00
Émilie Feral
8d42871c8b Merge changes I292a3c10,I54b99678
* changes:
  [ion] Boot on the bench if keys A1 and I5 are pressed after reset
  [ion] Move the bench test in ion
2017-03-16 18:09:59 +01:00
Émilie Feral
0e13b81583 Merge changes If0640ecd,Idd8545cf,Iae352e67,I44329fb7
* changes:
  [ion]  Correct event text in events
  [poincare] Parse "3->A" (sto)
  [apps][poincare] Add a submenu to toolbox about fluctuation intervals
  [poincare] Add tests on symbols
2017-03-16 17:37:08 +01:00
Émilie Feral
1f10ceb307 Merge changes Ifbec48f2,I0972a3cd
* changes:
  [kandinsky/font] Clean font
  [poincare] Parse re() and im() functions
2017-03-16 15:43:40 +01:00
Émilie Feral
7c59498bff [ion] Correct event text in events
Change-Id: If0640ecd9917c18001aa0c52821bace5e4025462
2017-03-16 15:12:10 +01:00
Émilie Feral
91385765d8 [poincare] Parse "3->A" (sto)
Change-Id: Idd8545cfcb91cebc7f95e2425db795e8105da14b
2017-03-16 15:12:10 +01:00
Émilie Feral
6230eaa4b3 [kandinsky/font] Clean font
Change-Id: Ifbec48f21253caf527435e660a2961d2d6f6f436
2017-03-16 15:12:08 +01:00