テスト用のあれこれ共用フォルダ
修訂 | 9ee2b8cb79a539c3adf301822b090d20ca51d8aa (tree) |
---|---|
時間 | 2018-03-03 18:37:54 |
作者 | takemasa <suikan@user...> |
Commiter | takemasa |
Update comment
@@ -88,7 +88,7 @@ | ||
88 | 88 | * To override the definition here, define same macro inside @ref platform_config.hpp. |
89 | 89 | */ |
90 | 90 | #ifndef PLATFORM_CONFIG_DEBUG_TASK_PRIORITY |
91 | -#define PLATFORM_CONFIG_DEBUG_TASK_PRIORITY (( configMAX_PRIORITIES-1 > 0 ) ? configMAX_PRIORITIES-2 : 0) | |
91 | +#define PLATFORM_CONFIG_DEBUG_TASK_PRIORITY (( configMAX_PRIORITIES-1 > 0 ) ? configMAX_PRIORITIES-1 : 0) | |
92 | 92 | #endif |
93 | 93 | |
94 | 94 | // For assertion ****************************************************** |
@@ -229,31 +229,31 @@ | ||
229 | 229 | * In addition to this, task stack of debugger realted tasks ( murasaki::DebuggerTxTask and murasaki::DebuggerAutoRePrintTask ) |
230 | 230 | * is defined by @ref PLATFORM_CONFIG_DEBUG_TASK_STACK_SIZE. |
231 | 231 | * |
232 | - * To avoid the heap allocation problem, it is better to have 8kB heap. The heap size can be changed by CubeMX : | |
233 | - * | |
232 | + * To avoid the heap allocation problem, it is better to have more than 8kB heap. The heap size can be changed by CubeMX : | |
233 | + * @code | |
234 | 234 | * Menu Bar => Project => Settings => Project |
235 | - * | |
235 | + * @endcode | |
236 | 236 | * \section sec_cm_2 Stack Size |
237 | 237 | * In this section, Stack means the interrupt stack. |
238 | 238 | * |
239 | 239 | * The interrupt stack is used only when the interrupt is accepted. Then, it is basically small. In the other hand, |
240 | 240 | * murasaki uses its assertion oftenly. Once assertion fails, a message is created by snprintf() function and |
241 | - * tranmitted through FIFO. These operaiton consumes stack. And assertion can be happen also in the ISR context. | |
242 | - * | |
243 | - * The debugging in the ISR is not easy without assertion and printf. To make them possible, it is better to set | |
244 | - * the interrupt stack size bigger than 256Bytes. The heap size can be changed by CubeMX : | |
241 | + * tranmitted through FIFO. These operaitons consume stack. And assertion can be happen also in the ISR context. | |
245 | 242 | * |
243 | + * The debugging in the ISR is not easy without assertion and printf. To make them always possible, it is better to set | |
244 | + * the interrupt stack size bigger than 256 Bytes. The heap size can be changed by CubeMX : | |
245 | + * @code | |
246 | 246 | * Menu Bar => Project => Settings => Project |
247 | - * | |
247 | + * @endcode | |
248 | 248 | * \section sec_cm_3 Task stack size of the default task |
249 | 249 | * The daault task has very small stack ( 128 Bytes ) |
250 | 250 | * |
251 | 251 | * This is not enough to use murasaki and its debugger output functionality. It should be increased at smallest 256 Bytes. |
252 | 252 | * |
253 | 253 | * It can be changed by CubeMX: |
254 | - * | |
254 | + * @code | |
255 | 255 | * Tab => Configuration => FreeRTOS => Tasks and Queues |
256 | - * | |
256 | + * @endcode | |
257 | 257 | */ |
258 | 258 | /** |
259 | 259 | * \page murasaki_ug_usage Usage Introduction |