Skip to content

Commit ae33995

Browse files
committed
fix sdcard again
1 parent c359a75 commit ae33995

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

cores/arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_hal_conf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
#define VDD_VALUE ((uint32_t)3300) /*!< Value of VDD in mv */
160160
#define TICK_INT_PRIORITY ((uint32_t)0x0F) /*!< tick interrupt priority */
161161
#define USE_RTOS 0
162-
#define USE_SD_TRANSCEIVER 1U /*!< use uSD Transceiver */
162+
#define USE_SD_TRANSCEIVER 0U /*!< use uSD Transceiver */
163163
#define USE_SPI_CRC 1U /*!< use CRC in SPI */
164164

165165
#define USE_HAL_ADC_REGISTER_CALLBACKS 0U /* ADC register callback disabled */

libraries/Envie_SDCARD/BSP.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ __weak void BSP_SD_MspInit(SD_HandleTypeDef *hsd, void *Params)
307307
HAL_GPIO_Init(GPIOG, &gpio_init_structure);
308308

309309
/* Set the camera POWER_DOWN pin (active high) */
310-
HAL_GPIO_WritePin(GPIOG, GPIO_PIN_3, GPIO_PIN_SET);
310+
HAL_GPIO_WritePin(GPIOG, GPIO_PIN_3, GPIO_PIN_RESET);
311311

312312
/* Enable SDIO clock */
313313
__HAL_RCC_SDMMC2_CLK_ENABLE();

variants/ENVIE_M7/libs/libmbed.a

-185 KB
Binary file not shown.

0 commit comments

Comments
 (0)