Commit Graph

38 Commits

Author SHA1 Message Date
Romain Goyet
ada205b1a7 [build] Use variants
- Move helpers functions into build/helpers.mak
- Move official warning into official targets only
2020-04-03 22:26:55 -04:00
Léa Saviot
ebc5843795 [apps/ion/exam_mode] Store the exam mode activation in the flash
This way, it is not cleared by a reset
2019-12-11 13:51:38 +01:00
Romain Goyet
db03aad6b3 [ion] Conditionaly use EPSILON_SIMULATOR_HAS_LIBPNG
Avoid it on Emscripten where it's not available
2019-10-01 15:38:27 +02:00
Romain Goyet
e81426f93b [build] Clean the different targets 2019-10-01 15:38:27 +02:00
Romain Goyet
d1d95ee9b8 [ion] Rename sdl to simulator 2019-09-27 17:57:05 +02:00
Romain Goyet
fd6c5f1c89 [ion] Remove the FLTK simulator 2019-09-27 17:57:05 +02:00
Émilie Feral
059c596a80 Makefiles: avoid building all sources for each target; introduce more
modularity
2019-08-08 17:22:01 +02:00
Léa Saviot
2cc222856e [ion] remove crc32Padded 2019-04-25 17:11:06 +02:00
Léa Saviot
da5a2d15f7 [apps/on_boarding] Power-on self-test
POST checks the battery, VBLANK and LCDData
2019-04-24 16:18:55 +02:00
Romain Goyet
414f76b70b [scripts] Fix blackbox, emscripten, and simulator 2019-03-06 15:00:59 +01:00
Léa Saviot
e619ee0f2c [ion] Fix crc32_padded inclusion 2018-11-23 12:03:59 +01:00
Damien Nicolet
f93bf97182 [ion] Sharing millis & micros for blackbox and simulator 2018-11-09 01:30:22 +01:00
Romain Goyet
f1198d3c76 [ion] Add Ion::stackSafe
This allows asserting the stack is within bounds
2018-10-12 09:36:44 +02:00
Émilie Feral
4613dd9d8f [ion] Change LED API 2018-08-23 17:40:47 +02:00
Romain Goyet
a29c775663 [ion] Encode the serial number in Base64
Also, expose serialNumber() in Ion and keep "copySerialNumber" in
Ion::Device. This allows the DFU bootloader to remain .bss-free.
2018-05-04 17:31:41 +02:00
Léa Saviot
0e977bac00 [ion] Use dummy usb.cpp in simulator.
Change-Id: Id7f0e110a661372702d550883b6d341c1b5915d4
2018-04-09 15:35:50 +02:00
Jacob Young
115f75c06a Fix #8 with a custom getEvent for the simulator. 2018-01-16 09:59:49 +01: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
6a888136c3 [apps/settings] Add FCC ID in about menu
Change-Id: Iafe06e56591399a1442b8de64257990ffa23ddac
2017-06-02 14:16:55 +02:00
Romain Goyet
7f4ac05b55 [ion] Share the dummy battery implementation
Change-Id: Id85dc5b65bc31bc59e8a130b9f18077eaa37f4d3
2017-04-25 17:03:50 +02:00
Romain Goyet
5a1e890eeb [ion] Share the dummy backlight implementation
Change-Id: Id9dcaa0a72d10cd2ff3a147ebf6443725639ebd2
2017-04-25 14:04:40 +02:00
Émilie Feral
c2b6777b58 [apps] Extinction and backlight timers
Change-Id: I91daf6ab78fff9ec4bc924915a17a559f9ddfa63
2017-04-25 11:00:04 +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
4e920d2a6c [apps/hardware_test] Add LED test
Change-Id: I998074b74357f76a624962bfa274ebf7a10ac0fc
2017-04-03 14:04:13 +02: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
809fd8a17a [ion] Ion::random()
Change-Id: Ib85055ab3b4bf3dfce991f9990659c744be20f39
2017-02-20 16:14:48 +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
6343a84735 [ion] Fix the C API
Change-Id: Ifbe11515171d7ee919f90fb28d63907c3c4cfd42
2017-02-14 11:24:47 +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
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
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
831c42796b [ion] Add battery-related functions
Change-Id: Ib63b48140a8347d0d07902d956a3685fb040c481
2016-08-29 13:25:14 +02:00
Felix Raimundo
605dd9f372 Add memory_map for simulator.
Also use clang for the simulator building.

Change-Id: I87f5b938d9066375fbfabfdcdd3c5218c9790bb0
2016-03-22 18:39:59 +01:00
Felix Raimundo
fd972bce65 Fix build
Change-Id: If550f0db40be8085fade58896f7d8a1b7db2cb47
2016-03-18 10:48:17 +01:00
Romain Goyet
96b46818ac [ion] Clean the simulator 2015-09-19 18:59:36 +02:00
Romain Goyet
1e4c5cdc0a [ion] cleanup 2015-09-19 11:01:38 +02:00