|
317 | 317 | #define OS_CLOCK 168000000
|
318 | 318 | #endif
|
319 | 319 |
|
320 |
| -#elif defined(TARGET_STM32F411RE) |
321 |
| - |
322 |
| -#ifndef INITIAL_SP |
323 |
| -#define INITIAL_SP (0x20020000UL) |
324 |
| -#endif |
325 |
| -#ifndef OS_TASKCNT |
326 |
| -#define OS_TASKCNT 14 |
327 |
| -#endif |
328 |
| -#ifndef OS_MAINSTKSIZE |
329 |
| -#define OS_MAINSTKSIZE 256 |
330 |
| -#endif |
331 |
| -#ifndef OS_CLOCK |
332 |
| -#define OS_CLOCK 100000000 |
333 |
| -#endif |
334 |
| - |
335 |
| -#elif defined(TARGET_STM32F411RE) |
336 |
| - |
337 |
| -#ifndef INITIAL_SP |
338 |
| -#define INITIAL_SP (0x20020000UL) |
339 |
| -#endif |
340 |
| -#ifndef OS_TASKCNT |
341 |
| -#define OS_TASKCNT 14 |
342 |
| -#endif |
343 |
| -#ifndef OS_MAINSTKSIZE |
344 |
| -#define OS_MAINSTKSIZE 256 |
345 |
| -#endif |
346 |
| -#ifndef OS_CLOCK |
347 |
| -#define OS_CLOCK 100000000 |
348 |
| -#endif |
349 |
| - |
350 | 320 | #elif defined(TARGET_STM32F405RG)
|
351 | 321 |
|
352 | 322 | #ifndef INITIAL_SP
|
|
362 | 332 | #define OS_CLOCK 48000000
|
363 | 333 | #endif
|
364 | 334 |
|
365 |
| -#elif defined(TARGET_STM32F411RE) |
| 335 | +#elif defined(TARGET_STM32F401RE) |
366 | 336 |
|
367 | 337 | #ifndef INITIAL_SP
|
368 |
| -#define INITIAL_SP (0x20020000UL) |
| 338 | +#define INITIAL_SP (0x20018000UL) |
369 | 339 | #endif
|
370 | 340 | #ifndef OS_TASKCNT
|
371 | 341 | #define OS_TASKCNT 14
|
|
374 | 344 | #define OS_MAINSTKSIZE 256
|
375 | 345 | #endif
|
376 | 346 | #ifndef OS_CLOCK
|
377 |
| -#define OS_CLOCK 96000000 |
| 347 | +#define OS_CLOCK 84000000 |
378 | 348 | #endif
|
379 | 349 |
|
380 |
| -#elif defined(TARGET_STM32F401RE) |
| 350 | +#elif defined(TARGET_STM32F410RB) |
381 | 351 |
|
382 | 352 | #ifndef INITIAL_SP
|
383 |
| -#define INITIAL_SP (0x20018000UL) |
| 353 | +#define INITIAL_SP (0x20008000UL) |
384 | 354 | #endif
|
385 | 355 | #ifndef OS_TASKCNT
|
386 | 356 | #define OS_TASKCNT 14
|
|
389 | 359 | #define OS_MAINSTKSIZE 256
|
390 | 360 | #endif
|
391 | 361 | #ifndef OS_CLOCK
|
392 |
| -#define OS_CLOCK 84000000 |
| 362 | +#define OS_CLOCK 100000000 |
393 | 363 | #endif
|
394 | 364 |
|
395 |
| -#elif defined(TARGET_STM32F410RB) |
| 365 | +#elif defined(TARGET_MTS_MDOT_F411RE) || defined (TARGET_MTS_DRAGONFLY_F411RE) |
396 | 366 |
|
397 | 367 | #ifndef INITIAL_SP
|
398 |
| -#define INITIAL_SP (0x20008000UL) |
| 368 | +#define INITIAL_SP (0x20020000UL) |
399 | 369 | #endif
|
400 | 370 | #ifndef OS_TASKCNT
|
401 | 371 | #define OS_TASKCNT 14
|
402 | 372 | #endif
|
403 | 373 | #ifndef OS_MAINSTKSIZE
|
404 |
| -#define OS_MAINSTKSIZE 256 |
| 374 | +#define OS_MAINSTKSIZE 1024 |
405 | 375 | #endif
|
406 | 376 | #ifndef OS_CLOCK
|
407 |
| -#define OS_CLOCK 100000000 |
| 377 | +#define OS_CLOCK 96000000 |
408 | 378 | #endif
|
409 | 379 |
|
410 | 380 | #elif defined(TARGET_STM32F411RE)
|
|
0 commit comments