Commit Graph

212 Commits

Author SHA1 Message Date
Romain Goyet
cc2d6847c0 [ion/device] Add an EXIT command to the bench
Change-Id: Id616aaf9528ce5dfd2ffe35884bac5f36e4b2c2c
2017-03-17 16:53:58 +01:00
Romain Goyet
c494eba179 [ion/device/bench] Remove duplicate MCU_SERIAL
Change-Id: I46b1f4e9f6709bfdb76b14a5017d8ee982652c91
2017-03-17 16:34:34 +01:00
Romain Goyet
f68dfe1338 [ion] Events from stdin
Change-Id: I3ad9900b44eb1907f02c619227894ffcdc59f459
2017-03-17 16:00:53 +01:00
Romain Goyet
e7be0bbcae [ion] Add stdio console
Change-Id: If608587fb88912c887a26fb1ba729740357d39c9
2017-03-17 16:00:53 +01: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
8d42871c8b Merge changes I292a3c10,I54b99678
* changes:
  [ion] Boot on the bench if keys A1 and I5 are pressed after reset
  [ion] Move the bench test in ion
2017-03-16 18:09:59 +01:00
Émilie Feral
0e13b81583 Merge changes If0640ecd,Idd8545cf,Iae352e67,I44329fb7
* changes:
  [ion]  Correct event text in events
  [poincare] Parse "3->A" (sto)
  [apps][poincare] Add a submenu to toolbox about fluctuation intervals
  [poincare] Add tests on symbols
2017-03-16 17:37:08 +01:00
Émilie Feral
1f10ceb307 Merge changes Ifbec48f2,I0972a3cd
* changes:
  [kandinsky/font] Clean font
  [poincare] Parse re() and im() functions
2017-03-16 15:43:40 +01:00
Émilie Feral
7c59498bff [ion] Correct event text in events
Change-Id: If0640ecd9917c18001aa0c52821bace5e4025462
2017-03-16 15:12:10 +01:00
Émilie Feral
91385765d8 [poincare] Parse "3->A" (sto)
Change-Id: Idd8545cfcb91cebc7f95e2425db795e8105da14b
2017-03-16 15:12:10 +01:00
Émilie Feral
6230eaa4b3 [kandinsky/font] Clean font
Change-Id: Ifbec48f21253caf527435e660a2961d2d6f6f436
2017-03-16 15:12:08 +01:00
Romain Goyet
dd8ffaabd5 [ion] Boot on the bench if keys A1 and I5 are pressed after reset
Change-Id: I292a3c1061c20ee5834e27dcc93ea2da65f6cabe
2017-03-16 14:55:01 +01:00
Romain Goyet
9e3c052830 [ion] Move the bench test in ion
Change-Id: I54b99678df969e6e3e86c2d3858d04088a40f047
2017-03-16 14:20:46 +01:00
Romain Goyet
311a6f985d [ion/device] Stop APB1
Change-Id: Icf84297e4c1539628c45804a8abf69e16117c294
2017-03-15 17:18:20 +01:00
Romain Goyet
4fde3a5304 [ion/device] Put all GPIOs except SWD as Analog/NoPuPd by default
Change-Id: I1c2874e0eceb5ea6fc7f98d91db9b6a454859bdd
2017-03-15 17:17:22 +01:00
Romain Goyet
1fc8e8ebd0 [ion/device] SWD powersave
Change-Id: I0550907f649829a4873ae2ffe8076f2c7132abc0
2017-03-15 16:16:43 +01:00
Romain Goyet
0cbc2cbaa2 GPIO power save should be mostly done by now
Change-Id: Ic4c5b8571cb3c95ef2347b1b1b387edab3aa3443
2017-03-15 16:16:13 +01:00
Romain Goyet
54a941b160 [ion/device] Always run at 96 MHz
Change-Id: I49588bdaae926cc5342f153ca8bbcc3dd1f29017
2017-03-15 16:14:13 +01:00
Romain Goyet
9a7d7176a3 [ion/device] Shutdown the console
Change-Id: Ia3eecdca4bb2b6f125896f4b8236e11c8323f5ba
2017-03-15 16:13:52 +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
Romain Goyet
7a87c6805b [ion/device] Fix building console.o
Change-Id: I4d59900fccbb6f08946195a28ff9728ea3498288
2017-03-06 10:17:50 +01:00
Émilie Feral
40527e76b6 Merge changes Id5700072,Ib85055ab
* changes:
  [ion] Enable logging event names in DEBUG
  [ion] Ion::random()
2017-03-02 16:39:06 +01:00
Émilie Feral
c2ee9d2984 Merge changes I01ad7dfd,I0aaa139b
* changes:
  [ion/device] Minimal clock setup to enable RNG
  [ion] Use a C API for logging
