hathach
02a1ce4e76
Merge pull request #44 from hathach/develop
...
migrate license from BSD 3 clause to MIT
2019-03-20 02:16:35 -07:00
hathach
2d4314dd2d
update license badge
2019-03-20 16:12:38 +07:00
hathach
c211ee19dd
migrate license from BSD 3 clause to MIT
2019-03-20 16:11:42 +07:00
hathach
4647ad8136
clean up
2019-03-20 14:41:35 +07:00
hathach
0de884da76
Merge pull request #43 from hathach/develop
...
move lpcopen to its own repo (submodule)
2019-03-19 22:40:28 -07:00
hathach
6787fbeff0
move lpcopen to its own repo (submodule)
2019-03-20 12:37:25 +07:00
hathach
70bdd2384a
Merge pull request #42 from hathach/develop
...
add pca10056 to travis build
2019-03-19 22:02:35 -07:00
hathach
f2f3f5a772
fix pca10056 build error due to nrfx undef usage
2019-03-20 01:35:52 +07:00
hathach
1a0c4fbb9b
add pca10056 to travis buidl
2019-03-20 01:23:59 +07:00
hathach
e6612ab82c
move -nostdlib (-nostartfiles) into board.mk
...
since nrf5x require the use of std startup. Add verbose mode to makefile
2019-03-20 01:23:49 +07:00
hathach
d22dea4976
update nrfx to 1.6.2
2019-03-19 19:09:08 +07:00
hathach
2ad4751cf4
Merge branch 'master' of github.com:hathach/tinyusb into develop
2019-03-19 16:58:36 +07:00
hathach
1c89090d18
Merge pull request #40 from hathach/develop
...
stm32f4 port (Cont)
2019-03-19 02:58:09 -07:00
hathach
1062910348
readme clean up
2019-03-19 16:51:41 +07:00
hathach
0fcd263df3
stm32f place startup*.o first in linking order due to gcc flto bug
...
ref: https://bugs.launchpad.net/gcc-arm-embedded/+bug/1747966
2019-03-19 16:41:00 +07:00
hathach
11eed2f026
update flash-jlink target for m0 and m4 board
2019-03-17 15:42:57 +07:00
hathach
f932cf3854
stm32 update fifo in comment
2019-03-17 15:16:52 +07:00
hathach
e39b4199b0
add stm32f4 board to travis build
2019-03-16 02:25:56 +07:00
hathach
d56e7fd913
adding flash (jlink)
2019-03-16 01:34:26 +07:00
hathach
e49efde730
update ses project file
2019-03-15 18:48:14 +07:00
hathach
5e92d67015
stm32 update TX Fifo for edpt IN, both CDC + MSC work great
...
- call dcd_event_xfer_complete() when enough bytes received
- add dcd_get_frame_number()
2019-03-15 18:43:09 +07:00
hathach
eda56769b9
dcd_set_address include status response, usbd control stall both control in and out
2019-03-13 23:14:48 +07:00
hathach
195a44172a
update stm32 dcd stall control endpoint
2019-03-13 16:54:10 +07:00
hathach
ddfc32f5ec
adding segger project for stm32f4
2019-03-10 01:24:13 +07:00
hathach
0ff7d609f0
add flash target for stm32 board using stm32cubeprogammger cli
2019-03-09 01:04:26 +07:00
hathach
57d069981f
fix asm file .S (nrf) and .s (stm)
2019-03-05 23:24:33 +07:00
hathach
c0737f928f
Merge pull request #38 from cr1901/stm32f4
...
STM32F4 Family Support
2019-03-05 05:47:40 -08:00
hathach
8418cb816b
Merge branch 'master' into stm32f4
2019-03-05 05:45:42 -08:00
William D. Jones
49aa6ec251
st: Use submodules for system files when possible, use more up to date
...
files otherwise. Update STM32F4-DISCOVERY demo and board.mk to reflect
changes.
2019-03-04 10:41:05 -05:00
hathach
a19455d1ff
follow up to PR #39
2019-03-04 11:51:36 +07:00
hathach
f23affbb0a
Merge pull request #39 from gpshead/strncpy-msc_dev_ids
...
Fixes #33 : Remove invalid use of strncpy()
2019-03-03 20:37:12 -08:00
Gregory P. Smith
fa8141f31f
Fixes #33 : Remove invalid use of strncpy().
...
This was causing a stringop-truncation compiler warning in gcc 8 when
the #defined values being copied from were string literals.
`error: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Werror=stringop-truncation]`
These fields aren't NUL terminated C strings, they are a fixed width buffer
that is supposed to be space (0x20) padded.
2019-03-03 19:41:41 -08:00
William D. Jones
c95ad426c6
stm32f4: Refactor IN and OUT endpoint interrupt handling into their own functions.
2019-02-27 11:01:08 -05:00
William D. Jones
f43161353c
stm32f4: Refactor RX FIFO read into its own function; remove RXFLVL
...
resetting (read only) and masking (no nested ints).
2019-02-27 10:39:37 -05:00
William D. Jones
c51b11f103
Move all paths using "stm" to "st" subdirectories, update config.mk.
2019-02-27 09:15:07 -05:00
William D. Jones
b3137cdee3
examples/cdc_msc_hid: Revert local changes to tusb_config.h.
2019-02-27 08:30:03 -05:00
hathach
55874813f8
Merge pull request #37 from hathach/develop
...
mscd: send scsi status before invoke read10/write10/scsi complete callback
2019-02-21 10:35:49 -08:00
hathach
f2d76a39eb
mscd: send scsi status before invoke read10/write10/scsi complete callback
2019-02-22 01:31:13 +07:00
hathach
6645be65f5
Merge pull request #36 from tannewt/fix_write_protect
...
Fix write protected MSC. The bits were flipped.
2019-02-20 20:09:07 -08:00
Scott Shawcroft
c870efffc0
Fix write protected MSC. The bits were flipped.
2019-02-20 15:12:36 -08:00
William D. Jones
5a1c5cf0b7
stm32f4: Clarify comments and disable OTGINT; fixes stack reset on
...
cable disconnect, and we don't use OTG right now.
2019-02-14 23:41:16 -05:00
William D. Jones
5a34a9de69
stm32f4: Implement STALL logic for endpoints.
2019-02-08 16:46:12 -05:00
William D. Jones
5526d840a8
stm32f4: Do some comment/dead code (per 6048a3b) cleanups.
2019-02-08 12:05:44 -05:00
William D. Jones
c7a52829f4
Clarify receive_packet comment, add SOF handling.
2019-02-08 11:51:29 -05:00
William D. Jones
5645d44127
stm32f4: Add for-loop guard for transmit_packet xfers < 4 chars.
2019-02-07 21:25:27 -05:00
William D. Jones
28ccc8bd0b
stm32f4: Fix bad implementation of receive_packet function.
2019-02-07 21:23:00 -05:00
William D. Jones
b819b33a68
stm32f4: Make sure interrupts enabled for non-zero endpoints.
2019-02-07 20:29:48 -05:00
William D. Jones
4dc6746a68
stm32f4: Implement dcd_edpt_busy. Don't set EPENA for activated endpoints.
2019-02-05 13:22:39 -05:00
William D. Jones
747815f03b
stm32f4: Ensure endpoints enabled properly, using correct FIFOs.
2019-02-04 20:30:47 -05:00
William D. Jones
f5d9e7e560
stm32f4: Implement dcd_edpt_open.
2019-01-30 09:27:27 -05:00