diff options
| author | hathach <[email protected]> | 2019-09-11 11:55:16 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-09-11 11:55:16 +0700 |
| commit | 3f02c359832ec19400265a5ee335e30fde10d24d (patch) | |
| tree | 1209598daadf944eddd6adffc7dcdde27e533ed1 /hw | |
| parent | 34b76898da16ea33897d6cb5b908611d81ab5855 (diff) | |
fix #130
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/bsp/lpcxpresso11u37/board.mk | 1 | ||||
| -rw-r--r-- | hw/bsp/lpcxpresso1347/board.mk | 1 | ||||
| -rw-r--r-- | hw/bsp/stm32f070rbnucleo/board.mk | 1 | ||||
| -rw-r--r-- | hw/bsp/stm32f072disco/board.mk | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/hw/bsp/lpcxpresso11u37/board.mk b/hw/bsp/lpcxpresso11u37/board.mk index 2a7a9f74a..228765550 100644 --- a/hw/bsp/lpcxpresso11u37/board.mk +++ b/hw/bsp/lpcxpresso11u37/board.mk @@ -5,6 +5,7 @@ CFLAGS += \ -nostdlib \ -DCORE_M0 \ -D__USE_LPCOPEN \ + -DCFG_EXAMPLE_MSC_READONLY \ -DCFG_TUSB_MCU=OPT_MCU_LPC11UXX \ -DCFG_TUSB_MEM_SECTION='__attribute__((section(".data.$$RAM2")))' \ -DCFG_TUSB_MEM_ALIGN='__attribute__((aligned(64)))' diff --git a/hw/bsp/lpcxpresso1347/board.mk b/hw/bsp/lpcxpresso1347/board.mk index edae27c61..4e0c70392 100644 --- a/hw/bsp/lpcxpresso1347/board.mk +++ b/hw/bsp/lpcxpresso1347/board.mk @@ -5,6 +5,7 @@ CFLAGS += \ -nostdlib \ -DCORE_M3 \ -D__USE_LPCOPEN \ + -DCFG_EXAMPLE_MSC_READONLY \ -DCFG_TUSB_MCU=OPT_MCU_LPC13XX \ -DCFG_TUSB_MEM_SECTION='__attribute__((section(".data.$$RAM3")))' \ -DCFG_TUSB_MEM_ALIGN='__attribute__((aligned(64)))' diff --git a/hw/bsp/stm32f070rbnucleo/board.mk b/hw/bsp/stm32f070rbnucleo/board.mk index e4036982e..b53aac5bb 100644 --- a/hw/bsp/stm32f070rbnucleo/board.mk +++ b/hw/bsp/stm32f070rbnucleo/board.mk @@ -6,6 +6,7 @@ CFLAGS += \ -mcpu=cortex-m0 \ -mfloat-abi=soft \ -nostdlib -nostartfiles \ + -DCFG_EXAMPLE_MSC_READONLY \ -DCFG_TUSB_MCU=OPT_MCU_STM32F0 ST_HAL_DRIVER = hw/mcu/st/st_driver/STM32F0xx_HAL_Driver diff --git a/hw/bsp/stm32f072disco/board.mk b/hw/bsp/stm32f072disco/board.mk index e16212fe3..0a58a5654 100644 --- a/hw/bsp/stm32f072disco/board.mk +++ b/hw/bsp/stm32f072disco/board.mk @@ -6,6 +6,7 @@ CFLAGS += \ -mcpu=cortex-m0 \ -mfloat-abi=soft \ -nostdlib -nostartfiles \ + -DCFG_EXAMPLE_MSC_READONLY \ -DCFG_TUSB_MCU=OPT_MCU_STM32F0 ST_HAL_DRIVER = hw/mcu/st/st_driver/STM32F0xx_HAL_Driver |
