diff options
| author | Ha Thach <[email protected]> | 2021-11-08 23:33:45 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-08 23:33:45 +0700 |
| commit | 6f59a2ce6e9cfdb7855b300db3ad1304b35bb25f (patch) | |
| tree | b68bf9f80f65de9e3019ec1411c1c051b8966301 /examples/device | |
| parent | ab760290a514bc239c5ef8901ff8d80f64d461f9 (diff) | |
| parent | 1c77f9f6694151beca9a490eadf545b30557e9a0 (diff) | |
Merge pull request #1183 from kkitayam/add_msp_exp432e401y
Add support for TI MSP-EXP432E401Y
Diffstat (limited to 'examples/device')
| -rw-r--r-- | examples/device/99-tinyusb.rules | 7 | ||||
| -rw-r--r-- | examples/device/dfu/.skip.MCU_TM4C123 | 4 | ||||
| -rw-r--r-- | examples/device/dfu/src/tusb_config.h | 2 |
3 files changed, 12 insertions, 1 deletions
diff --git a/examples/device/99-tinyusb.rules b/examples/device/99-tinyusb.rules index e6372ed58..d306bada5 100644 --- a/examples/device/99-tinyusb.rules +++ b/examples/device/99-tinyusb.rules @@ -12,3 +12,10 @@ ATTRS{idVendor}=="cafe", MODE="0666", GROUP="dialout" # Rule to blacklist TinyUSB example from being manipulated by ModemManager. SUBSYSTEMS=="usb", ATTRS{idVendor}=="cafe", ENV{ID_MM_DEVICE_IGNORE}="1" + +# Xplained Pro SamG55 Device +SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2111", MODE="0666", GROUP="users", ENV{ID_MM_DEVICE_IGNORE}="1" +SUBSYSTEMS=="tty", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2111", MODE="0666", GROUP="users", ENV{ID_MM_DEVICE_IGNORE}="1" + +# TI Stellaris/Tiva-C Launchpad ICDI +SUBSYSTEM=="usb", ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="00fd", MODE="0666" diff --git a/examples/device/dfu/.skip.MCU_TM4C123 b/examples/device/dfu/.skip.MCU_TM4C123 new file mode 100644 index 000000000..6260e6e25 --- /dev/null +++ b/examples/device/dfu/.skip.MCU_TM4C123 @@ -0,0 +1,4 @@ +LINK _build/ek-tm4c123gxl/dfu.elf +/home/runner/cache/toolchain/xpack-arm-none-eabi-gcc-10.2.1-1.1/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: section .ARM.exidx.text._close LMA [0000000000002980,0000000000002987] overlaps section .data LMA [0000000000002980,0000000000002a03] +collect2: error: ld returned 1 exit status +make: *** [../../rules.mk:94: _build/ek-tm4c123gxl/dfu.elf] Error 1
\ No newline at end of file diff --git a/examples/device/dfu/src/tusb_config.h b/examples/device/dfu/src/tusb_config.h index 66e357021..012d50019 100644 --- a/examples/device/dfu/src/tusb_config.h +++ b/examples/device/dfu/src/tusb_config.h @@ -80,7 +80,7 @@ #define CFG_TUD_DFU 1 // DFU buffer size, it has to be set to the buffer size used in TUD_DFU_DESCRIPTOR -#define CFG_TUD_DFU_XFER_BUFSIZE 512 +#define CFG_TUD_DFU_XFER_BUFSIZE ( OPT_MODE_HIGH_SPEED ? 512 : 64 ) #ifdef __cplusplus } |
