Commit Graph

453 Commits

Author SHA1 Message Date
hathach 08da3e80b7
echo to both serial at once 2020-01-11 12:59:02 +07:00
hathach 242a2b6126
clean example 2020-01-11 12:43:02 +07:00
Ha Thach 744674bb28
Merge pull request #240 from majbthrd/master
implement multiple interfaces support
2020-01-11 12:23:13 +07:00
hathach 67d88a8348 add generic flash-stlink 2020-01-10 15:00:46 +07:00
Ha Thach 97c216bc04
Merge pull request #257 from gsnxp/rt1010fix
fixed build issue with i.MXRT1010-EVK, corrected typo in examples/readme
2020-01-01 13:35:36 +07:00
Greg Steiert e06f4a3ffe fixed build issue with i.MXRT1010-EVK, corrected typo in examples/readme 2019-12-30 09:11:52 -08:00
Peter Lawrence ff0e7d2bed implement multiple interfaces support 2019-12-28 14:27:32 -06:00
hathach 94e70f9b01 Merge branch 'master' into port-samg55 2019-12-21 23:53:48 +07:00
hathach 0316e0ecd4 update descriptor, enhance ep in transfer 2019-12-09 22:48:35 +07:00
Noe Brun d7228094fd
missing source file for cdc_msc to compile 2019-11-26 13:51:16 +01:00
hathach 38b14725f7 rename OPT_MCU_IMXRT10XX to OPT_MCU_MIMXRT10XX 2019-11-22 17:40:12 +07:00
hathach 281e8cd9ec rename OPT_MCU_RT10XX to OPT_MCU_IMXRT10XX 2019-11-22 15:42:46 +07:00
hathach f623dbc425 config clean up 2019-11-22 12:41:47 +07:00
hathach 03deeea465 fix segger host example 2019-11-22 00:33:10 +07:00
hathach f638594536 move -flto to board.mk
current board that doesn work with flto is spresense and mimxrt10xx (due
to xip image_vector_table is optimized out).
2019-11-20 16:06:40 +07:00
hathach 1aa3f085cb adding support for NXP rt1064 evk board, boad test led + sw8 work.
LTO is temporary disabled
2019-11-20 15:30:39 +07:00
Sean Cross dce070ebe0 examples: make: specify CROSS_COMPILE for fomu
When BOARD=fomu, use the riscv cross-compiler.  Otherwise, use the
default arm compiler.  This can be overridden by passing
CROSS_COMIPLE on the command line.

Note that there are now three common risc-v prefixes:

    - riscv32-unknown-elf- : Common for users who compile their own
    - riscv64-unknown-elf- : Upstream multiarch toolchain from SiFive
    - riscv-none-embed-    : xPack embedded version of SiFive toolchain

Here we assume users are using the `riscv-none-embed-` toolchain from
xPack, because it appears to be growing more common.  Additionally,
there is much confusion surrounding `riscv64-unknown-elf-`, which
actually includes both 32- and 64-bit runtimes and can generate software
for both.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:26:00 -08:00
hathach d65bc34bfe added and tested nRF52833DK (pca10100) 2019-11-11 00:11:49 +07:00
hathach 5ca75eb84c seperate DEBUG from LOG 2019-11-03 13:18:02 +07:00
hathach 78523301bb
Merge pull request #202 from smunaut/dfu-rt
Add support for DFU Runtime class for devices
2019-10-28 22:56:14 +07:00
Sylvain Munaut 03f1a6d926 Add example of usage for the DFU Runtime support
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-10-28 16:11:08 +01:00
hathach 6ab0663c1a adding more log 2019-10-24 12:00:06 +07:00
hathach 2f3f23fd94 change to use nrfx uarte 2019-10-18 18:30:09 +07:00
hathach 558b4dbde3 change DEBUG optimization option from O0 to Og
add uart write to board test example
2019-10-18 17:50:29 +07:00
hathach 195d0f5a14 adding log support with uart
started with pca10056
2019-10-12 00:02:51 +07:00
hathach c42edc080c Merge branch 'master' into develop 2019-10-09 11:03:55 +07:00
Kamil Tomaszewski 0747c4b61b Add Spresense board 2019-10-04 13:19:34 +02:00
hathach 281cd858b0
adding lpc1549, but couldnt recieve setup packet, though setup received interrupt is triggered 2019-10-04 15:56:45 +07:00
Nathan Conrad 1e193212d7 Add testcase for EP0 stall recovery to USBTMC test script. 2019-10-02 00:31:47 -04:00
hathach d27291f288 Merge branch 'master' into develop 2019-09-30 14:45:34 +07:00
Nathan Conrad 4ccdc5522d Fix typo of CFG_TUD_ENDOINT0_SIZE. 2019-09-27 12:41:46 -04:00
hathach 6183dbd0ce add -Wextra for more warnings to example
non-stack warning (probably mcu driver) should be suppressed in the
board.mk
2019-09-27 00:15:43 +07:00
hathach 9a8d23e95e
Merge pull request #160 from pigrew/usbtmc
Add usbtmc class driver (READY FOR TESTING)
2019-09-26 00:38:37 +07:00
Nathan Conrad 6841b236e8 Remove _app from callback function names. 2019-09-25 12:47:05 -04:00
Nathan Conrad 6c6a01cbcd USBTMC: Minor updates to testing script. 2019-09-25 12:46:45 -04:00
Nathan Conrad 3a87dd65d7 Change getting the capabilities structure to a callback instead of an extern struct. 2019-09-25 12:46:35 -04:00
Nathan Conrad 2d4352bfe9 Rename USBTMC functions. 2019-09-25 12:46:25 -04:00
Nathan Conrad 624f4bf4ce Remove rhport from app code. If anything, it should be the interface_id. Assume a single interface, for now. 2019-09-24 13:42:29 -04:00
Nathan Conrad 10105557dc Let application control interface latency... 2019-09-24 13:11:45 -04:00
William D. Jones 11de9f0ffd examples: Allow user to override EP0 size. 2019-09-23 23:12:04 -04:00
Nathan Conrad fa5b5e4561 Lots of updates (especially error handling) 2019-09-21 21:46:46 -04:00
Nathan Conrad ec3414ca3a Merge branch 'master' into usbtmc 2019-09-21 21:38:05 -04:00
hathach 7b2f8cc73a added stm32 L0 support
close #125
2019-09-20 13:49:33 +07:00
hathach 80b430fcfc added stm32L0538 discovery board, board test exmaple works 2019-09-20 13:02:17 +07:00
Nathan Conrad 2a7ca15e2c Rename functions to include tud_ and _cb 2019-09-19 20:43:49 -04:00
Nathan Conrad f3d6d0127b Rename USBTMC_CFG_ENABLE_488, and fix build with it off. 2019-09-19 19:59:44 -04:00
Nathan Conrad 7e0490bbf3 Move descriptors to usbd.h 2019-09-19 19:51:37 -04:00
Nathan Conrad 346443118f Add testcase for aborting bulk in with no data queued (and fix aborting bulk in) 2019-09-19 19:01:08 -04:00
Nathan Conrad 0f1435177b Add trigger test code. 2019-09-19 19:00:02 -04:00
Nathan Conrad 0548f97d33 Remove debug printf. 2019-09-19 18:59:57 -04:00