Commit Graph

303 Commits

Author SHA1 Message Date
Adam Dobrowolski
4a61f400e7 EGD-3055 Fixed printf issues 2020-04-08 12:23:53 +02:00
Adam Dobrowolski
769333d003 EGD-3056 Added reset option via watchdog
To use run:
```
    bsp::watchdog::init();
    bsp::watchdog::system_reset();
```
2020-04-03 10:41:57 +02:00
Alek-Mudita
36be49c15b Egd 3046 unexpected reset (#274)
* [EGD-3046] fix HF handler
added boot reason printing and clearing

* [EGD-3046] added prining of  GPR_5 on checking boot reason

* [EGD-3046] added halt if debugging

* [EGD-3046] halt if debugging only in exit

* [EGD-3046] rename

* [EGD-3046] added DEBUG check

* [EGD-3046] fixed formatting

* [EGD-3046] fixed includes
2020-04-01 16:34:56 +02:00
Mateusz Grzywacz
035e29c407 [EGD-3047] T4 gsm status pin mux pull-up value 2020-03-31 13:07:49 +02:00
Mateusz Grzywacz
85702d9647 review fixes 2020-03-26 22:08:26 +01:00
Mateusz Grzywacz
cb88646bb7 [EDG-3032] charger fixes - WCINOKB is never used (because WCIN is NC) 2020-03-26 22:08:26 +01:00
Przemyslaw Brudny
c0822b6658 [EDG-3019] Moved log.hpp and debug.hpp into main PurePhone repo 2020-03-24 15:55:32 +01:00
Mateusz Grzywacz
6c9ebb83c3 [EGD-2961] vibrator CMake target fix 2020-03-24 15:16:24 +01:00
Adam Dobrowolski
7674b44385 EGD-3026 PR applied, fixed buid for release 2020-03-24 14:17:12 +01:00
Adam Dobrowolski
abe6813ce6 EGD-3026 Wall Werror and Wextra added to project 2020-03-24 14:17:12 +01:00
Przemyslaw Brudny
8f92715951 [EDG-3019] Segger utils moved to git submodule 2020-03-23 18:37:37 +01:00
Mateusz Grzywacz
478ca96d4c [EGD-3011] T4 - sim tray rename and refactor & NC pin 2 2020-03-23 16:47:54 +01:00
Mateusz Grzywacz
ab18fae37e [EGD-3011] T4 pins
- pin conf (SIM sel + DTR pin + hysteresis)
- cts fix (charger state change)
- details, comments
2020-03-23 16:47:54 +01:00
Mateusz Grzywacz
5f261dc20d [EGD-3012] T4 - gsm Status IRQ 2/2 + SIM refactor (common queue) 2020-03-23 16:47:54 +01:00
Mateusz Grzywacz
120cee94a0 [EGD-3012] T4 - gsm Status IRQ 1/2 2020-03-23 16:47:54 +01:00
Mateusz Grzywacz
f49ef2926f [EGD-3012] T4 gsm status 2020-03-23 16:47:54 +01:00
Mateusz Grzywacz
dd7f984866 [EGD-3011] T4 - sim tray rename and refactor & NC pin 2020-03-23 16:47:54 +01:00
Mateusz Grzywacz
3fc51b3ce3 [EGD-3012] T4 - gsm Status 0/2 2020-03-23 16:47:54 +01:00
Mateusz Grzywacz
7757990d84 [EGD-2989] T4 - all pin definitions 2020-03-23 16:47:54 +01:00
Mateusz Grzywacz
faa6d72dea [EGD-2961] T4 - vibrator conf (pinmux) + off @ init 2020-03-23 16:47:54 +01:00
Mateusz Grzywacz
05ac844b77 Revert "vibrator_master_off Disable wibrator enabled in bootloader in PurePhone code"
This reverts commit 7d2bd511
2020-03-23 16:47:54 +01:00
kkleczkowski
fab7d5d8e3 [EGD-3030] Pull-ups onf charger INT pins enabled. (#252)
Co-authored-by: Kuba Kleczkowski <dd>
2020-03-23 14:01:25 +01:00
Radoslaw Wicik
8dea0d7675 [EGD-2981] Add UT target: check
Clean CMake tests targets
2020-03-20 16:46:11 +01:00
Przemyslaw Brudny
8f3cc846d2 [EGD-2978] SystemView build parameter added and log_redirect cleanups 2020-03-20 14:28:57 +01:00
Przemyslaw Brudny
e7cb0cb579 [EGD-2978] Formatter cleanups 2020-03-20 14:28:57 +01:00
Przemyslaw Brudny
2f30344740 [EGD-2978] Performance improvements, RTT logs redirected to SystemView 2020-03-20 14:28:57 +01:00
Adam Dobrowolski
87f3f8044a vibrator_master_off Disable wibrator enabled in bootloader in PurePhone code 2020-03-20 09:19:22 +01:00
Mateusz Grzywacz
42ee39e1f1 [EGD-2999] Antenna fix fix 2020-03-19 19:51:01 +01:00
Adam Dobrowolski
e4de2a2410 SIM hot swap fixes and system abort on not enabled hot swap feature
* SIM hot swap should now properly show |x| in sim place when there is
  no SIM inserted in selected sim slot
* ServiceCellular now can inform on Fatal state desktop which will
  trigger window `Reboot` with no point of exit
* All windows in Desktop now have name in one place
* Access to cmux channels via enum class instead of String (which is errorprone)
2020-03-19 14:53:03 +01:00
Mateusz Grzywacz
58c11d6ded [EGD-2999] Antenna Select fix 2020-03-19 14:16:44 +01:00
rkubiak01
dc9169a1db USB_CDC fixded device descriptor, added serial number (1040) 2020-03-18 12:55:31 +01:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
Adam Dobrowolski
b2fdb91ade EGD-2848 Dont enable sim by default - let it be dependent on sim tray and gsm state 2020-03-12 15:24:39 +01:00
pawel-mudita
d1665ed3ba [EGD-2855][EGD-2856] Parser for desktop app (#188)
* [EGD-2306] DESKTOP application initial commit

most of this code is foreign and unverified
it's low level magic numbers for the platform

on Linux i used PTY to simulate a serial line

* [EGD-2306] Add contact-list and contact-count commands

* [EGD-2306] Add command for geting contact by id and minor fixes

* [EGD-2856][WIP] Add basic serial parser

* [EGD-2855] Set usb device config buffer property cacheable

* [EGD-2856] Separate handlers from fsms, add status codes

* [EGD-2855] fd passed to state machine for linux renderer support

* [EGD-2856] Fix warnings

* [EGD-2855] New send task added and buffer queque

* [EGD-2856] Add simple ServiceDesktop documentation

* [EGD-2855] rt1051 worker refactor

* [EGD-2855] Added service workers for desktop app.
Changed linux USB driver mock up.
Added queue name mapping for service workers.
Added queue registry support (maybe redundant with mapping)

* [EGD-2855] Added proper message pointer to queue send and memory free
Added bsp driver namespace for linux and rt1051

* [EGD-2856] Major cleanup

* [EGD-2856] Fix typo

* [EGD-2856] Fix warnings

* [EGD-2856] Delete recursive fsm calling to prevent stack overflow

* [EGD-2856] Reduce http codes

* [EGD-2856] Rename serial parser to parser

* [EGD-2855] USB_CDC drives renames and cleanups
Service Worker queue cleanups

* [EGD-2855] Service Worker queue cleanups

* [EGD2855] Fixed external driver import

* [EGD-2856] Remove redundant message type

* [EGD-2856] Switch on enums instead of ints, and other minor changes requested after code review

* [EGD-2855] usb driver moved to bsp directory structure, pull request fixes

* [EGD-2855] clang #include fix

* [EGD-2856] Add tinyfsm as git submodule, update readme and minor fix

Co-authored-by: rkubiak01 <56821808+rkubiak01@users.noreply.github.com>
Co-authored-by: PrzeBrudny <60609703+PrzeBrudny@users.noreply.github.com>
2020-02-27 15:34:42 +01:00
kkleczkowski
2868c87322 Egd 2854 antenna test app (#184)
* [EGD-2854-antenna-test-app] Antenna app + window.

* [EGD-2854-antenna-test-app] Cellular API, antenna app gui.

* [EGD-2854-antenna-test-app] Pin mux, small gui improvements.

* [EGD-2854-antenna-test-app] Compilation fix.

* [EGD-2854-antenna-test-app] PR suggestions.
2020-02-25 15:42:03 +01:00
Radoslaw Wicik
0400e5c18b [EGD-2886] Unify and repair build system. 2020-02-19 14:55:14 +01:00
Adam Dobrowolski
470bd9990b [EGD-2571] PR cleanup & mocups for linux 2020-02-18 07:39:16 +00:00
Adam Dobrowolski
0f01851fb3 [EGD-2571] Development: sim selection GUI 2020-02-18 07:39:16 +00:00
Adam Dobrowolski
c082b015e6 [EGD-2571] SIM tray notifications works - no sim, or sim notifications & GSM reload 2020-02-18 07:39:16 +00:00
Adam Dobrowolski
66467ab9d2 [EGD-2571] refactor - commands on GSM - SIM working 2020-02-18 07:39:16 +00:00
Adam Dobrowolski
55220c45a5 [EGD-2523] Added sim card indicator on topBar 2020-02-18 07:39:16 +00:00
Adam Dobrowolski
2a57cfccd5 [EGD-2571] SendCommand commonized between ATparser and DLC_channel
* option to handle response based on OK/ERROR
* better return value - Response code & response values
* common parent for common behaviour (TODO add ->cmd(...) to mux channels)
* better logging
* small fixups
2020-02-18 07:39:16 +00:00
Adam Dobrowolski
76d5802275 [EGD-2532] HW timer tested, call made, seems fine 2020-02-04 12:23:34 +01:00
Adam Dobrowolski
f36c0c5528 [EGD-2532] Added and tested PIT timer 2020-02-04 12:23:34 +01:00
Mateusz Grzywacz
8d0b50735f [feature] add separate folders in CMake conf & change type of a variable. rebuild.sh updated & docs on separate build folders 2020-02-03 14:12:47 +01:00
Adam Dobrowolski
3abbe29556 [EGD-2508] Added linux test harness stub 2020-01-22 08:26:20 +01:00
Adam Dobrowolski
5407355177 [EGD-2508] Pre PR cleanup 2020-01-22 08:26:20 +01:00
Adam Dobrowolski
685e4666b8 [EGD-2508] test_harness works ok for app manager debug purposes 2020-01-22 08:26:20 +01:00
Adam Dobrowolski
956068e1a3 [EGD-2508] test_harness sending keypresses ok, system start detection ok 2020-01-22 08:26:20 +01:00
Adam Dobrowolski
906b0951ec [EGD-2508] [WIP] test_harness: sending keypress works ok 2020-01-22 08:26:20 +01:00