| OLD | NEW |
| 1 // Copyright (c) 2016, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 <stm32f7xx_hal.h> | 5 #include <stm32f7xx_hal.h> |
| 6 #include <stm32746g_discovery_sdram.h> | 6 #include <stm32746g_discovery_sdram.h> |
| 7 #include <cmsis_os.h> | 7 #include <cmsis_os.h> |
| 8 | 8 |
| 9 #include "src/shared/assert.h" | 9 #include "src/shared/assert.h" |
| 10 | 10 |
| 11 #include "platforms/stm/disco_fletch/src/page_allocator.h" | 11 #include "platforms/stm/disco_fletch/src/page_allocator.h" |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 osThreadDef(mainTask, FletchEntry, osPriorityNormal, 0, 4 * 1024); | 134 osThreadDef(mainTask, FletchEntry, osPriorityNormal, 0, 4 * 1024); |
| 135 osThreadId mainTaskHandle = osThreadCreate(osThread(mainTask), NULL); | 135 osThreadId mainTaskHandle = osThreadCreate(osThread(mainTask), NULL); |
| 136 USE(mainTaskHandle); | 136 USE(mainTaskHandle); |
| 137 | 137 |
| 138 // Start the scheduler. | 138 // Start the scheduler. |
| 139 osKernelStart(); | 139 osKernelStart(); |
| 140 | 140 |
| 141 // We should never get as the scheduler should never terminate. | 141 // We should never get as the scheduler should never terminate. |
| 142 FATAL("Returned from scheduler"); | 142 FATAL("Returned from scheduler"); |
| 143 } | 143 } |
| OLD | NEW |