Commit Graph

11 Commits

Author SHA1 Message Date
Marcin Smoczyński
080a2bfe8f [EGD-5760] Add option to use minimal metadata
Add a possibility to use a minimal version of libphonenumber's metadata
to reduce firmware size in debug.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-02-24 20:17:51 +01:00
Marcin Smoczyński
4e00741886 [EGD-4144] build: individual libs for 3rdparty (#925)
Create individual library for each of third party project to be able to
determine memory usage of each of project's components.

Disable third party optimization for linux platform.
2020-11-02 15:08:03 +01:00
KacperLewandowski
ad626ebc93 [EGD-3857] Create calculator application 2020-10-15 14:57:57 +02:00
Roman Kubiak
8dcb54721b removed sbini
changed boot.ini -> boot.json
replaced sbini code to json11 code (needs ecoboot 1.0.3)
2020-08-10 13:26:09 +02:00
Marcin Smoczyński
705fc39d93 build: optimize third party in debug
To minimize size footprint and to be able to fit in the RT1051 target,
add optimization options in debug configuration for third party modules
which are directly added to the sources.

This behaviour is controlled by the THIRD_PARTY_DEBUG_OPTIMIZE boolean
option.

Add extra warning supressing option for the protobuf sources as its
build was starting to failing on newer compiler.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-07-31 11:03:13 +02:00
Bartek Cichocki
39d24d1420 [EGD-3379] fixed build flags, suppressed warnings for protobuf, sbini and port.c in module-os 2020-07-08 14:09:42 +02:00
Marcin Smoczyński
7cc27ee143 [EGD-3113] Add thread safety to RE2 2020-04-28 17:01:33 +02:00
Marcin Smoczyński
86bdeb347d [EGD-3113] Add thread safety to libphonenumber
Add thread safety based on the RTOS wrapper and FreeRTOS mutex. The
mutex protects regexp cache only so additional safety on regexp level is
needed.

Add method to get currently running thread - needed by thread checker
class in libphonenumber.
2020-04-28 17:01:33 +02:00
Marcin Smoczyński
5f7d52cb2b [EGD-2592] utils: add libphonenumber
Add libphonumber support:
 - no thread safety support (disabled mutexes, etc.)
 - use re2 regexes instead of ICU's
 - don't normalize utf8 decimals - use ASCII decimals only
2020-04-08 18:23:45 +02:00
Marcin Smoczyński
268385b093 [EGD-2591] utils: add protobuf library support
Add protobuf-lite library (thread safety turned off).
2020-04-08 18:23:45 +02:00
Marcin Smoczyński
d41ceb4611 [EGD-3052] utils: add re2 library support
Add RE2 library with thread safety option turned off.
2020-04-08 18:23:45 +02:00