Commit Graph

129 Commits

Author SHA1 Message Date
Émilie Feral
d656d0d2eb [kandinsky] Add a special char for e (2.7...)
Change-Id: Ia2ab2f4cdeadedde5228357d2aed97c3e602b67f
2017-02-17 16:35:06 +01:00
Émilie Feral
1f751589b9 [Kandinsky] In font, for the i complex, use the i cyrillic instead of
iota

Change-Id: I746e1060f1437fe090a2dee533c3bbec24bda7d4
2017-02-17 16:35:06 +01:00
Émilie Feral
93d272486f Clean warnings
Change-Id: I79a3a97c5c118c9d6e1436e51b45cb51fee3c21f
2017-01-30 15:30:58 +01:00
Émilie Feral
64a94b95b0 Merge commit 'refs/changes/12/1312/1' of ssh://git.numworks.com/CalcOS
Change-Id: I985cb6732a8bc990acfc6ea186ace11ca2116afe
2017-01-27 14:37:33 +01:00
Émilie Feral
4b646d4507 Merge commit 'refs/changes/10/1310/1' of ssh://git.numworks.com/CalcOS
Change-Id: Ibabfc42284e2ca412f248f5fe6353515c2e8c1bc
2017-01-27 14:35:15 +01:00
Émilie Feral
c93255f3ca Merge commit 'refs/changes/09/1309/1' of ssh://git.numworks.com/CalcOS
Change-Id: I90b0b7ddf4d13901b89f5d9a0fa0922baa65bddf
2017-01-27 14:26:21 +01:00
Émilie Feral
8c550fbbf6 Merge commit 'refs/changes/08/1308/1' of ssh://git.numworks.com/CalcOS
Change-Id: Ic9220067299962d9c15724196bd28048d92fe76a
2017-01-27 14:13:50 +01:00
Émilie Feral
94b96d4ef9 [poincare] Replace exp() parsing by e^()
Change-Id: I5d84aea32ead00574e92e5edb5ff416bec2772d0
2017-01-27 12:02:20 +01:00
Émilie Feral
0c51270e19 [apps][poincare] Use special symbols when required
Change-Id: I376f15eb9e08fd26d34fffb6aa86d2097af4c2c4
2017-01-27 11:59:15 +01:00
Émilie Feral
291a029a60 Merge changes I32621204,Ic71bce73,I7dbfa92d
* changes:
  [poincare] Create a class square root
  [poincare] Create a class naperian logarithm
  [poincare] Parse Pi
2017-01-27 10:39:19 +01:00
Émilie Feral
46cb5ff449 Merge "[ion] Migrate to ST7789V LCD controller" 2017-01-25 15:44:40 +01:00
Romain Goyet
a56a2a060e [ion] Share the Ion::Power::suspend stub
Change-Id: I6a278547a5b5d5caec796ad53e88bca706cbcad3
2017-01-25 11:04:29 +01:00
Romain Goyet
caea1fe4cb [ion] Set all GPIOs to analog/non-pulled in release mode
Change-Id: Ie7dedc1089b0023a124af04a4d016cc9a843e28b
2017-01-25 10:55:22 +01:00
Romain Goyet
895b312b51 [ion] Enable deep sleep
Change-Id: I0abba2d6ffcc2fff09facb6f5f01aa2d72451aa0
2017-01-25 10:27:48 +01:00
Romain Goyet
267e470d36 [ion] Cleaner init/shutdown mechanism
Change-Id: Ied611edff2ada3634acccb509d21958a4350ed19
2017-01-24 17:35:28 +01:00
Romain Goyet
bc38971b86 [ion] Migrate to ST7789V LCD controller
Change-Id: If37d067470796167f68a693197c7e41fe0bc7dd3
2017-01-23 17:44:48 +01:00
Émilie Feral
290c2ff6c1 [poincare] Create a class square root
Change-Id: I326212043c9342cab43ac35b4d0edecdf89649fc
2017-01-18 15:06:37 +01:00
Émilie Feral
f33250f6ff [poincare] Parse Pi
Change-Id: I7dbfa92d1c7aaf1c9d479fd1b907c444b292097e
2017-01-18 14:39:43 +01:00
Romain Goyet
3fb14a44ae [ion] Update the battery sensing after schematics change
Change-Id: I2ecc4c3dc9a42afe0c602ef987918ac9722ccb31
2017-01-12 14:42:49 +01:00
Romain Goyet
025405d01d [ion] Add Ion::crc32
Takes only 32bit values. Uses non-reversed data/input

