git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13788 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2020-07-24 09:29:25 +00:00
parent eb537d7ac8
commit b4a8c81b53
3 changed files with 3 additions and 8 deletions

View File

@ -360,9 +360,9 @@
#if !defined(STM32_ENFORCE_H7_REV_XY)
/* ADC clock source checks.*/
#if (STM32_D1HPRE == STM32_D1HPRE_DIV1)
#define STM32_ADC_SCLK STM32_SYSCLK
#define STM32_ADC_SCLK STM32_HCLK
#else
#define STM32_ADC_SCLK (STM32_SYSCLK / 2)
#define STM32_ADC_SCLK (STM32_HCLK / 2)
#endif
#if STM32_ADC_ADC12_CLOCK_MODE == ADC_CCR_CKMODE_ADCCK

View File

@ -272,15 +272,9 @@ typedef struct {
*
* @special
*/
#if defined(STM32_ENFORCE_H7_REV_XY) || defined(__DOXYGEN__)
#define bdmaStreamSetMemory(stp, addr) { \
(stp)->channel->CM0AR = (uint32_t)(addr); \
}
#else
#define bdmaStreamSetMemory(stp, addr) { \
(stp)->channel->CMAR = (uint32_t)(addr); \
}
#endif
/**
* @brief Sets the number of transfers to be performed.

View File

@ -285,4 +285,5 @@
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
</cproject>