Commit Graph

116 Commits

Author SHA1 Message Date
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
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
Przemyslaw Brudny
8f92715951 [EDG-3019] Segger utils moved to git submodule 2020-03-23 18:37:37 +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
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
58c11d6ded [EGD-2999] Antenna Select fix 2020-03-19 14:16:44 +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
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
3abbe29556 [EGD-2508] Added linux test harness stub 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
79001fe671 [EGD-2508] [WIP] Added parsing of STX/ETX and JSON requests 2020-01-22 08:26:20 +01:00
Adam Dobrowolski
9634201b53 [EGD-2508] test_harness - added serial 3 receive 2020-01-22 08:26:20 +01:00
Adam Dobrowolski
c5c9ea0087 [EGD-2335] WIP: handling keys moved to widget - works smoothly 2019-11-27 11:09:52 +01:00
Adam Dobrowolski
5e8d3ae71a [EDG-2135] Bluetooth: review applied 2019-11-20 12:42:03 +01:00
Adam Dobrowolski
8a80c56d57 [EDG-2135] bluetooth: Fixed build on linux 2019-11-20 12:42:03 +01:00
Adam Dobrowolski
d3b1a08e68 [EDG-2135] Bluetooth: bluetooth r/w control imporoved
* Improved bluetooth library interface write in one demand
* can start scan
* not used BT options hidden
* still some issues on flood - transaction style interface should be considered
2019-11-20 12:42:03 +01:00
Lukasz Skrzypczak
8d2db70e2a [EGD-2167] Merged (consider remove) 2019-11-19 12:53:29 +01:00
RomanKubiak
5e491d4a63 [WiP] [EDG-2167] Working CMUX, call in/out. Code to be cleaned 2019-11-19 12:53:29 +01:00
Adam Dobrowolski
d03a6ed2d7 Bluetooth: Post master rebase fixups 2019-10-14 15:32:06 +02:00
Adam Dobrowolski
299143b01d Bluetooth: stable on PurePhone 2019-10-14 15:32:06 +02:00
Adam Dobrowolski
07a89b0294 Bluetooth: Handled via servive & worker - drops data
BlueKitchen requests from data, which doesn't mean it knows amount
need - need to provide handling to buffer in Uart handler - than
copy form handler on request, then sent notification when ready
2019-10-14 15:32:06 +02:00
pholat
5cecc2f7bf Bluetooth: BlueKitchen interface
Interface for BT added
2019-10-14 15:32:06 +02:00
pholat
eaa79e3032 Bluetooth: Added BlueKitchen & split build depending on bluetooth library
Compiles for both Linux and Cross
2019-10-14 15:32:06 +02:00
pholat
11cdbf1c9c Bluetooth Bluetopia interface added
Compiles, starts service and initializes Bluetopia in A2DP mode
2019-10-14 15:32:06 +02:00
pholat
f654810685 Bluetooth initial peripherial code setup 2019-10-14 15:32:06 +02:00
Mateusz
99c0143ca6 WiP: Power switch off, ready to be tested 2019-10-03 12:18:04 +02:00
Mateusz
289236d863 WiP: Handling resume/suspend requests in incorrect state 2019-09-09 08:31:06 +02:00
Mateusz
383d40fc52 Fix: Linux build 2019-09-09 07:55:31 +02:00
Robert Borzecki
18ac47c10f Added phonebook windows. 2019-09-06 21:19:33 +02:00
Mateusz
22ad981b01 WiP: Suspend/Resume procedure implementation + testing 2019-09-04 13:43:27 +02:00
Mateusz
08638faac3 WiP: Update services with powermode handler implementation 2019-09-02 14:09:06 +02:00
Kuba
8835b90756 Merge branch 'master' of github.com:muditacom/PurePhone into gsm_initialisatin_fix 2019-08-23 12:49:33 +02:00
Kuba
96e1004941 Code cleanup, added AP_READY pin configuration command. 2019-08-23 12:48:23 +02:00
Kuba
3795bd3012 GSM module initilaisation fixed. 2019-08-23 11:27:09 +02:00
Mateusz
0342924aab WiP: Turned off PLL3 as it's not used 2019-08-21 14:05:05 +02:00
Mateusz
920f50d99a WiP: Fixed bsp-cellular pin conf 2019-08-20 09:35:15 +02:00
Mateusz
9f320d38f6 WiP: bsp-cellular, gpio update 2019-08-20 08:30:58 +02:00
Mateusz
055f5f2d7c WiP: drivers interface refactor 2019-08-19 19:14:36 +02:00