diff options
| author | hathach <[email protected]> | 2018-04-12 13:04:48 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-04-12 13:04:48 +0700 |
| commit | e1272159d8b32e2f5478b35fa0e727cfc5c417e3 (patch) | |
| tree | ee7e617d7d0e354a25918eaee681c951a2d5c165 /examples/device/nrf52840/src | |
| parent | 18f97fef7e35937c017f2b2ad2300a920256f66b (diff) | |
rename MCU_ to OPT_MCU
Diffstat (limited to 'examples/device/nrf52840/src')
| -rw-r--r-- | examples/device/nrf52840/src/msc_device_app.h | 2 | ||||
| -rw-r--r-- | examples/device/nrf52840/src/tusb_config.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/nrf52840/src/msc_device_app.h b/examples/device/nrf52840/src/msc_device_app.h index 185ceb260..83b460743 100644 --- a/examples/device/nrf52840/src/msc_device_app.h +++ b/examples/device/nrf52840/src/msc_device_app.h @@ -63,7 +63,7 @@ enum If you find any bugs or get any questions, feel free to file an\r\n\ issue at github.com/hathach/tinyusb" -#if CFG_TUSB_MCU==MCU_LPC11UXX || CFG_TUSB_MCU==MCU_LPC13UXX +#if CFG_TUSB_MCU==OPT_MCU_LPC11UXX || CFG_TUSB_MCU==OPT_MCU_LPC13UXX #define MSCD_APP_ROMDISK #else // defaults is ram disk #define MSCD_APP_RAMDISK diff --git a/examples/device/nrf52840/src/tusb_config.h b/examples/device/nrf52840/src/tusb_config.h index 6182ed9e1..b9346aaf9 100644 --- a/examples/device/nrf52840/src/tusb_config.h +++ b/examples/device/nrf52840/src/tusb_config.h @@ -76,7 +76,7 @@ #define CFG_TUSB_ATTR_USBRAM // LPC11uxx and LPC13uxx requires each buffer has to be 64-byte alignment -#if CFG_TUSB_MCU == MCU_LPC11UXX || CFG_TUSB_MCU == MCU_LPC13UXX +#if CFG_TUSB_MCU == OPT_MCU_LPC11UXX || CFG_TUSB_MCU == OPT_MCU_LPC13UXX #define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(64) #elif defined NRF52840_XXAA #define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4) |
