c-linter #13
c-linter.yaml
on: workflow_dispatch
Analyze C source code
30s
Annotations
11 errors, 10 warnings, and 10 notices
|
Analyze C source code
Process completed with exit code 1.
|
|
embedded/Core/Src/sysmem.c:63:7 [clang-diagnostic-error]:
embedded/Core/Src/sysmem.c#L63
use of undeclared identifier 'NULL'
|
|
embedded/Core/Src/sysmem.c:53:13 [clang-diagnostic-error]:
embedded/Core/Src/sysmem.c#L53
unknown type name 'ptrdiff_t'
|
|
embedded/Core/Src/sysmem.c:30:35 [clang-diagnostic-error]:
embedded/Core/Src/sysmem.c#L30
use of undeclared identifier 'NULL'
|
|
|
|
embedded/Core/Src/stm32f7xx_hal_timebase_tim.c:21:10 [clang-diagnostic-error]:
embedded/Core/Src/stm32f7xx_hal_timebase_tim.c#L21
'stm32f7xx_hal.h' file not found
|
|
embedded/Core/Src/system_stm32f7xx.c:47:10 [clang-diagnostic-error]:
embedded/Core/Src/system_stm32f7xx.c#L47
'stm32f7xx.h' file not found
|
|
|
|
embedded/Core/Src/main.c:20:10 [clang-diagnostic-error]:
embedded/Core/Src/main.c#L20
'main.h' file not found
|
|
embedded/Core/Inc/stm32f7xx_hal_conf.h:271:12 [clang-diagnostic-error]:
embedded/Core/Inc/stm32f7xx_hal_conf.h#L271
'stm32f7xx_hal_rcc.h' file not found
|
|
embedded/Core/Inc/main.h:30:10 [clang-diagnostic-error]:
embedded/Core/Inc/main.h#L30
'stm32f7xx_hal.h' file not found
|
|
embedded/Core/Src/main.c:50:19 [cppcoreguidelines-avoid-non-const-global-variables]:
embedded/Core/Src/main.c#L50
variable 'htim3' is non-const and globally accessible, consider making it const
|
|
embedded/Core/Src/main.c:48:19 [cppcoreguidelines-avoid-non-const-global-variables]:
embedded/Core/Src/main.c#L48
variable 'hdma_adc1' is non-const and globally accessible, consider making it const
|
|
embedded/Core/Src/main.c:47:19 [cppcoreguidelines-avoid-non-const-global-variables]:
embedded/Core/Src/main.c#L47
variable 'hadc1' is non-const and globally accessible, consider making it const
|
|
embedded/Core/Src/main.c:37:9 [modernize-macro-to-enum]:
embedded/Core/Src/main.c#L37
macro 'ADC_BUFFER_SIZE' defines an integral constant; prefer an enum instead
|
|
embedded/Core/Src/main.c:36:9 [modernize-macro-to-enum]:
embedded/Core/Src/main.c#L36
macro 'ADC_MAX_VALUE' defines an integral constant; prefer an enum instead
|
|
embedded/Core/Src/main.c:36:1 [modernize-macro-to-enum]:
embedded/Core/Src/main.c#L36
replace macro with enum
|
|
embedded/Core/Inc/stm32f7xx_hal_conf.h:25:9 [bugprone-reserved-identifier]:
embedded/Core/Inc/stm32f7xx_hal_conf.h#L25
declaration uses identifier '__STM32F7xx_HAL_CONF_H', which is a reserved identifier
|
|
embedded/Core/Inc/stm32f7xx_it.h:22:9 [bugprone-reserved-identifier]:
embedded/Core/Inc/stm32f7xx_it.h#L22
declaration uses identifier '__STM32F7xx_IT_H', which is a reserved identifier
|
|
embedded/Core/Inc/main.h:23:9 [bugprone-reserved-identifier]:
embedded/Core/Inc/main.h#L23
declaration uses identifier '__MAIN_H', which is a reserved identifier
|
|
embedded/Core/Inc/FreeRTOSConfig.h:53:19 [cppcoreguidelines-avoid-non-const-global-variables]:
embedded/Core/Inc/FreeRTOSConfig.h#L53
variable 'SystemCoreClock' is non-const and globally accessible, consider making it const
|
|
Run clang-format on embedded/Core/Src/stm32f7xx_hal_msp.c:
embedded/Core/Src/stm32f7xx_hal_msp.c#L0
File embedded/Core/Src/stm32f7xx_hal_msp.c does not conform to Custom style guidelines. (lines 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 62, 63, 64, 66, 85, 86, 87, 88, 89, 91, 94, 130, 135, 139, 141, 145, 146, 147, 148, 149, 151, 153, 174, 178, 179, 180, 181, 182, 184, 186, 195, 197, 201, 202, 203, 204, 205, 207, 209, 218, 220, 224, 227, 246, 247, 267, 270, 271, 272, 273, 274, 276, 278, 288, 292, 293, 294, 295, 296, 298, 300, 310, 314, 315, 316, 317, 318, 320, 324, 328, 330, 334, 356, 365, 367, 371, 372, 373, 374, 375, 377, 379, 394, 399)
|
|
Run clang-format on embedded/Core/Src/syscalls.c:
embedded/Core/Src/syscalls.c#L0
File embedded/Core/Src/syscalls.c does not conform to Custom style guidelines. (lines 24, 36, 39, 40, 44, 45, 48, 49, 50, 53, 61, 64, 67, 72, 80, 85, 92, 96, 99, 106, 112, 120, 128, 135, 142, 148, 155, 163, 169)
|
|
Run clang-format on embedded/Core/Src/stm32f7xx_hal_timebase_tim.c:
embedded/Core/Src/stm32f7xx_hal_timebase_tim.c#L0
File embedded/Core/Src/stm32f7xx_hal_timebase_tim.c does not conform to Custom style guidelines. (lines 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 28, 32, 33, 34, 35, 36, 37, 38, 39, 41, 43, 44, 46, 47, 49, 60, 63, 64, 70, 88, 92, 93, 94, 97, 102, 103, 108, 114, 115, 116, 117, 118, 120, 126, 127, 128, 129, 130, 132, 136)
|
|
Run clang-format on embedded/Core/Src/system_stm32f7xx.c:
embedded/Core/Src/system_stm32f7xx.c#L0
File embedded/Core/Src/system_stm32f7xx.c does not conform to Custom style guidelines. (lines 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 39, 40, 41, 43, 44, 49, 50, 51, 53, 54, 55, 57, 58, 61, 62, 65, 66, 69, 70, 87, 90, 92, 94, 96, 97, 100, 101, 104, 105, 108, 109, 112, 113, 114, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 128, 129, 132, 133, 136, 137, 140, 141, 144, 145, 146, 147, 148, 149, 151, 155, 160, 161, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 200, 202, 207, 208, 209, 210, 211, 212, 213, 214, 215, 217, 218, 219, 220, 221, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 234, 235, 236, 237, 238, 248, 249, 252, 253, 254, 256, 257, 258)
|
|
Run clang-format on embedded/Core/Src/stm32f7xx_it.c:
embedded/Core/Src/stm32f7xx_it.c#L0
File embedded/Core/Src/stm32f7xx_it.c does not conform to Custom style guidelines. (lines 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 21, 68, 69, 71, 76, 77, 83, 84, 86, 91, 98, 99, 101, 106, 113, 114, 116, 121, 128, 129, 131, 136, 143, 144, 146, 163, 164, 166, 177, 178, 180)
|
|
Run clang-format on embedded/Core/Src/main.c:
embedded/Core/Src/main.c#L0
File embedded/Core/Src/main.c does not conform to Custom style guidelines. (lines 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 57, 58, 59, 60, 64, 65, 66, 67, 98, 99, 100, 102, 111, 158, 187, 188, 189, 191, 196, 201, 202, 208, 213, 215, 216, 222, 228, 229, 230, 231, 233, 246, 260, 265, 270, 275, 279, 285, 289, 290, 291, 292, 294, 314, 319, 323, 329, 337, 344, 348, 349, 350, 351, 353, 372, 378, 386, 393, 397, 398, 399, 400, 402, 421, 427, 431, 432, 434, 443, 447, 448, 449, 450, 452, 470, 499, 518, 519, 520, 521, 522, 523, 524, 525, 529, 533, 534, 535, 537, 538, 539, 540, 541, 545, 546, 547, 548, 549, 550, 551, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 580, 581, 582, 583, 586, 596, 597, 598, 599, 602, 606, 607, 608, 614, 615, 616, 617, 618, 619, 620, 622, 627, 636, 637, 638, 640, 645, 651, 652, 653, 654, 655, 656, 657, 659, 662, 663)
|
|
Run clang-format on embedded/Core/Inc/stm32f7xx_hal_conf.h:
embedded/Core/Inc/stm32f7xx_hal_conf.h#L0
File embedded/Core/Inc/stm32f7xx_hal_conf.h does not conform to Custom style guidelines. (lines 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 27, 35, 36, 38, 91, 92, 93, 94, 96, 97, 98, 100, 101, 102, 104, 105, 106, 107, 109, 110, 111, 113, 114, 116, 117, 118, 119, 121, 122, 124, 125, 126, 128, 129, 130, 132, 133, 134, 135, 137, 138, 139, 145, 146, 148, 149, 150, 151, 152, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 194, 195, 196, 205, 206, 207, 208, 209, 210, 213, 214, 215, 216, 223, 225, 227, 228, 232, 233, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 246, 247, 248, 251, 253, 254, 258, 259, 260, 263, 266, 267, 270, 274, 278, 282, 286, 290, 294, 298, 302, 306, 310, 314, 318, 322, 326, 330, 334, 338, 342, 346, 350, 354, 358, 362, 366, 370, 374, 378, 382, 386, 390, 394, 398, 402, 406, 410, 414, 418, 422, 426, 430, 434, 438, 442, 446, 450, 454, 458, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 483)
|
|
Run clang-format on embedded/Core/Inc/stm32f7xx_it.h:
embedded/Core/Inc/stm32f7xx_it.h#L0
File embedded/Core/Inc/stm32f7xx_it.h does not conform to Custom style guidelines. (lines 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
|
|
Run clang-format on embedded/Core/Inc/main.h:
embedded/Core/Inc/main.h#L0
File embedded/Core/Inc/main.h does not conform to Custom style guidelines. (lines 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
|
|
Run clang-format on embedded/Core/Inc/FreeRTOSConfig.h:
embedded/Core/Inc/FreeRTOSConfig.h#L0
File embedded/Core/Inc/FreeRTOSConfig.h does not conform to Custom style guidelines. (lines 4, 5, 7, 8, 9, 10, 11, 14, 18, 19, 20, 21, 22, 40, 50, 51, 52, 55, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 79, 83, 84, 87, 88, 89, 90, 93, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 111, 117, 118, 119, 120, 121, 126, 136, 139, 144, 149, 152, 153, 158)
|