Add maple mini code.

This commit is contained in:
flabbergast 2015-12-03 08:49:55 +00:00
parent 39c0c27587
commit f108623011
6 changed files with 133 additions and 69 deletions

View file

@ -46,7 +46,7 @@
* @details Frequency of the system timer that drives the system ticks. This
* setting also defines the system tick time unit.
*/
#define CH_CFG_ST_FREQUENCY 10000
#define CH_CFG_ST_FREQUENCY 2000
/**
* @brief Time delta constant for the tick-less mode.
@ -124,7 +124,7 @@
* @note This is not related to the compiler optimization options.
* @note The default is @p TRUE.
*/
#define CH_CFG_OPTIMIZE_SPEED FALSE
#define CH_CFG_OPTIMIZE_SPEED TRUE
/** @} */
@ -281,7 +281,7 @@
*
* @note The default is @p TRUE.
*/
#define CH_CFG_USE_MEMCORE FALSE
#define CH_CFG_USE_MEMCORE TRUE
/**
* @brief Heap Allocator APIs.
@ -293,7 +293,7 @@
* @p CH_CFG_USE_SEMAPHORES.
* @note Mutexes are recommended.
*/
#define CH_CFG_USE_HEAP FALSE
#define CH_CFG_USE_HEAP TRUE
/**
* @brief Memory Pools Allocator APIs.