Skip to content
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

Fix capitalization in C include statements #6

Closed
wants to merge 1 commit into from

Conversation

lumagi
Copy link
Contributor

@lumagi lumagi commented Nov 25, 2020

I work with the Shimmer firmware on Linux where the filesystem is case sensitive. This leads to several errors when building the project because some include statements are not correctly capitalized. The following pull request fixes all include statements that would otherwise prevent the build.

On Linux, the include statements lead to file-not-found errors because
the operating system considers the capitalization of the include
statements.
@@ -1,6 +1,6 @@
#include "msp430.h"
#include "RN42.h"
#include "../5XX_hal/hal_DMA.h"
#include "../5XX_HAL/hal_DMA.h"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be 5xx_HAL

@@ -43,7 +43,7 @@
#include "ads1292.h"
#include "msp430.h"
#include <string.h>
#include "../5XX_hal/hal_UCA0.h"
#include "../5XX_HAL/hal_UCA0.h"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be 5xx_HAL

@@ -43,7 +43,7 @@
#include "ads1292.h"
#include "msp430.h"
#include <string.h>
#include "../5XX_hal/hal_UCA0.h"
#include "../5XX_HAL/hal_UCA0.h"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be 5xx_HAL

@@ -1,6 +1,6 @@
#include "msp430.h"
#include "RN42.h"
#include "../5XX_hal/hal_DMA.h"
#include "../5XX_HAL/hal_DMA.h"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be 5xx_HAL

@marknolan
Copy link
Member

We'll be updating the master branch with the fixes discussed in this pull request and these will be included in the next firmware release.

@marknolan marknolan closed this Sep 21, 2021
@mrsgzg
Copy link

mrsgzg commented Mar 19, 2024

The new version seems to have the same problem
It should be #include "../5xx_HAL/hal_Board.h"
Not #include "../5xx_HAL/hal_board.h"
Otherwise, error with cant open file 5xx HAL/hal board.h, would appear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants