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:
parent
36b1b9705d
commit
ab2d0948f7
|
@ -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. */
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue