| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 #include <stdlib.h> | 5 #include <stdlib.h> |
| 6 | 6 |
| 7 #include <cmsis_os.h> | 7 #include <cmsis_os.h> |
| 8 extern "C" { | 8 extern "C" { |
| 9 #include <lcd_log.h> | 9 #include <lcd_log.h> |
| 10 } | 10 } |
| 11 #include <stm32746g_discovery.h> | 11 #include <stm32746g_discovery.h> |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 osThreadCreate(osThread(START_FLETCH), NULL); | 123 osThreadCreate(osThread(START_FLETCH), NULL); |
| 124 | 124 |
| 125 osThreadDef(PRODUCER, MessageQueueProducer, osPriorityNormal, 0, 2 * 1024); | 125 osThreadDef(PRODUCER, MessageQueueProducer, osPriorityNormal, 0, 2 * 1024); |
| 126 osThreadCreate(osThread(PRODUCER), NULL); | 126 osThreadCreate(osThread(PRODUCER), NULL); |
| 127 | 127 |
| 128 // No more to do right now. | 128 // No more to do right now. |
| 129 for (;;) { | 129 for (;;) { |
| 130 osDelay(1); | 130 osDelay(1); |
| 131 } | 131 } |
| 132 } | 132 } |
| OLD | NEW |