Commit Graph

7312 Commits

Author SHA1 Message Date
Romain Goyet
831c42796b [ion] Add battery-related functions
Change-Id: Ib63b48140a8347d0d07902d956a3685fb040c481
2016-08-29 13:25:14 +02:00
Romain Goyet
457b7215fd [Ion] Enable setting the LED's color
Change-Id: Ib3e25be8d180f9d19ad3a0d0861b210d8a702194
2016-08-23 17:29:07 +02:00
Romain Goyet
439f2702d8 [Ion] Remove C registers
Change-Id: Ic6330126b38ec58f1936862693b5874989499017
2016-08-23 17:07:16 +02:00
Romain Goyet
753a4a7cb5 [Ion] Move to C++
Change-Id: Id75fca5e92a3fdf18258015bcda7cd70297b0fdb
2016-08-23 16:30:15 +02:00
Romain Goyet
00afebbe2d GraphApp: Use a FunctionStore
Change-Id: Ib75947c40167489726fafc493ccb0ebf2862142b
2016-08-22 14:40:07 +02:00
Romain Goyet
e1dcffd4ce [Kandinsky] Use fillRect instead of setPixel for text blitting
Change-Id: I8aa29abcfbd2f962d8991d24409019f4f58c627c
2016-08-19 16:58:12 +02:00
Romain Goyet
ca71a52010 [Escher] The StackViewController pops when receiving ESC
Change-Id: I069ac2ea910f34513f607ec5d9a0a2483bbc20bc
2016-08-19 16:57:34 +02:00
Romain Goyet
0d0694422b Graph app : Some parts aren't needed if the view is tiled
Change-Id: I8898726bb604cafbe504cc97577c302c27eb7134
2016-08-19 16:57:05 +02:00
Romain Goyet
223ac2607c Apps: Use the Probability app in the launcher
Change-Id: I07cc48db08eb3682e3173399e99d059423b527a6
2016-08-19 16:56:44 +02:00
Romain Goyet
4dea239ab8 Apps: Add a parameters controller
Change-Id: I93ab1c4f7050a3c490a64aed5462437910ef981d
2016-08-19 16:44:13 +02:00
Romain Goyet
2905975b43 Add a Probability app
Change-Id: I1c12b1de3cc4a7cf955f6d8389a4fdf69c4bff1c
2016-08-19 16:20:05 +02:00
Romain Goyet
2c8a7788b7 [Escher] Don't forget to set the parent responder
Change-Id: I993bb08fcf82560154c4c8b9ad17d05a66ec59a9
2016-08-19 16:18:10 +02:00
Romain Goyet
961a751131 [Escher] Implement a StackViewController
Change-Id: I1b4ecc996a1af2bef1b8ce6cfa71457d3345c00e
2016-08-19 15:25:06 +02:00
Romain Goyet
c5916572fe [Kandinsky] Inline very simple operations on KDPoint and KDSize
Change-Id: I35f6bc9450b35b1ab7a0dcadce69dddf932dd23f
2016-08-19 10:51:25 +02:00
Romain Goyet
b9b3a1b2e5 [Kandinsky] Inline very simple operations on KDRect
Change-Id: Ie46f7d159ef28cd30f059bdd96d3894137f2a675
2016-08-19 10:48:23 +02:00
Romain Goyet
2e3b578eff [Poincare] Update for C++ Kandinsky
Change-Id: Ib0d44841245a290c0395c43b2cde4c7ea69c17ca
2016-08-19 10:34:59 +02:00
Romain Goyet
7cbac15517 [Kandinsky] Add setters to KDRect
Change-Id: I0386a7469442ea42cf50e33b48f26509a9eba33a
2016-08-19 10:33:29 +02:00
Romain Goyet
f93da3b0d8 [Kandinsky] Create a KDText class for text measurement
Change-Id: Ie3ecd402b5476f41a2f8694a276f62495fbcdbd1
2016-08-19 10:31:15 +02:00
Romain Goyet
d2ff3457b5 [ion] Fix RGB/BGR ordering on ili9341
Change-Id: I5e3aa5c811af0bff74f82373c6867ac7f45422e2
2016-08-18 17:43:43 +02:00
Romain Goyet
fb4a67ae41 [ion] Ensure ion_sleep is not optimized out
Change-Id: Ifb468a8bc163acade32225b39aa261d552bdb4c9
2016-08-18 17:16:10 +02:00
Romain Goyet
827ec2fc20 [ion] Update the keyboard for NW8902
Change-Id: Ieb04e4b729d6fb17355410d0877576c46cbc0865
2016-08-18 17:15:49 +02:00
Romain Goyet
edf4ac9141 [kandinsky] Remove dead code
Change-Id: I26238032095a74990a2dc4e31429d56aa1d42c24
2016-08-18 17:15:22 +02:00
Romain Goyet
2eeec9e929 [ion] Clean ion_sleep
Change-Id: Ib71e7e535ecd2ee572d09f2e64f2cba9368c614f
2016-08-18 16:45:36 +02:00
Romain Goyet
809fdfdfab [ion] Cleanup
Change-Id: I14d1cb07cd075a40db4ab4e6246d5b3d1cc2140a
2016-08-18 16:36:49 +02:00
Romain Goyet
596d0d3876 [Ion] Much simpler display driver
Change-Id: Ia64a14ca5ed58f70590a27b968569832a0ecb722
2016-08-18 16:35:55 +02:00
Romain Goyet
a0aa16c504 [ion] Enable the FSMC
Change-Id: Ic564b819723bd5b1049ba5695095d7d9034cc665
2016-08-18 16:29:13 +02:00
Romain Goyet
1b233c5ee2 [ion] Clean the RCC class
Change-Id: I1c2c28baf1cce407ce06888a16e2eabe2be57b19
2016-08-16 14:17:36 +02:00
Romain Goyet
ec6392ccca [Kandinsky] Clean the font rasterizer
Change-Id: Id7bdfa286aa3138f98b0d8e7b3be2e2189e0ef2b
2016-08-12 18:29:14 +02:00
Romain Goyet
7789123913 [Escher] Add a Container that lets us run multiple apps
Change-Id: I674348ed0ff48934eb248dc48735f4ba13c34692
2016-08-12 15:15:28 +02:00
Romain Goyet
09ac89a47c [Kandinsky] Simple black-on-white text
Change-Id: Ie6b41624912273191b7a5dd46380aebd39387f10
2016-08-12 10:22:34 +02:00
Romain Goyet
ff3cca0867 [Escher] Remove App::runningApp
Change-Id: I4953bae09391079b77c93ee482c6e9cd8202c2d4
2016-08-12 10:22:00 +02:00
Romain Goyet
53cf3e2ead [Escher] Responder can get a pointer to the parent App
We assume the root parent is the App. This works well because each view
controller is a Responder.

