Commit Graph

110 Commits

Author SHA1 Message Date
Léa Saviot
562e419fc3 [ion] Handle USBEnumeration event like USBPlug.
Change-Id: I70c1dc92fdba8e56508a1dce65ad30a771326a30
2018-04-06 14:31:48 +02:00
Léa Saviot
de25105f4a [usb] Handle the usb Plugged detection in getEvent.
Change-Id: Idfba5925a7c79c722b0aad3a1c24799b31d88298
2018-04-06 14:31:48 +02:00
Léa Saviot
d753e6e781 [ion] Move Ion::reset to Ion::Device::core/jumpReset
Change-Id: I3032c3e1b9a8f944cd321670c7be6586ba6d973b
2018-04-06 14:31:48 +02:00
Léa Saviot
ff82ca26f2 [usb] Enable the USB core on calculator plugged.
Change-Id: I5b8ab068936524e775bb77a4569a2601e5a9844a
2018-04-06 14:31:48 +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
Romain Goyet
5c86a07481 [ion] Add the ability to perform a jump-reset 2018-04-04 10:38:52 +02:00
Émilie Feral
ae086adfcf Clean 2018-03-22 14:01:38 +01:00
Émilie Feral
75292ed749 [ion] Storage: change tags around storage 2018-03-22 14:01:38 +01:00
Émilie Feral
3bc16637a0 [ion] Storage: add comment on Record 2018-03-22 14:01:38 +01:00
Émilie Feral
845fc7c979 [ion] Typo: NoEnough -> NotEnough 2018-03-22 14:01:38 +01:00
Émilie Feral
b0ede47d55 [ion] Change Storage design (former kallax) 2018-03-22 14:01:38 +01:00
Émilie Feral
f9656fd94f [ion] Namespace Record and Kallax 2018-03-22 14:01:38 +01:00
Émilie Feral
aa984bca74 [escher][ion] Move Record and Kallax in Ion/ 2018-03-22 14:01:38 +01:00
Émilie Feral
37ff8dc0a3 [ion] Give the options to ion_app that becomes ion_main 2018-03-22 11:58:56 +01:00
Romain Goyet
c0a9ec1c91 [emscripten] Events can be enqueued 2018-03-21 15:54:17 +01:00
Émilie Feral
975f54c7b2 [ion] Change events name: Origin->ShiftLeft, End->ShiftRight 2017-12-07 17:42:39 +01:00
Émilie Feral
3f0328f5b5 Add assertions for dangerous bit shift that could trigger undefined
behaviour

Change-Id: I051ed229d407eafcae1ea4b5fc745176a751e036
2017-12-01 11:53:55 +01:00
Romain Goyet
52bdf4a41f Merge branch 'cas_with_app_copy' into python_console 2017-11-21 18:44:38 +01:00
Émilie Feral
5fd8fda4b1 [calculation] Display exact and approximate results
Change-Id: Id5fe5b5db464c45f09bd1a1285def95e738a78c7
2017-11-21 17:37:25 +01:00
Émilie Feral
e3057d5c2b [poincare] Change multiplication sign
Change-Id: If58f62fa181ce7aac441d42d44ea65d68f0d6421
2017-10-25 18:19:01 +02:00
Ian Abbott
357d76515b [ion][apps] Remove redundant AlphaLockShift state
Since the 'shift' key can now toggle between the AlphaLock and
ShiftAlphaLock states, there is no way to enter the AlphaLockShift
state, so remove it.
2017-09-26 17:44:25 +02:00
Damien Nicolet
6392735e70 Add orgin/end keyboard shortcuts, by pressing shift left or shift right 2017-09-20 10:16:34 +02: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
68cd3f4574 [apps][ion] Discard shift alpha status when switching app or switch off
Change-Id: I955276168c9e31f7aebccbe0d57e8f15bb030e7e
2017-08-17 16:21:21 +02:00
Émilie Feral
2900b901ba [ion] Clean alpha shift event modifiers
Change-Id: I6dd667fb12c0cd3d3e90a6f98da0bd56780dcff6
2017-06-30 10:42:30 +02:00
Émilie Feral
e37f1418e5 Clean DEBUG macro
Change-Id: I5acf266d565045468c6fba19b1ca493773ae78bc
2017-06-16 15:08:14 +02:00
Émilie Feral
6a888136c3 [apps/settings] Add FCC ID in about menu
Change-Id: Iafe06e56591399a1442b8de64257990ffa23ddac
2017-06-02 14:16:55 +02:00
Émilie Feral
c644a8d4f7 [escher] Fix bug: do not redraw window at each timer fire but only for
timer requiring redraw

Change-Id: Ia39a35185a4836809970f5ba77cc76a8b2e6ee26
2017-05-23 15:25:00 +02:00
Émilie Feral
f9a1caa8eb [ion] Add a class State in Keyboard
Change-Id: I42b2c892deaedc83a7629d8c8be66cd4e1fbcb5c
2017-05-23 15:24:55 +02:00
Émilie Feral
339afe0787 [escher] Add an event "TimerTick"
Change-Id: Ib6d1cacdf13226d37b1a8fdf6ecf8a92d077a96f
2017-05-22 16:35:27 +02:00
Émilie Feral
0e158d7817 [apps/hardware_test] Clean controller (without resolving bug ...)
Change-Id: I8b0fdf1101e2ca69e0ed03490aa96670c7e70ee4
2017-05-19 10:55:44 +02:00
Émilie Feral
b6b0e90966 [ion] In suspend, enable to wait until power release before suspending
Change-Id: I175998b450c3ef668280c00226be64e23f572a37
2017-05-09 17:15:45 +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
cc31953d88 [ion] Event::isDefined instead of isValid
Change-Id: If5927200fbc0b5395496294e37d06d502452f311
2017-05-01 21:57:53 +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
fcd01a9655 [ion] Add Event::isValid
Change-Id: I0bf217f185772ca1f27aca66a704dbee30509907
2017-05-01 16:00:58 +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
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
Romain Goyet
a85158d4ce [ion] Introduce Ion::Keyboard::State
Change-Id: I8da2814365391c3c23f2011f92532269b7a4381d
2017-03-30 17:48:14 +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
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
6230eaa4b3 [kandinsky/font] Clean font
Change-Id: Ifbec48f21253caf527435e660a2961d2d6f6f436
2017-03-16 15:12:08 +01:00
Romain Goyet
ebb633ff23 [escher] Add RunLoop and Timer
Change-Id: Icb5b2e82cc9fe999eb4b1c7e9dff75ca92dcca43
2017-03-07 11:00:00 +01:00
Romain Goyet
7b575a204b Merge changes I4d59900f,Ifd3d4c6b,I485bd67f,Ib2dd1d91,I29085da3, ...
* changes:
  [ion/device] Fix building console.o
  [apps/hwtest] Add CHARGE and KEYBOARD commands to lowlevel test
  [apps/hwtest] Proper MCU_SERIAL command
  [ion] Add a Ion::serialNumber function
  [apps/hwtest] Add ADC and BACKLIGHT commands to the lowlevel test
  [ion/device] Use the proper ADC channel
  [ion] Add a console facility
  [apps/hwtest] Blink the LED from the lowlevel test
  [apps/hwtest] The lowlevel test uses the UART
  [ion/device] Add USART register
  [apps] Add a lowlevel test app
  [ion/device] Add SPI registers
2017-03-07 10:15:55 +01:00