Re-enable devices.
This commit is contained in:
@@ -129,9 +129,9 @@ void target_init(void)
|
||||
{
|
||||
stm32_debug_init();
|
||||
|
||||
//qspi_flash_init(N25Q128A_FLASH_SIZE);
|
||||
qspi_flash_init(N25Q128A_FLASH_SIZE);
|
||||
|
||||
#if 0 //ENABLE_LCD
|
||||
#if ENABLE_LCD
|
||||
memory_lcd_init();
|
||||
#endif
|
||||
|
||||
@@ -150,7 +150,7 @@ void target_init(void)
|
||||
minip_init(stm32_eth_send_minip_pkt, NULL, ip_addr, ip_mask, ip_gateway);
|
||||
#endif
|
||||
|
||||
#if 0 //WITH_LIB_FS_SPIFS
|
||||
#if WITH_LIB_FS_SPIFS
|
||||
status_t mount_success = fs_mount(DEAULT_SPIFS_MOUNT_POINT,
|
||||
DEAULT_SPIFS_NAME, SPIFS_TARGET_DEVICE);
|
||||
if (mount_success != NO_ERROR) {
|
||||
@@ -163,9 +163,9 @@ void target_init(void)
|
||||
#endif
|
||||
|
||||
// start usb
|
||||
//target_usb_setup();
|
||||
target_usb_setup();
|
||||
|
||||
#if 0 //ENABLE_SENSORBUS
|
||||
#if ENABLE_SENSORBUS
|
||||
sensor_bus_init();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user