File tree Expand file tree Collapse file tree 6 files changed +20
-21
lines changed Expand file tree Collapse file tree 6 files changed +20
-21
lines changed Original file line number Diff line number Diff line change 49
49
*/
50
50
#include <stdint.h> /* READ COMMENT ABOVE. */
51
51
52
- /* *INDENT-OFF* */
53
- #ifdef __cplusplus
54
- extern "C" {
55
- #endif
56
- /* *INDENT-ON* */
57
-
58
52
/* Acceptable values for configTICK_TYPE_WIDTH_IN_BITS. */
59
53
#define TICK_TYPE_WIDTH_16_BITS 0
60
54
#define TICK_TYPE_WIDTH_32_BITS 1
129
123
130
124
#endif /* if ( configUSE_PICOLIBC_TLS == 1 ) */
131
125
126
+ /* *INDENT-OFF* */
127
+ #ifdef __cplusplus
128
+ extern "C" {
129
+ #endif
130
+ /* *INDENT-ON* */
131
+
132
132
#ifndef configUSE_C_RUNTIME_TLS_SUPPORT
133
133
#define configUSE_C_RUNTIME_TLS_SUPPORT 0
134
134
#endif
Original file line number Diff line number Diff line change 26
26
#ifndef freeRTOSVariant_h
27
27
#define freeRTOSVariant_h
28
28
29
+ #include <avr/io.h>
30
+ #include <avr/wdt.h>
31
+
32
+ #ifndef INC_TASK_H
33
+ #include "Arduino_FreeRTOS.h"
34
+ #include "task.h"
35
+ #endif
36
+
29
37
#ifdef __cplusplus
30
38
extern "C" {
31
39
#endif
32
40
33
- #include <avr/io.h>
34
- #include <avr/wdt.h>
35
-
36
41
// System Tick - Scheduler timer
37
42
// Use the Watchdog timer, and choose the rate at which scheduler interrupts will occur.
38
43
@@ -64,11 +69,6 @@ extern "C" {
64
69
65
70
/*-----------------------------------------------------------*/
66
71
67
- #ifndef INC_TASK_H
68
- #include "Arduino_FreeRTOS.h"
69
- #include "task.h"
70
- #endif
71
-
72
72
void initVariant (void );
73
73
74
74
void vApplicationIdleHook ( void );
Original file line number Diff line number Diff line change 108
108
#define configSTACK_ALLOCATION_FROM_SEPARATE_HEAP 0
109
109
#endif
110
110
111
+ #include "mpu_wrappers.h"
112
+
111
113
/* *INDENT-OFF* */
112
114
#ifdef __cplusplus
113
115
extern "C" {
114
116
#endif
115
117
/* *INDENT-ON* */
116
118
117
- #include "mpu_wrappers.h"
118
-
119
119
/*
120
120
* Setup the stack of a new task so it is ready to be placed under the
121
121
* scheduler control. The registers have to be placed on the stack in
Original file line number Diff line number Diff line change 29
29
#ifndef PORTMACRO_H
30
30
#define PORTMACRO_H
31
31
32
+ #include <avr/wdt.h>
33
+
32
34
/* *INDENT-OFF* */
33
35
#ifdef __cplusplus
34
36
extern "C" {
45
47
*-----------------------------------------------------------
46
48
*/
47
49
48
- #include <avr/wdt.h>
49
-
50
50
/* Type definitions. */
51
51
52
52
#define portPOINTER_SIZE_TYPE uint16_t
Original file line number Diff line number Diff line change 34
34
#error "include Arduino_FreeRTOS.h" must appear in source files before "include queue.h"
35
35
#endif
36
36
37
+ #include "task.h"
38
+
37
39
/* *INDENT-OFF* */
38
40
#ifdef __cplusplus
39
41
extern "C" {
40
42
#endif
41
43
/* *INDENT-ON* */
42
44
43
- #include "task.h"
44
-
45
45
/**
46
46
* Type by which queues are referenced. For example, a call to xQueueCreate()
47
47
* returns an QueueHandle_t variable that can then be used as a parameter to
Original file line number Diff line number Diff line change 36
36
37
37
#include "task.h"
38
38
39
-
40
39
/* *INDENT-OFF* */
41
40
#ifdef __cplusplus
42
41
extern "C" {
You can’t perform that action at this time.
0 commit comments