Disable FreeRTOS optimization for RelWithDebInfo configuration in order
to be able to analyze system memory (heap and tasks' stacks).
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
lIndexOfLastAddedTask is shared between two separate functions
that should run consecutively but in some cases the thread
running can be yield in between which results in broken thread
stack.
This change reduces the risk but it does not entirely solve
the problem. It is still possible for the threads to return in
different order. Nevertheless the tests did not confirm that.
Refactor audio data path to fix several synchronization issues and
excessive copy operations on large memory blocks. Introduce
audio::Stream data structure to allow connecting audio source and sink
with a zero-copy capability.
Introduce system mechanisms:
- critical section guard lock needed for stream synchronization
- non-cacheable memory allocator to allocate memory for DMA safe
buffers
Update the Googletest CMake template to match the capabilities of the
Catch2 template.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
Signed-off-by: Hubert Chrzaniuk <hubert.chrzaniuk@mudita.com>
* [EGD-4261] Initial version of syscalls
* [EGD-4261] CR small fixes
* [EGD-4261] Rename namespace and fsync call
Rename namespace vfs::internal for clarify that syscall functions are for internal use only
* [EGD-4261] Handle manager for stdlib
Handle manager layer for STDIO compatibility.
* [EGD-4261] Initial version of sysscall (old vfs)
* [EGD-4261] Direntry syscalls completed
* [EGD-4261] Fixes in handle manager
* [EGD-4261] Add support for std::filesystem.
libstdc++ from compiler is compiled without <dirent.h>
, so std::directory_iterator doesn't work.
Our implementation fix this issue and override
libstdc++ library code
* [EGD-4261] Compile syscalls only on RT1051 target
* [EGD-4261] RT compile fix
* [EGD-4261] Code review small fixes
* [EGD-4261] Code review fixes
* [EGD-4261] Remove redundant noisy debug log msg.
Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
* Timers now are Application thread safe
* Timers now have consistent API independend of Application (no more c style timers)
* Timers can have either: callback or override onTimer() method - this
way we can create more complicated timers or just use existing ones
* gui::Timer added via adapter class GuiTimer to decouple sys::Timer
with gui::Timer
* Fixed race in wrapper
* Updated docs
* fixed using std and cpp_freertos and DataReceivedHandler hidden in Application.hpp
Implement adding record to db
Implement Removing elements from DB functionality
Implement Update element in DB functionality
Implement Get elements by date time period
Add time zone field
Add fields to system heap which are needed to do an integrity check
and harvest some additional usage stats. Add only for Debug build type.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
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.
* [fix] checked for proper time ID
* [fix] missing change
* adding proper debugging possibility
* [fix] added more response validation
* [fix] validatio of the AT+CLCC response
* changed log level
* [fix] added explantation for the fix
* clean up AT command resposne validation methods
* [fix] for aborting call using long press
* added abort() in vApplicationStackOverflowHook
* code review fixes