File tree Expand file tree Collapse file tree 2 files changed +0
-24
lines changed
libraries/Arduino_FreeRTOS/src/portable/FSP Expand file tree Collapse file tree 2 files changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ void unsecure_registers() {
6464#define str (s ) #s
6565
6666extern " C" void Stacktrace_Handler (void );
67- extern " C" __attribute__((weak)) void start_freertos_on_header_inclusion () {}
6867
6968void arduino_main (void )
7069{
@@ -112,7 +111,6 @@ void arduino_main(void)
112111 Serial.begin (115200 );
113112#endif
114113 startAgt ();
115- start_freertos_on_header_inclusion ();
116114 setup ();
117115 while (1 )
118116 {
Original file line number Diff line number Diff line change @@ -225,28 +225,6 @@ static void prvTaskExitError(void);
225225
226226#endif
227227
228- void loop_thread_func (void * arg ) {
229- setup ();
230- while (1 )
231- {
232- loop ();
233- }
234- }
235-
236- static TaskHandle_t loop_task ;
237- void start_freertos_on_header_inclusion () {
238- xTaskCreate (
239- (TaskFunction_t )loop_thread_func ,
240- "Loop Thread" ,
241- 4096 / 4 , /* usStackDepth in words */
242- NULL , /* pvParameters */
243- 4 , /* uxPriority */
244- & loop_task /* pxCreatedTask */
245- );
246-
247- vTaskStartScheduler ();
248- }
249-
250228/* Arduino specific overrides */
251229void delay (uint32_t ms ) {
252230 if (xTaskGetSchedulerState () == taskSCHEDULER_RUNNING ) {
You can’t perform that action at this time.
0 commit comments