update stm32 dcd stall control endpoint

This commit is contained in:
hathach
2019-03-13 16:54:10 +07:00
parent ddfc32f5ec
commit 195a44172a
4 changed files with 33 additions and 93 deletions
+2 -1
View File
@@ -41,6 +41,7 @@ else
endif
endif
# flash target using on-board stlink
# flash target using on-board stlink or jlink
flash: $(BUILD)/$(BOARD)-firmware.elf
$(STM32Prog) --connect port=swd --write $< --go
#JLinkExe
@@ -45,8 +45,6 @@
//--------------------------------------------------------------------+
// MACRO TYPEDEF CONSTANT ENUM DECLARATION
//--------------------------------------------------------------------+
#define LED_STATE_ON 1
void board_init(void)
{
// Init the LED on PD14