mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/*efm32*: do not force RTT_FREQUENCY
while keeping a sane (rtt shared with rtc (counter)) default this commit adds the ability to define RTT_FREQUENCY to some thing different than 1 Hz
This commit is contained in:
parent
4ff30a31e5
commit
c41342dc5b
@ -106,8 +106,9 @@ static const i2c_conf_t i2c_config[] = {
|
||||
* @name RTT configuration
|
||||
* @{
|
||||
*/
|
||||
#define RTT_MAX_VALUE (0xFFFFFFFF)
|
||||
#define RTT_FREQUENCY (1U)
|
||||
#ifndef RTT_FREQUENCY
|
||||
#define RTT_FREQUENCY (1U) /* in Hz */
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
@ -84,8 +84,9 @@ static const adc_chan_conf_t adc_channel_config[] = {
|
||||
* @name RTT configuration
|
||||
* @{
|
||||
*/
|
||||
#define RTT_MAX_VALUE (0xFFFFFFFF)
|
||||
#define RTT_FREQUENCY (1U)
|
||||
#ifndef RTT_FREQUENCY
|
||||
#define RTT_FREQUENCY (1U) /* in Hz */
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
@ -82,8 +82,9 @@ static const adc_chan_conf_t adc_channel_config[] = {
|
||||
* @name RTT configuration
|
||||
* @{
|
||||
*/
|
||||
#define RTT_MAX_VALUE (0xFFFFFFFF)
|
||||
#define RTT_FREQUENCY (1U)
|
||||
#ifndef RTT_FREQUENCY
|
||||
#define RTT_FREQUENCY (1U) /* in Hz */
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
@ -101,8 +101,9 @@ static const i2c_conf_t i2c_config[] = {
|
||||
* @name RTT configuration
|
||||
* @{
|
||||
*/
|
||||
#define RTT_MAX_VALUE (0xFFFFFF)
|
||||
#define RTT_FREQUENCY (1U)
|
||||
#ifndef RTT_FREQUENCY
|
||||
#define RTT_FREQUENCY (1U) /* in Hz */
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
@ -113,8 +113,9 @@ static const i2c_conf_t i2c_config[] = {
|
||||
* @name RTT configuration
|
||||
* @{
|
||||
*/
|
||||
#define RTT_MAX_VALUE (0xFFFFFFFF)
|
||||
#define RTT_FREQUENCY (1U)
|
||||
#ifndef RTT_FREQUENCY
|
||||
#define RTT_FREQUENCY (1U) /* in Hz */
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
@ -104,8 +104,9 @@ static const i2c_conf_t i2c_config[] = {
|
||||
* @name RTT configuration
|
||||
* @{
|
||||
*/
|
||||
#define RTT_MAX_VALUE (0xFFFFFFFF)
|
||||
#define RTT_FREQUENCY (1U)
|
||||
#ifndef RTT_FREQUENCY
|
||||
#define RTT_FREQUENCY (1U) /* in Hz */
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
@ -113,8 +113,9 @@ static const i2c_conf_t i2c_config[] = {
|
||||
* @name RTT configuration
|
||||
* @{
|
||||
*/
|
||||
#define RTT_MAX_VALUE (0xFFFFFFFF)
|
||||
#define RTT_FREQUENCY (1U)
|
||||
#ifndef RTT_FREQUENCY
|
||||
#define RTT_FREQUENCY (1U) /* in Hz */
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
@ -154,8 +154,9 @@ static const pwm_conf_t pwm_config[] = {
|
||||
* @name RTT configuration
|
||||
* @{
|
||||
*/
|
||||
#define RTT_MAX_VALUE (0xFFFFFF)
|
||||
#define RTT_FREQUENCY (1U)
|
||||
#ifndef RTT_FREQUENCY
|
||||
#define RTT_FREQUENCY (1U) /* in Hz */
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
@ -100,8 +100,9 @@ static const i2c_conf_t i2c_config[] = {
|
||||
* @name RTT configuration
|
||||
* @{
|
||||
*/
|
||||
#define RTT_MAX_VALUE (0xFFFFFF)
|
||||
#define RTT_FREQUENCY (1U)
|
||||
#ifndef RTT_FREQUENCY
|
||||
#define RTT_FREQUENCY (1U) /* in Hz */
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
@ -159,8 +159,9 @@ static const pwm_conf_t pwm_config[] = {
|
||||
* @name RTT configuration
|
||||
* @{
|
||||
*/
|
||||
#define RTT_MAX_VALUE (0xFFFFFF)
|
||||
#define RTT_FREQUENCY (1U)
|
||||
#ifndef RTT_FREQUENCY
|
||||
#define RTT_FREQUENCY (1U) /* in Hz */
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
@ -159,8 +159,9 @@ static const pwm_conf_t pwm_config[] = {
|
||||
* @name RTT configuration
|
||||
* @{
|
||||
*/
|
||||
#define RTT_MAX_VALUE (0xFFFFFF)
|
||||
#define RTT_FREQUENCY (1U)
|
||||
#ifndef RTT_FREQUENCY
|
||||
#define RTT_FREQUENCY (1U) /* in Hz */
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user