Commit Graph

93 Commits

Author SHA1 Message Date
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +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
Przemyslaw Brudny
5955c358e6 Service Worker queue cleanups 2020-02-24 12:28:02 +01:00
Przemyslaw Brudny
c54e56f6ba service worker queue name map and global queue registry added 2020-02-24 12:28:02 +01:00
Radoslaw Wicik
0400e5c18b [EGD-2886] Unify and repair build system. 2020-02-19 14:55:14 +01:00
Adam Dobrowolski
ae915f3512 [EGD-2571] Clenup: removed MessageType static_casts, fixed debug.h defines. Added GPIO event 2020-02-12 13:31:13 +00:00
pholat
2b275d7951 [EGD-2571] added GSM command sending & small refactor
* added GSM AT commands on 'Commands' channel
* refactor (for better console/script) handling
* docs update
* GSM request asynch send back on uart to requester
2020-02-11 08:41:26 +00: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
5407355177 [EGD-2508] Pre PR cleanup 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
Mateusz Grzywacz
aeaf39191b [EGD-2368] moved all AppTimer objects definitions to init list, to get rid of default AppTimer() ctor 2020-01-02 14:53:34 +01:00
Mateusz Grzywacz
e2cafcee70 [EGD-2368] changes requested in a PR 2020-01-02 14:53:34 +01:00
Mateusz Grzywacz
33ac431af4 [EGD-2368] Approach 2: timer object for use in Application. 2020-01-02 14:53:34 +01:00
Mateusz Grzywacz
c09df40905 [EGD-2368] Approach 1: list of timers 2020-01-02 14:53:34 +01:00
Adam Dobrowolski
8f4b33c1b5 [EGD-2327] Disabled PM and lock screen 2019-11-19 13:57:26 +01:00
Adam Dobrowolski
306cab225b Sys: Added assert() for invalid message parameters 2019-10-25 14:53:36 +02:00
Mateusz
7c7b20a939 Doc update 2019-10-25 13:56:41 +02:00
Mateusz
76c90f5676 Update: Power management doc 2019-10-25 11:46:46 +02:00
Mateusz
d7082e601f Fixed minor issues 2019-10-24 08:47:41 +02:00
Mateusz
96796b111b Added Power Management section 2019-10-24 08:39:36 +02:00
Mateusz
b2b8a01733 Minor fixes + improved formatting 2019-10-22 16:11:31 +02:00
Mateusz
e4d07c5d4e Updated README 2019-10-22 14:43:25 +02:00
Adam Dobrowolski
8c2622b2c2 Bluetooth compiles and starts on Purephone and Linux fine 2019-10-14 15:32:06 +02:00
Mateusz
0b470de378 Bugfix: gpio interrupts(power switch hold button) 2019-10-04 11:29:25 +02:00
Mateusz
6c7c622d42 WiP: Added actual poweroff procedure into system manager 2019-10-03 12:26:00 +02:00
Mateusz
7459153d2c Fix: Data msgs queue order during blocking SendUnicast 2019-09-20 09:33:29 +02:00
Mateusz
a8068e4157 WiP: Removed merge conflicts, 2019-09-17 16:57:44 +02:00
Mateusz
b4f9bc6512 Merge remote-tracking branch 'origin/EGD-2078-power-manager-app-manager' into pwrmgr_impl 2019-09-17 08:48:26 +02:00
Mateusz
6c4c8b7628 WiP: Suspend/Resume tests 2019-09-17 08:45:41 +02:00
Mateusz
2785d46fde WiP: Pwrmgr implementation 2019-09-16 14:09:54 +02:00
Mateusz
2fb4dd1ace Fix: SDRAM frequency scaling 2019-09-12 11:48:27 +02:00
Mateusz
b6781c47db temp cmmit 2019-09-12 10:47:02 +02:00
Mateusz
289236d863 WiP: Handling resume/suspend requests in incorrect state 2019-09-09 08:31:06 +02:00
Mateusz
a0db243599 Fix: Added missing return values 2019-09-09 07:57:54 +02:00
Mateusz
22ad981b01 WiP: Suspend/Resume procedure implementation + testing 2019-09-04 13:43:27 +02:00
Mateusz
883b8f2550 WiP: Extended sysmgr api
WiP: did some tests
2019-09-02 13:18:06 +02:00
Mateusz
8b4cf5e35a WiP: Added Suspend/Resume API 2019-08-30 10:37:51 +02:00
Mateusz
e8babd16d5 WiP: Removed unneeded WakeUp/GoSleep handlers
WiP: Added new handler - > SwitchPowerMode
2019-08-29 11:40:31 +02:00
Mateusz
79c645d8e0 Fix: CloseSystem procedure + parent/child hierarchy 2019-08-28 13:37:35 +02:00
Mateusz
d299f0916e Auto stash before merge of "EGD-2080_evtmgrdeinit" and "origin/EGD-2079_pwrmgr_services"
Fix: Service's params order
2019-08-28 10:51:48 +02:00
Mateusz
9cb988148d Revert "Merge branch 'EGD-2080_evtmgrdeinit' into origin/EGD-2079_pwrmgr_services"
This reverts commit ab0f8febed.
2019-08-28 10:02:33 +02:00
Mateusz
2f0f8fd52c Fix: SystemClose procedure 2019-08-28 08:56:41 +02:00
Mateusz
980e27623d Fix: DestroyService on Rt1051 2019-08-27 12:57:10 +02:00
Mateusz
1456751b59 Fix: Keyboard init/deinit procedure 2019-08-27 11:35:34 +02:00
Mateusz
ce7ce7157c Merge remote-tracking branch 'origin/EGD-2079_pwrmgr_services' into EGD-2080_evtmgrdeinit 2019-08-27 08:03:45 +02:00
Mateusz
86d32793c7 Fix: WorkerEvent and Worker deinit procedure 2019-08-27 07:51:28 +02:00
Robert Borzecki
59d6522dcd Merge branch 'master' of github.com:muditacom/PurePhone into EGD-2015_database_model 2019-08-26 12:32:25 +02:00
Mati
9c1f919e2e Services: Added parent/child feature
Fix: Raised ApplicationSettings stack to 4kB
Fix: eINK deep refresh fix
2019-08-26 09:31:50 +02:00
Mateusz
2708fbae3a Fixed unit tests 2019-08-12 12:49:14 +02:00