mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
nucleo-f207zg: remove obsolete spi_divtable
This commit is contained in:
parent
07f34db18f
commit
ce05711498
@ -170,28 +170,8 @@ static const uart_conf_t uart_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 @ 30000000Hz */
|
||||
7, /* -> 117187Hz */
|
||||
5, /* -> 468750Hz */
|
||||
4, /* -> 937500Hz */
|
||||
2, /* -> 3750000Hz */
|
||||
1 /* -> 7500000Hz */
|
||||
},
|
||||
{ /* for APB2 @ 60000000Hz */
|
||||
7, /* -> 234375Hz */
|
||||
6, /* -> 468750Hz */
|
||||
5, /* -> 937500Hz */
|
||||
3, /* -> 3750000Hz */
|
||||
2 /* -> 7500000Hz */
|
||||
}
|
||||
};
|
||||
|
||||
static const spi_conf_t spi_config[] = {
|
||||
{
|
||||
.dev = SPI1,
|
||||
|
Loading…
Reference in New Issue
Block a user