2017-03-02 13:53:34 +01:00
Romain Goyet
eaeed82eea [ion] Add a Ion::serialNumber function
Change-Id: Ib2dd1d9187936f5c044bbcbc21dc7164fe6e9822
2017-02-28 18:56:04 +01:00
Romain Goyet
78b947a6cc [ion/device] Use the proper ADC channel
Change-Id: I6dd4245cc4e8c8d0fc5ffd1fa53857e7774c5515
2017-02-28 18:24:23 +01:00
Romain Goyet
bca8a6fd86 [ion] Add a console facility
Change-Id: I34b406ae8589fdd2a5d6b826b34ac411359b58dc
2017-02-27 14:13:19 +01:00
Romain Goyet
8d5cd4b939 [ion/device] Add USART register
Change-Id: I4883a5bd5cd1092106729641e0bda051c6a7240c
2017-02-27 11:29:13 +01:00
Romain Goyet
d0300ff457 [ion/device] Add SPI registers
Change-Id: I5e91a31e0c4bfc11057714e57e7daad0eba41da3
2017-02-27 09:46:05 +01:00
Émilie Feral
f05086f910 Merge changes I3f379092,I917c09dd
* changes:
  [kandinsky] Change unicode symbol of e (exponential)
  [apps/sequence] Change default XNT text to 'n'
2017-02-20 17:54:46 +01:00
Romain Goyet
9c0b5b2008 [ion] Enable logging event names in DEBUG
Change-Id: Id5700072ada8fd8dd99dc076a808333e170214f8
2017-02-20 16:14:55 +01:00
Romain Goyet
809fd8a17a [ion] Ion::random()
Change-Id: Ib85055ab3b4bf3dfce991f9990659c744be20f39
2017-02-20 16:14:48 +01:00
Romain Goyet
bd220b2cd7 [ion/device] Minimal clock setup to enable RNG
Change-Id: I01ad7dfdb25f00b918263459660544f24d480257
2017-02-20 13:33:14 +01:00
Romain Goyet
abf8fcd259 [ion] Use a C API for logging
Change-Id: I0aaa139b3434b62618f5e8d6ac88fe164bca4c2b
2017-02-20 13:33:14 +01:00
Émilie Feral
dfda0223cc [kandinsky] Change unicode symbol of e (exponential)
Change-Id: I3f379092bc00975ce588a0fffdf425128079976c
2017-02-20 09:39:25 +01:00
Émilie Feral
7dd8ab9e7e Merge changes Id5618802,Ie8163568,I4d6cd1db,I3f2e7c80,Ia2ab2f4c, ...
* changes:
  [apps/probability] Comments to explain the 0.001 precision is proba
  [apps] Merge node navigation controller and box controller
  [poincare] Add test for functions (log, ln, root, abs, diff, int)
  [poincare] Correct naperian logarithm
  [kandinsky] Add a special char for e (2.7...)
  [Kandinsky] In font, for the i complex, use the i cyrillic instead of iota
  [apps/sequence/list] display the page change type when clicking on the sequence type row in the list parameters
  [apps/sequence/list] create a class change type parameter controller
  [escher] Create a class expression menu list cell
  [apps/sequence/list] Enable to delete all sequences
2017-02-20 09:34:46 +01:00
É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
Romain Goyet
b2823dc624 [Escher] Allow binary logging of events with a #define
Change-Id: Ia056b8681ac9274e8b24182f8d3e4e62e69bf6a5
2017-02-16 11:08:29 +01:00
Romain Goyet
a447c8d0b8 [ion] Ion::Log::print(int)
Change-Id: I5cdb33194d32b5ac219b92cb26d77fcc978cbcb4
2017-02-16 11:00:53 +01:00
Romain Goyet
a94e8c314f Simplify the makefile configuration
Change-Id: I826916e0d0b23f7429a66dfa7001b19dcc53080a
2017-02-16 11:00:17 +01:00
Romain Goyet
9b6b341c62 [ion] Clean the shared folder
Change-Id: I165135ec1600795266a331ee740e608be16c7933
2017-02-16 10:59:43 +01:00
Romain Goyet
1da13c5b91 [ion/device] Enable RNG register
Change-Id: If252378cec2709d22acf0b3b3046bbd88a306551
2017-02-16 09:43:58 +01:00
Romain Goyet
5a0ecfc1bc [ion/device] Enable powering the LCD controller from a GPIO
Change-Id: I9d5000cda527d04b3505afb3ecfc0ec07f2f1281
2017-02-14 11:24:52 +01:00
Romain Goyet
6343a84735 [ion] Fix the C API
Change-Id: Ifbe11515171d7ee919f90fb28d63907c3c4cfd42
2017-02-14 11:24:47 +01:00
Romain Goyet
6e8d9c1a11 [ion] Fix the blackbox platform
Change-Id: I1edddefdbf163855acb949eef4c1579c8b3721d6
2017-02-14 11:07:52 +01:00
Romain Goyet
335bccea4c [ion] Add a C bridge for the logging function
Change-Id: I70cc18700c6cf392e98c4ff89df897b330bde807
2017-02-14 10:58:46 +01:00
Romain Goyet
724fdb18e7 [ion] Implement Log::print using SWO on the device
Change-Id: I17e024535cc0f0daf74953c7221e2b98959e6c47
2017-02-14 10:57:30 +01:00
Romain Goyet
2005a3d822 [ion] Fix a volatile error
Change-Id: I8123b26d4b1b830ee4278b7fcc59d0ce552f0864
2017-02-14 10:55:30 +01:00