mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
weact-f411ce: remove obsolete spi_divtable
This commit is contained in:
parent
23d5e9202d
commit
01d7d55a6f
@ -106,28 +106,8 @@ static const pwm_conf_t pwm_config[] = {
|
||||
|
||||
/**
|
||||
* @name SPI configuration
|
||||
*
|
||||
* @note The spi_divtable is auto-generated from
|
||||
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`
|
||||
* @{
|
||||
*/
|
||||
static const uint8_t spi_divtable[2][5] = {
|
||||
{ /* for APB1 @ 48000000Hz */
|
||||
7, /* -> 187500Hz */
|
||||
6, /* -> 375000Hz */
|
||||
5, /* -> 750000Hz */
|
||||
2, /* -> 6000000Hz */
|
||||
1 /* -> 12000000Hz */
|
||||
},
|
||||
{ /* for APB2 @ 96000000Hz */
|
||||
7, /* -> 375000Hz */
|
||||
7, /* -> 375000Hz */
|
||||
6, /* -> 750000Hz */
|
||||
3, /* -> 6000000Hz */
|
||||
2 /* -> 12000000Hz */
|
||||
}
|
||||
};
|
||||
|
||||
static const spi_conf_t spi_config[] = {
|
||||
{ /* U3 - SPI flash */
|
||||
.dev = SPI1,
|
||||
|
Loading…
Reference in New Issue
Block a user