Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arduino.DuinOS/DuinOS.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ extern unsigned portBASE_TYPE mainLoopStackSize;
#define HIGH_PRIORITY (tskIDLE_PRIORITY + 2)

#define taskLoop(name) \
static inline void name##Function() __attribute__((__section__(".lowtext"),__naked__,__always_inline__)); \
static inline void name##Function() __attribute__((__section__(".lowtext"),__always_inline__)); \
void name##_Task(void *) __attribute__((__section__(".lowtext"))); \
xTaskHandle name; \
void name##_Task(void *pvParameters)\
Expand Down
2 changes: 1 addition & 1 deletion arduino.DuinOS/FreeRTOSConfigATmega328P.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#define configSETUP_STACK_SIZE (configMINIMAL_STACK_SIZE * 2)
#define configLOOP_STACK_SIZE (configMINIMAL_STACK_SIZE)
#define configSETUP_PRIORITY HIGH_PRIORITY
#define configSETUP_PRIORITY LOW_PRIORITY
#define configLOOP_PRIORITY LOW_PRIORITY

/* Set the following definitions to 1 to include the API function, or zero
to exclude the API function. */
Expand Down
2 changes: 1 addition & 1 deletion arduino.DuinOS/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ int main(void)
USBDevice.attach();
#endif

xTaskCreate(setup_Task, (signed portCHAR *) "setup", mainSetupStackSize, NULL, mainSetupStackSize, &xHandleSetup);
xTaskCreate(setup_Task, (signed portCHAR *) "setup", mainSetupStackSize, NULL, mainSetupPriority, &xHandleSetup);

vTaskStartScheduler();

Expand Down