MindPX: Update spi bus and sensors io config.

This commit is contained in:
Henry Zhang
2016-08-17 15:17:17 +08:00
committed by Lorenz Meier
parent cabcc39816
commit d6ed416d29
4 changed files with 32 additions and 113 deletions

View File

@@ -258,7 +258,7 @@
* There are sensors on SPI1, and SPI2 is connected to the FRAM.
*/
#define GPIO_SPI1_MISO (GPIO_SPI1_MISO_1|GPIO_SPEED_50MHz)
#define GPIO_SPI1_MOSI (GPIO_SPI1_MOSI_1|GPIO_SPEED_50MHz)
#define GPIO_SPI1_MOSI (GPIO_SPI1_MOSI_2|GPIO_SPEED_50MHz)
#define GPIO_SPI1_SCK (GPIO_SPI1_SCK_1|GPIO_SPEED_50MHz)
#define GPIO_SPI2_MISO (GPIO_SPI2_MISO_1|GPIO_SPEED_50MHz)