-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MQTT_COMMAND_CONTEXTS_POOL_SIZE is undefined? #3
Comments
Well it is possible to make your setup a little more generic when using VS Code. I installed the VS Code with pico-sdk support using the official guide. So whenever I launch the Pico version of VS Code, then the I also found out that the I have added the FreeRTOS Kernel to my lib folder, and now my
However building you project now gives me a lot of complains about I guess that relates to Found that error a bit odd, since Raspberry Pico W does have a dual core CPU, so why does it talk about running on only one core? :-) I thought the point of using FreeRTOS was to fully utilize the CPU. |
Looks like FreeRTOS was updated and something changed. Replace the FreeRTOSConfig.h in the project with one from the FreeRTOS repo |
This is a bug in FreeRTOS they are fixing it - so it follow the normal naming |
I am trying to build your project using VS Code and ran into a few issues.
For reference when I write a path below the name of my workspace folder is
PicoMQTT
.To start off VSCode complained that it could not find
mqttFilePaths.cmake
andmqttAgentFilePaths.cmake
. It will also complain aboutjson-maker
andtiny-json
missing.I solved all those issues by creating a subfolder called
lib
and ran the following commands inside the folder:I also added the following to
CMakeList.txt
in the workplace root folder:I added the statements just prior where you are defining your config files.
Like so:
However:
When I try to build the project I get the error:
I can see the value is defined in
PicoMQTT\configs\CoreMQTT\core_mqtt_config.h
, so how come that the compile cannot find the file when compiling the project?I could copy-paste the definition for
MQTT_COMMAND_CONTEXTS_POOL_SIZE
over, but then I get a range of other compiling issues, so it looks to me that there are a general cross-referencing issue going on that is not being handled.The text was updated successfully, but these errors were encountered: