Commit Graph

108 Commits

Author SHA1 Message Date
Adam Dobrowolski
86353db8f5 EGD-3055 Make tests compile on linux 2020-04-08 12:23:53 +02:00
Adam Dobrowolski
2b07ca005f EGD-3055 use PRIu64 to log time 2020-04-08 12:23:53 +02:00
Adam Dobrowolski
4a61f400e7 EGD-3055 Fixed printf issues 2020-04-08 12:23:53 +02:00
Adam Dobrowolski
42ccb924cf EGD-3055 FreeRTOS asssert fixed, added force printf check on logging macros in log.h 2020-04-08 12:23:53 +02:00
Radoslaw Wicik
d31affe660 [EGD-3037] Add locale and tzdata to docker to resolve utils time UT error 2020-04-07 13:07:20 +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
rkubiak01
c83546c332 added crc32 as a submodule 2020-03-31 11:41:50 +02:00
Alek-Mudita
a449edc03d [EGD-3039] fix for time conversion UT (#269) 2020-03-26 12:58:53 +01:00
Alek-Mudita
1446a4bff8 Egd 2539 duration class (#258)
* [GED-2539] Timestamp : changed buffer to heap one

[EGD-2539] implemented 1st version of Duration class

[EGD-2539] added autoformating of the output

[EGD-2539] clean up

[EGD-2539] used duration in call and calllog
added Duration operators

[EGD-2539] add better duartions to calllog.db

[EGD-2539] format file

* [EGD-2539] fixes after rebase

* [EGD-2539] displayed format follows design guidline

* [EGD-2539] added UT for duration class and necessary FW fixes

* [EGD-2539] fixed tim_conversion UT

* [EGD-2539] PR fixes

* [EGD-2539] added move constructor to UTF8 class

* [EGD-2539] added checking for nullptr in fillContactData

* [EGD-2539] PR fixes
2020-03-25 17:14:00 +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
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
Alek-Mudita
f94688f996 [EGD-2998] fixed UT for Utils. (#253)
* [EGD-2998] fixed UT for Utils.

* [EGD-2998] clean up

* [EGD-2998] missing cmake file
2020-03-23 16:21:17 +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
67db9e5885 [EDG-2995] FreeRTOSV10 Core tracing patch moved to separate directory, cleanups. 2020-03-20 14:28:57 +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
98cd819ffb [EGD-2978] PR cleanup changes 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
499d6ce5e1 [EGD-2978] Linux target build macro excluded 2020-03-20 14:28:57 +01:00
Przemyslaw Brudny
864265a2c7 [EGD-2978] System View updates 2020-03-20 14:28:57 +01:00
Przemyslaw Brudny
c8d87e1cfb [EGD-2978] FreeRTOSV10 Core tracing patch applied 2020-03-20 14:28:57 +01:00
Przemyslaw Brudny
5e96463979 [EGD-2978] SystemViev moved to utils 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
Przemyslaw Brudny
101bbb1c99 [EGD-2978] Basic SystemView import 2020-03-20 14:28:57 +01:00
Przemyslaw Brudny
735a5f2d6b [EGD-2995] Unix line ending applied to .h, .hpp, .c, .cpp, .s, .sh, .cmake files 2020-03-18 15:43:26 +01:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
Alek-Mudita
a62ca62934 [EGD-2976] fix the issue with mutex (#230) 2020-03-16 12:59:25 +01:00
Alek-Mudita
dc3d655abe Egd 2566 signal strength indicator (#214)
* [EGD-2566] refactored cellular notification recogniton

* [EGD-2566] add new conversion to dBm

* [EGD-2566] added dBm to bar calculations
some minor fixes connected to signal strength
put static data in event store

* [EGD-2566] removed magic number

* [EGD-2566] PR fixes

* [EGD-2566] PR fixes

* [EGD-2566] missing rebase fix

* [EGD-2566] moved Signal Strength to separate file.

* [EGD-2566] missing return

* [EGD-2566] update signalstrength without message sending

* [EGD-2566]  reverted USE_DAEFAULT_BAUDRATE to 1

* [EGD-2566][fix] missing change for closing  end call window

* [EGD-2566] fix for proper checking for CSQ. Verbose setting of singla strength in Store

* [EGD-2566] fixed inlude in ScopeDTime.

* [EGD-2566]  added mutex in GSM store

* [EGD-2566] missing change

* [EGD-2566] reverted USE_DAEFAULT_BAUDRATE

* [EGD-2566] PR fixy
2020-03-13 16:42:42 +01:00
Adam Dobrowolski
e1968f8b02 EGD-2848 Cellular state logging & SIM Tray show notification icon
* Made Cellular State settable only via setter (which loggs this change)
    for debug purposes
* Sim tray shows proper sim state (default on for all screens)
* removed few lines of dead code
2020-03-12 15:24:39 +01:00
Adam Dobrowolski
d5847e37b6 EGD-2848 added SIM icons 2020-03-12 15:24:39 +01:00
kkleczkowski
e4b7e9202e Egd 2507 settings date (#164)
* [EGD-2507] Wip on Date and Time window.

* [EGD-2507] Utlis, timeDateFormat in settings.db.

* [EGD-2507] - WiP on DateTimeWindow.

* [EGD-2507] dateTimeWindow layout + time validation + database_v2.md update.

* [EGD-2507] Code clean-up.

* [EGD-2507] Fixes after rebase, unused include removed.

* [ EGD-2507 ] PR suggestions.

* [ EGD-2507 ] Fixed missing 0 minutes, pr suggestions.

* [EGD-2507-settings-date] Fixes after rebase.
2020-03-05 14:32:06 +01:00
rkubiak01
66ffd1efab microtar added as a submodule
microtar.c is modified to work with freeRTOS fat
2020-03-05 05:29:08 -07: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
mateusz
d017f29026 [EGD-2910] unused time formatter label + flash eMMC fix 2020-02-25 16:27:38 +01:00
mateusz
8f790ba70c change clocks from DateTime → Time 2020-02-20 16:16:38 +01:00
mateusz
ccb0a0c2ac TODO: parse local time format 2020-02-20 16:16:38 +01:00
mateusz
f314da6eda change names to reflect function, add separate Time/Date 2020-02-20 16:16:38 +01:00
Adam Dobrowolski
33d66d6bc9 [EGD-2874] current language wasn't set so it wasn't selected 2020-02-20 10:32:29 +00: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
c082b015e6 [EGD-2571] SIM tray notifications works - no sim, or sim notifications & GSM reload 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
ae915f3512 [EGD-2571] Clenup: removed MessageType static_casts, fixed debug.h defines. Added GPIO event 2020-02-12 13:31:13 +00:00
Adam Dobrowolski
b5c9af497c [LOG] Added log runtime filtering option 2020-02-11 08:04:03 +00:00
Adam Dobrowolski
76d5802275 [EGD-2532] HW timer tested, call made, seems fine 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
Alek-Mudita
ee7318ff67 Callog fixes and missing funcionalities (#152)
* [EGD-554] added trash img

* [EGD-2538] dots mode in title

* [EGD-554] added missing font

* [EGD-554] calllog UI fixes

* [EGD-554] dialog delete window isntaed of own one

* [EGD-554] removed not needed files

* [EGD-554] clean up
2020-01-31 15:59:41 +01:00
Adam Dobrowolski
c02cee02a1 [EGD-2394] Scoped timer moved to utils, fixed use in DB 2020-01-31 14:05:42 +01:00