Hi, it is possible to use uSTL library with FReeRTOS, if yes, then How I can do this?
how to connect uSTL with FreeRTOS, any idea?
Since uSTL (from a quick look at it) doesn’t deal with inter-thread communication, it mostly shouldn’t need anything to interface. The only things that I can think of that might cause problems is that if it does any dynamic allocations, then the allocator needs to be sure to be multi-thread aware (like the port3.c file which wraps the malloc function with a critical section), and that if multiple threads need to access the same container, it needs the appropriate interlocks so that only one thread can update a given container at a time, and no one else is reading from it then. Unless it include some multi-thread support, this is a standard requirement, if it does include multi-thread support, there are probably some low level routines to map to the FreeRTOS equivalent primitives.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.