Commit Graph

442 Commits

Author SHA1 Message Date
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
Nathan Conrad d4b2dff7c4 Fix more TX bugs... and add variable response delay to the example project. 2019-09-19 00:00:27 -04:00
Nathan Conrad 9a726dc7ed More fixes, and a bit of SRQ. 2019-09-18 21:34:26 -04:00
Nathan Conrad 99d03fcaee small fixes 2019-09-18 19:30:44 -04:00
Nathan Conrad eea71a8b3b usbtmc updates.... 2019-09-18 19:24:54 -04:00
Nathan Conrad 91cd247c97 changes 2 2019-09-17 13:29:39 -04:00
Nathan Conrad e234998c6c More proper handling of clear. 2019-09-17 13:29:38 -04:00
Nathan Conrad c755aee7d0 Clear 2019-09-17 13:29:38 -04:00
Nathan Conrad e53e9bd4f0 Simulate query delay; getting to a point where implementing clear/aborts makes
sense. Probably adding too many concurance issues; need to figure out
semaphores.
2019-09-14 21:26:43 -04:00
Nathan Conrad 64bfec79b2 Change requset type parameter back to uint8_t (fix type cast), support USB indicator pulse 2019-09-14 18:11:07 -04:00
Nathan Conrad acd8fa7650 (and update the example to match) 2019-09-14 16:56:53 -04:00
Nathan Conrad 1cae96951f Add usbtmc class driver. 2019-09-14 13:35:08 -04:00