Community support imporovements. Added hooks simplifying adding of new hal modules in community repo.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7516 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
barthess 2014-11-16 11:03:31 +00:00
parent 36b1b9705d
commit ab2d0948f7
2 changed files with 11 additions and 0 deletions

View File

@ -76,6 +76,11 @@
#include "mmc_spi.h"
#include "serial_usb.h"
/* Community drivers.*/
#if HAL_USE_COMMUNITY
#include "hal_community.h"
#endif
/*===========================================================================*/
/* Driver constants. */
/*===========================================================================*/

View File

@ -119,6 +119,12 @@ void halInit(void) {
#if HAL_USE_RTC || defined(__DOXYGEN__)
rtcInit();
#endif
/* Community driver overlay initialization.*/
#if HAL_USE_COMMUNITY || defined(__DOXYGEN__)
halCommunityInit();
#endif
/* Board specific initialization.*/
boardInit();