Change-Id: I8a776064af69047f7a8fa1399cf8a484f42b9b18
2017-01-06 17:22:29 +01:00
Romain Goyet
c1db79b5f9 [ion] Add a backlight namespace
Change-Id: I0b9ec9a1b342d4b949776f0303eca69a28d1de91
2017-01-05 16:00:10 +01:00
Romain Goyet
9b2fecfb12 [ion] Add Ion::usleep
Change-Id: Ife70133410e55c3f0af9a838543042a3da618119
2017-01-05 16:00:01 +01:00
Romain Goyet
7252e3c1f4 [ion] Update the RGB LED pins
Change-Id: I25c116d67cde14a305eb67dfaf5488f8916f9ba5
2017-01-05 15:49:09 +01:00
Émilie Feral
548ac8902e [ion] Init FPU before calling static object contructors
Change-Id: I4e29825183f8014b237b213452914764f9df8d62
2016-12-09 11:01:43 +01:00
Romain Goyet
0ea0a0139a [ion] Initialize static C++ objects
Change-Id: I8ee7d11985c5de61fb09bf69a02867f2a0d40425
2016-12-08 15:02:30 +01:00
Romain Goyet
6f5a3cf48f [libaxx] Explicitely define __cxa_pure_virtual
Change-Id: I07315f1bf84771a2784788e0d0eea4360245701d
2016-12-08 14:48:47 +01:00
Romain Goyet
ca78e007cf [ion/device] SD card initialization
Change-Id: I178f8be7063c86a400e968f85988f34469c4acd5
2016-11-24 18:37:40 +01:00
Romain Goyet
d905f01bf1 [ion/device] Add SDIO regs
Change-Id: I4b1df172f5334541ee7178759b9e4348b9b4b9a3
2016-11-24 18:37:40 +01:00
Romain Goyet
823d19101c [ion/device] implement pullRect
Change-Id: I648a8da134a26d17c763cccb0be20609681d99eb
2016-11-21 14:07:50 +01:00
Romain Goyet
d9216522dc [ion/emscripten] Bigger buttons on mobile
Change-Id: I9326ab9a6dff6490de79ea75b9e1e5c2ecde4818
2016-11-21 14:04:16 +01:00
Romain Goyet
5dc34dd387 [ion] Emscripten backend handles text input
Change-Id: I615845e2b75b99b2a666cf956ed6cc219c95b204
2016-11-14 15:46:56 +01:00
Romain Goyet
5d9a3c2c92 [ion] Emscripten handles events from click
Change-Id: I81116dfd829fafc60d8aafd5edb7a925780900ff
2016-11-14 15:46:50 +01:00
Romain Goyet
f5ea9cb2d3 [ion] Introduce Ion::Events::None
Which allows Ion::Events::getEvent to be non-blocking

Change-Id: I2715b10ace2ecbac153b0f7d00ea5f2ca5de399c
2016-11-11 16:06:29 +01:00
Émilie Feral
1556ec3d2b [ion] adjust simulator to new keyboard
Change-Id: Ib0baddf88f74621c21276746161d2d0bdb68942e
2016-11-10 17:29:48 +01:00
Romain Goyet
e508bc47b7 [ion/device] Update to newer GPIOs
Change-Id: Ifb54d974c73b618971fee511c92b87b32b014714
2016-11-10 17:29:48 +01:00
Romain Goyet
b87f06e3a2 [ion] Update the Event model
Change-Id: I41a53caeb7dd8a15e7934f49675f6a53be8fe7be
2016-11-10 17:29:48 +01:00
Romain Goyet
23f41e1b89 [ion/device] Migrate to 16-bits FSMC
Change-Id: I27af3425b631900b4d6041a4f890847e07808de6
2016-11-07 17:09:59 +01:00
Romain Goyet
ade7f0480b [ion] Initial emscripten support
Change-Id: Id76a45c5c723fae11387e20458bc9555689b9a48
2016-11-06 12:06:02 +01:00
Romain Goyet
3702af0f11 [ion] The shared routines are not always needed
Namely, the keydown to getevent routine should eventually not be shared

Change-Id: Ie3afabe9cc1cd7503dc3de06928471edd4f1f22b
2016-11-06 12:04:59 +01:00
Romain Goyet
973a013d8b [ion] Simulator uses the physical keyboard
Change-Id: I843faaa35931eae59bbe2d75eab36bc5820fb68e
2016-10-27 14:59:40 +02:00
Romain Goyet
5a2f12ad9f [ion] Replay implementation of Ion::Events::getEvent
Change-Id: Idc6270ab0ebdfed5973c355a03f8bca0ba3f7b1f
2016-09-28 15:44:33 +02:00
Romain Goyet
6077a72ae3 [ion] Provision to clock the CPU at 96 MHz
Change-Id: I397ff23941dfff3ea3c2e217c0fb1ba242326cfb
2016-09-28 15:44:20 +02:00
Romain Goyet
d6c52ac3d0 [ion] Avoid explicit namespaces when they're not needed
Change-Id: Ibe523d0aadaf4d408f915d705475fcd779caa2a7
2016-09-21 13:57:00 +02:00
Romain Goyet
c55c4aba37 [ion] Increase the stack size to 32 KB
Turns out 4K was too small for our usage pattern (we measured an
overflow when drawing function curve - probably because we store a
little bit of bitmap data on the stack). So the same area was used for
the heap *and* the stack, causing terrible memory corruption.

We could use a stronger pattern (stack on the SRAM boundary + MPU to
trigger an exception when overflowing the stack) to prevent memory
smashing.

Change-Id: I4d187e154322f18e1e7deddd75f7242af777ade3
2016-09-21 13:52:26 +02:00
Romain Goyet
7ab49e9371 [ion] Remove the framebuffer from the memory map
Change-Id: I9b8aaacc93ec1eac54045a1d654986e1777ba4ad
2016-09-21 13:51:52 +02:00
Romain Goyet
e3c6264068 [ion] Remove _liba_heap_start, simply use _heap_start
Change-Id: I395762275f3aa1832210dfc3faae9c0eefb91d9e
2016-09-21 13:50:58 +02:00
Romain Goyet
66298f5cb6 [ion] Enable building with --gc-sections
Change-Id: Ibddb03d5fc95f99954583a51c02257dfcba3a326
2016-09-16 11:43:14 +02:00
Romain Goyet
09309d535b [ion] Update the linker script for the device
Change-Id: I000b9d91707be06a808cc92a499526087d8a6d50
2016-09-16 11:43:14 +02:00
Romain Goyet
8d1f6b8f1d [ion] Actual device suspend
Change-Id: I572be97169f8042122649fa7144643d8fdc217d7
2016-09-16 10:38:08 +02:00
Romain Goyet
0645a799f9 [ion] Regs now have a SCR register for Cortex M4
Change-Id: I890e13ef2fed1bc7b9af06dfb15a6057e183c31f
2016-09-16 10:38:08 +02:00