749 Commits

Author SHA1 Message Date
Nathan Conrad
89ffe78f84 ST FSDEV: No need to always reset the interrupt priority, also add some synchronization primitives after disabling interrupts. 2019-09-16 22:56:17 -04:00
Nathan Conrad
a33a854793 Include board header file... :X 2019-09-16 20:56:57 -04:00
Nathan Conrad
d341337c6a Implement remote wakeup + perhaps better sleep? 2019-09-16 20:25:50 -04:00
Nathan Conrad
dfe92542e6 Change inline functions to macros, and make all parameter names uniform. 2019-09-16 11:27:05 -04:00
Nathan Conrad
889c17a442 Merge branch 'master' into TI_compiler_quirks 2019-09-16 09:24:27 -04:00
Nathan Conrad
6b9783cead s/unsigned int/uint32_t/ 2019-09-16 09:20:15 -04:00
hathach
0c70948d0d
Merge pull request #163 from hathach/develop
fix #143
2019-09-16 16:37:27 +07:00
hathach
a37d2d64be fix #143 2019-09-16 13:32:47 +07:00
hathach
88dd83ae5c
Merge pull request #159 from pigrew/assert_documentation
Documentation: assert vs verify.
2019-09-16 11:29:39 +07:00
hathach
19e7b7d85c
Merge pull request #155 from hathach/develop
fix #154 forward all endpoint recipeint request to class driver
2019-09-16 11:27:52 +07:00
hathach
9c5ae0369b follow up to suggestion to pr 155 2019-09-16 11:13:17 +07:00
Nathan Conrad
05c13342a3 Implement EP with size <64. 2019-09-15 23:51:42 -04:00
Nathan Conrad
18303e742e Covert macros to inline functions. 2019-09-15 23:46:03 -04:00
Nathan Conrad
ae873a709e Wrote TX instead of RX. 2019-09-15 23:33:36 -04:00
Nathan Conrad
9593463367 Massive copy&paste typo of mine in the 32-bit byte swapping function.... 2019-09-15 15:20:01 -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
William D. Jones
6280e4e7cb msp430f5529: Add empty msp_exp430f5529lp BSP and DCD. 2019-09-14 18:02:17 -04:00
Nathan Conrad
6e00886ffb Handle USBTMC TermChar. 2019-09-14 17:15:34 -04:00
Nathan Conrad
e74c6b0874 Combined status response enum (std with 488), support trigger. 2019-09-14 16:51:02 -04:00
Nathan Conrad
1cae96951f Add usbtmc class driver. 2019-09-14 13:35:08 -04:00
Nathan Conrad
21ba37aec6 Interpretation of assert vs verify. 2019-09-14 11:25:40 -04:00
Nathan Conrad
4ea212a432 This demonstrates that I don't pre-build things before committing them... oops. 2019-09-13 23:52:43 -04:00
Nathan Conrad
c831311a12 Off-by-one error in Synopsys assertions. (and move some braces to their own lines. 2019-09-13 23:38:58 -04:00
Nathan Conrad
bb7f581b6d TI compiler quirks, and le byte swapping functions. 2019-09-13 20:28:26 -04:00
hathach
ac8c343fef fix #154 forward all endpoint recipeint request to class driver
fix typo
remove magic number 0xff of driver id
2019-09-13 22:16:24 +07:00
hathach
064adebbd0 fix #152, potential memory issue 2019-09-13 14:03:59 +07:00
hathach
c3598f0301 fix #139, correct usbd request intepreting, Non-STD request to Interface must be forward to class driver 2019-09-13 13:03:11 +07:00
hathach
986beda9eb adding stm32l4 support, board test run with stm32l476disco, usb doens't work yet 2019-09-13 11:22:44 +07:00
Nathan Conrad
8cca287683 Add verification that there is enough buffer space for HID OUT control transfer. 2019-09-12 16:07:12 -04:00
Nathan Conrad
340dcb81bf For control transfers, compare the transmitted length against the requested length to know if a ZLP needs to happen. (fixes #139) 2019-09-12 16:06:45 -04:00
hathach
ff7261600c ported stm32f2, added board stm32f207zg nucleo
close #127
2019-09-12 10:41:03 +07:00
Nathan Conrad
d3507b0787 Merge remote-tracking branch 'origin/master' into stfsdev_cleanups 2019-09-11 20:36:48 -04:00
Nathan Conrad
3326b9d008 Use types with explicit bit widths. 2019-09-11 20:33:47 -04:00
hathach
7f166d860d stm32f7 work with dcd synopsis
close #124
2019-09-11 22:48:07 +07:00
Nathan Conrad
7b93177890 Use TU_VERIFY_STATIC, use more uint instead of uint8_t/uint16_t. Create reg16_clear_bits function to reduce typec conversion warnings. 2019-09-11 09:45:48 -04:00
Nathan Conrad
784dc52b62 Update header comments. 2019-09-11 09:44:25 -04:00
Nathan Conrad
4cf2b30759 Fix bug where the EPREGs were not being initialized as expected. 2019-09-11 09:43:57 -04:00
hathach
a3f1c269e9 added stm32f767nucleo board, board_test works 2019-09-11 18:02:27 +07:00
hathach
bf76a1e49e
Merge pull request #136 from hathach/develop
fix #132
2019-09-11 11:16:47 +07:00
hathach
6c6a597465 fix #132 2019-09-11 10:47:07 +07:00
hathach
678ba586df
Merge pull request #122 from cr1901/synopsys
Synopsys Refactor
2019-09-11 10:37:49 +07:00
Nathan Conrad
4f6bedeac9 Rename the STM32 MCU options. 2019-09-10 12:57:43 -04:00
Nathan Conrad
23d39f2b15 Remove OPT_MCU_STM for L and G series. 2019-09-10 12:13:36 -04:00
Nathan Conrad
65e72de7ce Move interrupt handler into device driver, and rename the OPT_MCU_STM32 constants. 2019-09-10 09:35:52 -04:00
Nathan Conrad
49c58be4ce Fix silly typo in the F3xx support. 2019-09-10 01:31:14 -04:00
Nathan Conrad
bc2a65b20b A few bug fixes, remove the unstested device notices, note supported boards in READMEs, and implement PMA
access stride (used on MCU's with 512 byte USB buffers).
2019-09-10 01:03:24 -04:00
Nathan Conrad
f7b0aeec52 Start clock on F0 and F0, and handle USB interrupts. 2019-09-09 19:20:26 -04:00
Nathan Conrad
d1976a30b3 Update F3 BSP and create F070RB BSP. Both are untested (but compile). 2019-09-09 16:14:38 -04:00
Nathan Conrad
5ec59c2a30 Add STM32 FSDEV driver. 2019-09-09 14:55:39 -04:00