Commit Graph

285 Commits

Author SHA1 Message Date
Romain Goyet
8564d67efd [ion] Fix tools
Change-Id: I97b3770993adfd1b98b2eee24f9d3005842d8093
2017-05-03 17:06:12 +02:00
Émilie Feral
bea3a97786 [poincare] Interrupt too long event when back key is down
Change-Id: I668efec0aefdd5d3baf7973942d4f44165a05f07
2017-05-03 14:22:50 +02:00
Émilie Feral
50372eb935 [escher] Unload view is done after all methods viewWillDisappear,
willResignFirstResponder, didExitResponderChain

Change-Id: I04fa28783b8500f0312f451d4d83fe543f2da8f0
2017-05-03 14:22:44 +02:00
Romain Goyet
61ed9a128f [ion] Add a test for the events
Change-Id: Ia15b137b151831a7b4140c176f41621dad1f48ef
2017-05-01 21:57:53 +02:00
Romain Goyet
c1e01cffe5 [ion] Blackbox ignores undefined events
Change-Id: Iab18d5a66d4c872ec94c918442660203cdc9c8ed
2017-05-01 21:57:53 +02:00
Romain Goyet
cc31953d88 [ion] Event::isDefined instead of isValid
Change-Id: If5927200fbc0b5395496294e37d06d502452f311
2017-05-01 21:57:53 +02:00
Romain Goyet
ea0c8a4095 [ion] More accurate event map
Change-Id: I06723e69e07c9a0ca5817f66f939e64aae975f36
2017-05-01 21:57:53 +02:00
Romain Goyet
89e3baa26a [ion] Fix building of event tools
Change-Id: I0a5f9fec5b3c523ad62bba7dc80c5991b335552c
2017-05-01 21:57:53 +02:00
Romain Goyet
6c8fb277b0 [ion] Add an event printer tool
Change-Id: Ib87737f30fe9818cd5d0a61e9bdaa8ee009052ae
2017-05-01 21:57:52 +02:00
Romain Goyet
2c995aa277 [ion] Proper file IO for event tools
Change-Id: Ic80fb8bce350fc785a3b8fba76a228ce118c97ef
2017-05-01 21:57:52 +02:00
Romain Goyet
0764a7dda3 [ion] Add Event::Termination
Change-Id: I7f417700d85f0298483564268609a5298ecc0022
2017-05-01 21:57:52 +02:00
Romain Goyet
3ac05e983b [ion] Introduce Event::isKeyboardEvent/isSpecialEvent
Change-Id: Iddfe95ec86f1024bec537542af22febcd2d0087a
2017-05-01 21:57:52 +02:00
Romain Goyet
ebda4a17ea [ion] Clean Event::name()
Change-Id: I97c288168895c878d274bbf9a4256d5c606ef527
2017-05-01 21:57:52 +02:00
Romain Goyet
e8bbbd2db5 [ion] Add a host tool to generate random events
Change-Id: I5a4db0ed5dcf2a1ae8743c2d3cda8dde6bd5962d
2017-05-01 16:03:16 +02:00
Romain Goyet
d0988f6f09 [ion] Add a host command-line utility to filter valid events
Change-Id: Iaaa26ebf079152592a973c1f4658caa00f3f0651
2017-05-01 16:01:35 +02:00
Romain Goyet
fcd01a9655 [ion] Add Event::isValid
Change-Id: I0bf217f185772ca1f27aca66a704dbee30509907
2017-05-01 16:00:58 +02:00
Romain Goyet
2e59e21e4e [ion] Avoid negation in getter
Change-Id: Id700e80a57cf0bc828c101ad2e6d52492549d943
2017-05-01 15:17:53 +02:00
Émilie Feral
dd958dcbd8 [ion] Dummy implementation of alpha/lock active methods in blackbox
Change-Id: I707f157bcab5be0afe07b3ddb630ea36d34bcef9
2017-04-26 18:22:12 +02:00
Romain Goyet
6ec33e6804 [ion] Add a guardian
Change-Id: I5bb2173f7c83f3ac82590f8675fdaea1c65f1c0a
2017-04-26 11:18:01 +02:00
Romain Goyet
777ba19436 [ion] Only enable the blackbox framebuffer if needed
Change-Id: I87348f31063790a7fd048654f4e68395fc8221b3
2017-04-26 10:17:20 +01:00
Romain Goyet
121fc6b342 [ion] Blackbox now logs events and screen
Change-Id: I54d96af260b6977ca4e6c4c0f220e2e231e4561f
2017-04-26 11:11:52 +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
Émilie Feral
3743ae6bce [ion] In events keyboard, implement shift-alpha-lock
Change-Id: I6377c6ce7ca6468ca884c90dbfb1b4b15098fab9
2017-04-21 10:08:09 +02:00
Émilie Feral
38a1048bc1 [ion] repare blackbox
Change-Id: I1229ad45e29db6dac5c296b87acd5663c5564cea
2017-04-14 15:00:38 +02:00
Émilie Feral
4cf2279af8 [ion] Shutdown all GPIO used in sleep mode
Change-Id: I893e4c9ae19c6e5e897837888ad13aefac3bacef
2017-04-13 12:06:38 +02:00
Émilie Feral
94b6ad3488 [ion] In suspend, force the state of LED to avoid using a timer
Change-Id: I9565e278d99e3164faa03a65e7831e5e316b1542
2017-04-13 12:06:38 +02:00
Émilie Feral
e82e9a9571 [ion][kandinsky] Change LED color in sleep mode to yellow (does no
require a timer)

Change-Id: I3ffcf5d050fd94f8b06662646577a3a391e78190
2017-04-13 12:06:37 +02:00
Émilie Feral
c632f7c5ee [ion] Improve suspend implementation
Change-Id: Ic43b58f34379292c53a82ab6c85674c6f7a9b381
2017-04-13 12:06:37 +02:00
Émilie Feral
a0b054e2ec [ion] In device display, avoid current leaking
Change-Id: Ief0d25a377ce6a39a759d7321d06a34667b33050
2017-04-13 12:06:32 +02:00
Émilie Feral
061a9724bd [kandinsky] Add color Orange
Change-Id: I7d471977d8308f09366de26a426381b5e81497af
2017-04-12 09:37:49 +02:00
Émilie Feral
9ad32a31fe [ion] Enable LED to switch on during suspend
Change-Id: I9c028803e21fad0f07500be482597f5bfcb0fc99
2017-04-12 09:37:49 +02:00
Émilie Feral
9467e6a23f [ion] In device, create a method to init clocks in standby
Change-Id: If536a7b943095c87b51a85dc1fb5c1ea9229088b
2017-04-12 09:37:49 +02:00
Émilie Feral
6c7a70e046 [ion] In device shutdown, enable LED persisting
Change-Id: Id65e8d8b488c2be3076d33a32ed6b052fbe7fcd1
2017-04-12 09:37:49 +02:00
É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