mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:43:28 +08:00
The M3 Wildfire port is code complete and ready for test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5125 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -266,7 +266,7 @@
|
||||
# errror "USART1 requires CONFIG_STM32_USART1_REMAP=y"
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_STM32_USART2) && defined()
|
||||
#if defined(CONFIG_STM32_USART2) && defined(CONFIG_STM32_USART2_REMAP)
|
||||
# errror "USART2 requires CONFIG_STM32_USART2_REMAP=n"
|
||||
#endif
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -139,7 +139,7 @@ int nsh_archinitialize(void)
|
||||
|
||||
/* Initialize the SDIO-based MMC/SD slot */
|
||||
|
||||
ret = stm32_sdinitialze(CONFIG_NSH_MMCSDMINOR);
|
||||
ret = stm32_sdinitialize(CONFIG_NSH_MMCSDMINOR);
|
||||
if (ret < 0)
|
||||
{
|
||||
message("nsh_archinitialize: Failed to initialize MMC/SD slot %d: %d\n",
|
||||
|
||||
@@ -170,6 +170,7 @@ void stm32_spi1select(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool sele
|
||||
stm32_gpiowrite(GPIO_FLASH_CS, !selected);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
#ifdef CONFIG_NET_ENC28J60
|
||||
if (devid == SPIDEV_ETHERNET)
|
||||
{
|
||||
|
||||
@@ -74,9 +74,11 @@
|
||||
|
||||
void stm32_usbinitialize(void)
|
||||
{
|
||||
/* USB Soft Connect Pullup: PB.14 */
|
||||
/* USB Soft Connect Pullup */
|
||||
|
||||
#if 0 /* REVISIT */
|
||||
stm32_configgpio(GPIO_USB_PULLUP);
|
||||
#endif
|
||||
}
|
||||
|
||||
/************************************************************************************
|
||||
@@ -94,7 +96,9 @@ void stm32_usbinitialize(void)
|
||||
int stm32_usbpullup(FAR struct usbdev_s *dev, bool enable)
|
||||
{
|
||||
usbtrace(TRACE_DEVPULLUP, (uint16_t)enable);
|
||||
#if 0 /* REVISIT */
|
||||
stm32_gpiowrite(GPIO_USB_PULLUP, !enable);
|
||||
#endif
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user