I am having som troubles using the the using semaphores.
I've declarated it as
extern xSemaphoreHandle mutex;
in my .h file and included in my main where I initiated like this
mutex = xSemaphoreCreateMutex();
The error message i am getting is that it has an undefined reference to my mutex, which i don't understand since i've included the .h file of it's initiation??..
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.