Skip to content

Commit 864a9b8

Browse files
committed
Add USB macros in targets.json for F412ZG
1 parent 15cd3da commit 864a9b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/targets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@
857857
"supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"],
858858
"inherits": ["Target"],
859859
"detect_code": ["0826"],
860-
"macros": ["TRANSACTION_QUEUE_SIZE_SPI=2"],
860+
"macros": ["TRANSACTION_QUEUE_SIZE_SPI=2", "USB_STM_HAL", "USBHOST_OTHER"],
861861
"device_has": ["ANALOGIN", "CAN", "ERROR_RED", "I2C", "I2CSLAVE", "I2C_ASYNCH", "INTERRUPTIN", "LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_ASYNCH", "SERIAL_FC", "SLEEP", "SPI", "SPISLAVE", "SPI_ASYNCH", "STDIO_MESSAGES", "TRNG"],
862862
"release_versions": ["2", "5"],
863863
"device_name": "STM32F412ZG"

0 commit comments

Comments
 (0)