Change-Id: I5d90053949a4ffbdb78746cc85430a15138e48e7
2016-08-12 10:12:22 +02:00
Romain Goyet
6e0aeaf501 [kandinksy] Fix generation of the png font map
Change-Id: I6618deac5eab56f27fcea9912a6e867bde513599
2016-08-10 14:19:38 +02:00
Romain Goyet
656eceb39c [ion] Split the regs headers
Change-Id: I5046ecb132bff215a1e256a70fe75d31a2c3fe2e
2016-08-10 14:19:11 +02:00
Romain Goyet
331bd3f480 [ion] Improve the register header
Change-Id: I109ad5779049e6ea7144492f7310b42933ecd626
2016-08-10 11:50:43 +02:00
Romain Goyet
f3787ac0da [ION] Use C++ for the LED PWM settings
Change-Id: I46b70ee703f35173913c953bcfe4442336f740b5
2016-08-09 14:47:46 +02:00
Romain Goyet
afebacdb63 PicView uses a faster rect fill
Change-Id: I08fdff5b85fa7687a37556ca1d88a51cf338ab12
2016-08-08 12:01:09 +02:00
Romain Goyet
3cd4639f44 Add a picture viewer
Change-Id: I35dd150f415119e80f7463515a70e2d9bd058a14
2016-08-08 11:46:38 +02:00
Romain Goyet
ada53fed0d PWM LED driving
Change-Id: Ic3eb3c13e5a0f35e13caf96039304647b2363bd2
2016-08-05 18:44:12 +02:00
Romain Goyet
197333c83b OpenOCD uses an STLink
Change-Id: Ie7aee7c557edc0db34cdffbbc0d432c27c446812
2016-07-21 13:43:57 +02:00
Romain Goyet
5de28e01db Migrate Kandinsky to C++
Change-Id: I2752a8db84ad0bb817119cf6c2993c1622621150
2016-07-21 13:42:32 +02:00
Romain Goyet
30aa62e3c5 Escher: Introduce the TiledView
Change-Id: I97d612cf89bd9cf45f8b440881918b9626cd65f6
2016-07-21 11:32:33 +02:00
Romain Goyet
8e4b1666bb Kandinsky: KDFillRect takes a pattern, always
Change-Id: I32113345d742f21c0e238c1707bcee0116694d6f
2016-07-05 13:32:47 +02:00
Romain Goyet
1b4b2638f7 [liba] Use stddef.h
Change-Id: I6bd0999d173488e4aff989bdb1bfa93229de7eaa
2016-07-05 13:27:33 +02:00
Romain Goyet
0843fcd62c Kandinsky: Use a KDContext
Change-Id: I91055c7b59586b0dec08a426a9c617a12d8128dc
2016-07-05 10:36:48 +02:00
Romain Goyet
1cdb7cac9d Graph: Secondary grid
Change-Id: Ie4c38ce7b0db3c31d85300a89619883b1bf5109e
2016-06-21 14:06:01 +02:00
Romain Goyet
b848463d66 Graph: Factor the axis drawing methods
Change-Id: Ie301b2856d5d769ee82c72a81e31309fdbd3d0b9
2016-06-21 12:18:54 +02:00
Romain Goyet
eed0f4af95 Graph: Draw axis and grid
Change-Id: I06d01dfbf7f45920aa32fd5c85819c75309fbfc4
2016-06-21 11:45:58 +02:00
Romain Goyet
fa8e23c9a7 Graph: Use longer text
Change-Id: I9057acfe6e4467aac2763d4d9f3ed4649d981121
2016-06-21 11:45:28 +02:00
Romain Goyet
70f89c2566 Graph: Clean the App controller
Change-Id: Icd7af42aa497245a799417eabc4de31a8e0eba8a
2016-06-21 11:45:12 +02:00