OS: Disable drivers for unused peripherals.

This commit is contained in:
Jared Boone 2017-07-18 15:50:00 -07:00
parent 1eb561ab45
commit c5230387df
3 changed files with 0 additions and 4 deletions

View File

@ -38,13 +38,11 @@
#define LPC43XX_I2C_USE_I2C0 TRUE
#define LPC43XX_I2C_USE_I2C1 TRUE
/*
* SPI driver system settings.
*/
#define LPC_SPI_USE_SSP0 TRUE
#define LPC_SPI_USE_SSP1 TRUE

View File

@ -59,7 +59,6 @@ portapack::IO io {
lcd::ILI9341 display;
I2C i2c0(&I2CD0);
SPI ssp0(&SPID1);
SPI ssp1(&SPID2);
si5351::Si5351 clock_generator {

View File

@ -39,7 +39,6 @@ extern portapack::IO io;
extern lcd::ILI9341 display;
extern I2C i2c0;
extern SPI ssp0;
extern SPI ssp1;
extern si5351::Si5351 clock_generator;