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 log print format warning for GNU ARM compiler #154

Merged

Conversation

chinglee-iot
Copy link
Member

@chinglee-iot chinglee-iot commented Oct 13, 2023

Description

  • Fix the compilation warning of GNU ARM compiler.

Test Steps

Reference this branch https://github.com/chinglee-iot/FreeRTOS-Cellular-Interface/tree/add-compiler-warning-check
GCC
Build with the following command should not have error.

cmake -S test -B build -DCMAKE_C_COMPILER_WORKS=1
cd build
make compilation_test

GNU arm
Build with the following command should not have error.

CC=arm-none-eabi-gcc cmake -B build -S test -DCMAKE_C_COMPILER_WORKS=1
cd build
make compilation_test

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

#150
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@chinglee-iot chinglee-iot mentioned this pull request Oct 13, 2023
2 tasks
@chinglee-iot chinglee-iot merged commit 9f38180 into FreeRTOS:main Oct 14, 2023
10 checks passed
@chinglee-iot chinglee-iot deleted the update-gnu-arm-print-log-fmt branch October 14, 2023 02:59
@guillaumeVolery
Copy link

Thank you @chinglee-iot 👍

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.

4 participants