Commit Graph

642 Commits

Author SHA1 Message Date
Émilie Feral
f089ea8ddf [escher] merge label view and text view in text view
Change-Id: Ia2422af03ebb79ba7450a1c8d220933cdd7a4586
2016-09-22 14:54:56 +02:00
Émilie Feral
0178a7fff9 [escher] correct metric names
Change-Id: I69e8292a7abd5799c9248631a4ef9527a58c7413
2016-09-22 09:52:04 +02:00
Émilie Feral
b54c992938 [escher] implement redraw in switch view
Change-Id: I9a917f2788e918acb68b139cb55132497954ca3b
2016-09-22 09:51:43 +02:00
Émilie Feral
788f1ed5c8 [escher] reorder the instance variables of label
Change-Id: I6b5cbe3ca40f83edf17101153b62b91e4b23f096
2016-09-22 09:34:52 +02:00
Romain Goyet
42d0bd045a [liba] Update the size_t definition
Change-Id: I88bf9b82956c471e5da53525e98af89bfaab5d48
2016-09-21 14:09:35 +02:00
Romain Goyet
e24d8a55fb [liba] Update the size_t type definition
size_t must be an unsigned it. Moreover, by definition, size_t is the
return type of the "sizeof" operator, which is defined by the compiler.
Both GCC and clang define a __SIZE_TYPE__ macro to let the libc header
know about the type used by the sizeof operator.

Change-Id: Ie44f1ba69fe2b1d5ce5cd9a0e7fd8a7f10c1199d
2016-09-21 14:03:52 +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
Émilie Feral
47db327752 [escher] add metric constants
Change-Id: I5a46afe6e97dde3ee480507ba576373a645bc254
2016-09-21 12:08:24 +02:00
Émilie Feral
a0870a563b [escher] define a class "metric" similar to palette
Change-Id: I0c0c9898b55ad562de726c4d11ba2dfaea534a6c
2016-09-21 11:55:19 +02:00
Émilie Feral
56edcded0a [apps/graph/list] Add a switch to the parameter page in graph app
Change-Id: I51f432939157cbd772e7e868d3e0c8e54d279a6d
2016-09-21 11:55:18 +02:00
Émilie Feral
a28731c459 [escher] define table view cell switch and switch view
Change-Id: I7bf72c7f0e938513d5baeb44a07b6906bc5adebf
2016-09-21 11:55:18 +02:00
Émilie Feral
219d6e6731 [escher] change structure of table view cell and define label view
Change-Id: Iaeb3f567c4e1be6dfea3076ee7465c21e5ad98e9
2016-09-21 11:55:01 +02:00
Émilie Feral
0741cd091a [escher] define a palette
Change-Id: Ia5fda18da5f0830071ad68e73ed627451c546438
2016-09-20 15:41:34 +02:00
Émilie Feral
88c74e5e6d [escher] display page title on stack headers
Change-Id: Ia5e5f0f2b735a89f4559af0edb13c5668eecc142
2016-09-20 15:41:34 +02:00
Romain Goyet
5385a45609 Merge "[apss/graph/list] implement the parameter page as a table view data source" 2016-09-20 13:46:19 +02:00
Émilie Feral
3298e956ef Merge "Clean the dynamic dependency files (.d)" 2016-09-20 12:11:00 +02:00
Émilie Feral
6594628fa8 [apss/graph/list] implement the parameter page as a table view data source
Change-Id: Id27758683f67419c3741754dc40ead6712bd1232
2016-09-20 12:08:45 +02:00
Émilie Feral
faf438e0c4 [escher] define class table view cell
Change-Id: I9291a9239a269cc4a85b87e9a94a00e8d8f72b03
2016-09-20 11:54:37 +02:00
Romain Goyet
e822a74393 Clean the dynamic dependency files (.d)
Change-Id: I75ac64fea628f0e1762f58de887c790376af230a
2016-09-20 11:26:01 +02:00
Émilie Feral
1f7ba888c9 [apps/graph] add an attribute "activate" to functions
Change-Id: I1a1f548c540a6e31fe9ce1aeb742bf6a6292362c
2016-09-20 11:12:46 +02:00
Émilie Feral
8a27740719 [escher] in stack view controller, correct the size of the content view
Change-Id: Idc5e8f6f7a771855c924ed8d108884d71ce4f8db
2016-09-19 15:07:00 +02:00
Émilie Feral
52f30ddf28 [apps/graph/list] turn the childless function cell in a controller with two subviews
Change-Id: I7606a3c2b4ab81cba90b78ed70dac9ba6ebb09c2
2016-09-19 15:07:00 +02:00
Romain Goyet
05be5f01cc Merge changes I7c8e976e,I7a8fd170,Idbcdff57
* changes:
  [apps/graph/list] clean the list controller (handle parameter controller)
  [apps/graph] Add a name attribute to functions
  [escher] define class invocation
2016-09-19 09:56:55 +02:00
Émilie Feral
844d6f848e [apps/graph/list] clean the list controller (handle parameter controller)
Change-Id: I7c8e976ebcceb7071e0f57348af4b07203d35adb
2016-09-16 17:27:06 +02:00
Émilie Feral
082a3883cd [apps/graph] Add a name attribute to functions
Change-Id: I7a8fd1701b026b27d1dfcfc87fc92398c494e7fd
2016-09-16 17:23:45 +02:00
Émilie Feral
c633fbda4d [escher] define class invocation
Change-Id: Idbcdff574aa9b79864d26a13448a5b6c896f65f4
2016-09-16 17:20:29 +02:00
Romain Goyet
5f2427aef2 Instruct Make about #include dependencies
Change-Id: I5e87f31c0a67b9cd59271f25a213aa68ee99ce51
2016-09-16 15:34:52 +02:00
Émilie Feral
46c5353116 [escher] Add a booleen in stack controller to decide whether or not display the first stack header
Change-Id: I13bdb3c70da9d1ef16f192439d6daf6a00438ad4
2016-09-16 13:33:48 +02:00
Émilie Feral
2fed1c6a16 [escher] correct how tab controllers handle events
Change-Id: I22e312193e4a382f8f6998bac80425386d76b7f8
2016-09-16 13:33:48 +02:00
Émilie Feral
bc9e504394 [apps/graph] add a method in list/graph controller to return the parent tabController
Change-Id: I4865b6a6096a96a570cc9cc8d0b8802294ba2225
2016-09-16 13:33:22 +02:00
Émilie Feral
fe64210c12 Merge "[ion] Enable building with --gc-sections" 2016-09-16 11:57:48 +02:00
Émilie Feral
13b1a24d37 Merge "[ion] Update the linker script for the device" 2016-09-16 11:57:00 +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
Émilie Feral
8558d1f4de [escher] suppress the drawing of the first controller of a stack controller
Change-Id: I8d4efaea268a24ec731e8db5cc43abd172c7ead0
2016-09-16 11:43:00 +02:00
Émilie Feral
6917b2c534 Merge "[ion] Actual device suspend" 2016-09-16 11:25:55 +02:00
Émilie Feral
6cbee576e5 Merge "[ion] Regs now have a SCR register for Cortex M4" 2016-09-16 11:15:45 +02:00
Émilie Feral
b44f773d40 Merge "[ion] device/led now supports suspend/resume" 2016-09-16 11:15:17 +02:00
Émilie Feral
ff09d56868 Merge "[ion] device/display now implements suspend/resume" 2016-09-16 11:07:35 +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
Romain Goyet
99691c8e3f [ion] device/led now supports suspend/resume
Change-Id: Icff96947d94659d035a690cb53233d2bc77b285e
2016-09-16 10:38:08 +02:00
Romain Goyet
284a42c5a3 [ion] device/display now implements suspend/resume
Change-Id: Icdf99ea9a41e740df6825ad6349967320f0432b7
2016-09-16 10:38:08 +02:00
Émilie Feral
1b3c3a1e72 [apps/graph/list] allow return to tab from the list of function
Change-Id: I8359c60906bbbe43fb2c90d4820b88c563489514
2016-09-16 10:33:39 +02:00
Émilie Feral
9f21d89bbf [escher] change the color of selected/active tab
Change-Id: Id84fa82aa8caccf224a460b432092edc1e3c9279
2016-09-16 10:31:19 +02:00
Émilie Feral
c19ee9da0c [apps/graph/list] change color of selected function cell
Change-Id: Ib1069046e72ff9a809b18221d2a853f1ae82dcab
2016-09-16 10:30:00 +02:00
Émilie Feral
d344835477 [apps/graph/graph] allow to return to tab from graph view
Change-Id: Ibd78489aa65e7ee2ced9745194c4ff0cf535dd8a
2016-09-16 10:15:41 +02:00