Infineon / mtb-example-psoc6-capsense-buttons-slider-freertos

This code example features a 5-segment CapSense slider and two CapSense buttons. The code example also demonstrates interfacing with Tuner GUI using I2C interface.
Other
0 stars 1 forks source link

Does not build due to miscapitalization of header file. #1

Closed Brunste closed 4 years ago

Brunste commented 4 years ago

This demo does not build with make program due to line 52 in main.c which mistypes #include "FreeRTOS.h as #include "freeRTOS.h"

Changing the line to #include "FreeRTOS.h" resolves the issue.

rmbk19 commented 4 years ago

Hi @Brunste,

Thank you for pointing this out. As ModusToolbox 2.0 is an Eclipse based IDE, it assumes the case sensitivity defined by the local OS. In other words, if your OS allows case sensitive naming of files and folders then even MTB 2.0 will be case sensitive. I tried building the project as it is and I was able to build the project successfully. Can you please let me know the OS that you are using? If you are using Windows, then the Windows 10 April 2018 Update (version 1803) allows you to enable/disable case sensitive naming. Please refer to this link - Enable/Disable case sensitive naming.

Hope this helps,

Thanks and Regards, Rakshith M B

Brunste commented 4 years ago

Greetings.

I am using Arch Linux and using make to build the project. As I said, correcting the capitalization of the header file resolved my issue, but those building on GNU/Linux based operating systems will likely run into the same issue due to case sensitivity. If other operating systems are able to handle it either way, I would suggest capitalizing it to match the file name for better compatibility. That is obviously up to you though.

Thank you for your response and assistance.

rmbk19 commented 4 years ago

Hi @Brunste,

You are right. Thank you for pointing this out. The issue will be fixed internally and an update will be pushed to GitHub repo.

Regards, Rakshith M B

arvi-kris-cy commented 4 years ago

This is fixed with the v1.1.0 release