hathach
d9ef34276b
update doc
2019-10-11 11:26:19 +07:00
hathach
c42edc080c
Merge branch 'master' into develop
2019-10-09 11:03:55 +07:00
hathach
f86f0e54a9
added ti_driver submodule
2019-10-07 15:06:36 +07:00
hathach
ada73a57c6
add ti_driver as submodule
2019-10-07 14:27:02 +07:00
William D. Jones
97af9e3332
msp_exp430f5529lp: Make board_millis atomic.
2019-10-06 20:44:06 -04:00
William D. Jones
16ff152129
msp_exp430f5529lp: Set up UART functionality.
2019-10-05 09:37:48 -04: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
hathach
13d37e4a36
lpcxpresso1549 board test running
2019-10-03 15:23:01 +07:00
hathach
7fd68efe7b
couldn't get 32L4 running with crystal less mode
2019-10-03 13:37:10 +07:00
William D. Jones
5ee1070c16
Merge remote-tracking branch 'origin' into msp430f5529
2019-10-02 23:18:49 -04:00
hathach
0a20e91cc9
move linker file to blue pill bsp
2019-10-02 14:23:23 +07:00
hathach
0673be7724
ported stm32f1, tested with f103 blue pill
2019-10-02 12:01:34 +07:00
hathach
6479ee53d5
-Wno-error=cast-function-type is only available for gcc 8+, change travis dist to bionic
2019-10-01 15:43:28 +07:00
Nathan Conrad
c4483d244b
Fix typo of CFG_TUD_ENDOINT0_SIZE.
2019-09-27 21:22:19 -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
William D. Jones
d2e4af5a7b
msp430f5529: Change EP0 size to 8, implement interrupt logic up to bus
...
reset detection.
2019-09-24 02:41:11 -04:00
William D. Jones
a6a79df9fb
msp430f5529: Enable clocks/PLL for msp_exp430f5529lp and enable USB
...
module in dcd_msp430x5xx; device does not enumerate.
2019-09-23 18:53:31 -04:00
William D. Jones
907bc3df9b
msp430f5529: Ensure cdc_msc demo compiles.
2019-09-23 17:48:18 -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
William D. Jones
49f2507b38
msp_exp430f5529lp: Implement enough functionality for board_test.
2019-09-19 01:21:29 -04:00
hathach
3440083bfd
added board feather stm32f045
2019-09-18 14:38:56 +07:00
William D. Jones
772b0c17bf
rules.mk: Create an LDINC variable for linker script search path.
2019-09-14 21:16:10 -04:00
William D. Jones
d464c26ab2
msp430f5529: Remove -nostdlib and -nostartfiles, as the compiler
...
provides them.
2019-09-14 21:06:57 -04:00
William D. Jones
6280e4e7cb
msp430f5529: Add empty msp_exp430f5529lp BSP and DCD.
2019-09-14 18:02:17 -04:00
hathach
98a68d600c
Merge pull request #131 from cr1901/pyboard
...
Add PyBoard BSP
2019-09-14 16:31:43 +07:00
William D. Jones
d7137e36ca
pyboardv11: Fix typo in HSE_VALUE define so that SysTick runs at correct
...
frequency.
2019-09-14 04:32:10 -04:00
hathach
9e96c10014
Merge pull request #151 from hathach/develop
...
fix #139 , correct usbd request intepreting, Non-STD request to Interf… … …ace must be forward to class driver
2019-09-13 13:14:18 +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
f830f6956e
Correct port assigned on the STM32F070 BSP
2019-09-12 14:53:53 -04:00
hathach
72046d957c
fix #145
2019-09-12 10:43:16 +07:00
hathach
ff7261600c
ported stm32f2, added board stm32f207zg nucleo
...
close #127
2019-09-12 10:41:03 +07:00
William D. Jones
6b79f399a1
Merge branch 'master' of https://github.com/hathach/tinyusb into pyboard
2019-09-11 14:14:02 -04:00
hathach
a3f1c269e9
added stm32f767nucleo board, board_test works
2019-09-11 18:02:27 +07:00
hathach
de659be83e
tested all the stm32f4 board, work great
2019-09-11 17:37:23 +07:00
hathach
8a2b228c3f
ported stm32f3, close #67
2019-09-11 16:56:26 +07:00
hathach
ec50b274fc
added stm32f072disco board
...
close #104
2019-09-11 12:05:55 +07:00
hathach
3f02c35983
fix #130
2019-09-11 11:55:16 +07:00
hathach
34b76898da
adding stm32f072disco board, board_test example running
2019-09-11 11:41:47 +07:00
hathach
bf76a1e49e
Merge pull request #136 from hathach/develop
...
fix #132
2019-09-11 11:16:47 +07:00
hathach
678ba586df
Merge pull request #122 from cr1901/synopsys
...
Synopsys Refactor
2019-09-11 10:37:49 +07:00
William D. Jones
fc10ff2f05
Add pyboard (v1.1) BSP. cdc_msc_hid example tested.
2019-09-10 14:10:33 -04:00
Nathan Conrad
4f6bedeac9
Rename the STM32 MCU options.
2019-09-10 12:57:43 -04:00
hathach
b6a5cf83c4
update st_driver
2019-09-10 23:55:45 +07: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
2cf2f35fa3
Correct JLINK_DEVICE and FREERTOS_PORT in F070RB make file. FreeRTOS and j-link are untested.
2019-09-10 08:28:56 -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
William D. Jones
1385d7c494
stm32: Refactor so F4 and H7 use a single Synopsys IP source file.
2019-09-09 10:48:14 -04:00
hathach
b9b9f67698
ngx4330 usb0 work well
2019-09-09 17:30:43 +07:00
hathach
3497dd0264
adding ngx4330
2019-09-09 16:47:57 +07:00
hathach
218aaf94de
more clean up
2019-09-09 13:19:00 +07:00
hathach
4f4182e171
clean up lpc makefile
2019-09-09 12:39:58 +07:00
hathach
8ac115a33e
clean up
2019-09-09 12:25:39 +07:00
hathach
4663f9084d
ported board stm32f412g discovery
...
- added soft connect for enable pull up register dcd stm32f4
2019-09-08 21:57:02 +07:00
hathach
642ff56b32
ported pca10059
2019-09-08 21:55:03 +07:00
hathach
8fd7836ff6
added board stm32f412 discovery, board_test exmaple run
2019-09-06 17:31:37 +07:00
hathach
b1296139d0
board test run with lpcxpresso 11u37
2019-09-06 15:49:42 +07:00
hathach
4ef3946a25
adding lpcxpresso11u37 board
2019-09-06 15:06:04 +07:00
hathach
192a95a96e
moving lpc11u6x
2019-09-06 12:07:48 +07:00
hathach
5fc6819ddb
update submodule st_driver with all stm32 families
2019-09-06 10:47:30 +07:00
hathach
aa50ba54ef
remove submodule stm32lib
2019-09-05 23:45:53 +07:00
hathach
fae8a944f0
swith stm32h7 to use st_driver
2019-09-05 23:39:09 +07:00
hathach
1d2223a116
switch stm32f3 to use st_driver
2019-09-05 22:41:58 +07:00
hathach
c4b384d22f
switch stm32f4 to use st_driver submodule
2019-09-05 22:12:43 +07:00
hathach
50b0826d4f
adding st_driver as submodule
2019-09-05 21:34:49 +07:00
hathach
143a138028
Merge pull request #116 from hathach/develop
...
Board update
2019-09-05 16:18:34 +07:00
hathach
a90e2aa2ce
55s69 device work with usb0
2019-09-05 16:12:13 +07:00
hathach
7350e9c25c
Merge pull request #114 from cr1901/stm32h7
...
STM32H7 Support
2019-09-05 15:29:13 +07:00
hathach
dd07e743d8
added mbed lpc1768 board
2019-09-05 14:29:17 +07:00
hathach
2e00019aae
board_test work with lpcxpresso55s69
2019-09-03 13:25:36 +07:00
William D. Jones
4ce8796b2a
board_stm32h743nucleo: Implement user button for mouse/keyboard demo.
2019-09-03 01:28:41 -04:00
hathach
ee57113981
trying to add LPC55xx support
2019-09-02 15:53:12 +07:00
hathach
85fae75fba
clean up
2019-09-02 15:34:47 +07:00
hathach
6268f395eb
add button for stm32f407 and stm32f411 board
2019-09-02 14:58:46 +07:00
hathach
f2bbb75695
clean up
2019-09-01 22:44:56 +07:00
hathach
67d2cf39d5
clean up
2019-09-01 21:04:43 +07:00
hathach
aeea6754af
rename lpc_usbd to lpc_ip3511
2019-09-01 16:44:40 +07:00
hathach
3067809957
adding lpc54xxx to dcd, able to go through enumeration
2019-09-01 16:15:23 +07:00
hathach
403662a1d6
board_test run with lpc54114
2019-09-01 15:58:42 +07:00
hathach
fb1ca24b02
adding lpc54114 port
2019-09-01 15:30:25 +07:00
hathach
96f0f8d2d7
update lpc_driver
2019-09-01 15:13:56 +07:00
hathach
e99ff703dc
more lpc51u68 driver clean up
2019-09-01 15:11:09 +07:00
hathach
a5a768e5f7
update lpc51u68 linker
2019-09-01 14:58:36 +07:00
hathach
803d06d685
clean up
2019-09-01 14:51:40 +07:00
hathach
c18a7fd9ad
Port new board circuitplayground_bluefruit, close #109
2019-09-01 11:51:12 +07:00
hathach
7010ea79c4
added new board circuit playground express, close #110
2019-09-01 11:44:55 +07:00
hathach
c6f356b4f4
change feather/metro m4_express button to D5
2019-09-01 11:20:22 +07:00
hathach
f02a24a10f
change metro_m0_express button to D5
2019-09-01 11:11:26 +07:00
hathach
bb21568875
ported feather m0 express close #108
2019-09-01 11:10:28 +07:00
hathach
30f707cad2
rename lpc11_13_15 to simply lpc_usbd since it is almost used by in recent year for nxp mcu
2019-09-01 00:51:58 +07:00
hathach
0ab8829e55
fix segger embbeded studio compile issue
2019-08-31 23:53:10 +07:00
hathach
c782cc5429
add lpc_driver submobule
2019-08-31 23:20:18 +07:00
hathach
237c7018d9
remove submodule lpcopen
2019-08-31 23:19:35 +07:00
hathach
bac75a81fd
support LPC51u68 #100
2019-08-31 22:44:08 +07:00
hathach
c70c61ce26
add button read to board_test example
2019-08-31 17:52:24 +07:00
William D. Jones
7153561984
stm32h7: Enable USB peripheral (device does not enumerate yet).
2019-08-30 21:57:06 -04:00
William D. Jones
0afbf1a9bb
board_stm32h743nucleo: Route USB clock and pins.
2019-08-26 16:48:24 -04:00
William D. Jones
1ef98e503a
board_stm32h743nucleo: Route major clocks and LED pins.
2019-08-26 14:20:13 -04:00
hathach
fa796de6cd
board_test example run with lpcxpresso51u68
2019-08-26 12:24:46 +07:00
William D. Jones
0fb9ab9a09
stm32h7: Add empty template cdc_msc_hid example for STM32H743 Nucleo board that compiles.
2019-08-24 12:40:18 -04:00
hathach
d4895c4af6
add board_test example for testing new board
2019-08-24 23:30:35 +07:00
hathach
b3acce17cc
adding lpc51u68 support
2019-08-24 00:52:46 +07:00
hathach
e5e73ed76c
drop board_* in bsp c file
...
move hw/cmsis to hw/mcu/nordic since only nrf uses it.
2019-08-23 23:35:55 +07:00
hathach
ba056de982
clean up
2019-08-05 22:12:20 +07:00
hathach
d211035a0a
merge dcd/hal_nrf5x.c into dcd/dcd_nrf5x.c
2019-08-05 21:54:20 +07:00
hathach
2b43bba453
add missing conf file
2019-07-22 18:54:13 +07:00
hathach
1594a9de71
stm32f411 usb work with example
2019-07-22 18:53:52 +07:00
hathach
be4eeeb943
refactor stm32f407 to use st hal api
2019-07-22 18:45:12 +07:00
hathach
cb8a33ca87
able to blink LED with stm32f411
2019-07-20 22:59:24 +07:00
hathach
ed698069d3
clean up
2019-07-20 22:41:45 +07:00
hathach
6ec87071ed
able to flash and turn on LED
2019-07-20 22:38:46 +07:00
hathach
fa12a0e786
adding stm32f411 disco
...
compile ok
2019-07-19 21:19:06 +07:00
hathach
e909270843
rename bsp of stm32 board
2019-07-19 20:37:38 +07:00
hathach
d2f53c552a
added adafruit feather m4 express board
2019-07-01 22:57:23 +07:00
hathach
90fea785c6
use adafruit-nrfutil dfu as default flash target for feather nrf52840
2019-05-29 16:56:26 +07:00
hathach
a619511631
run tud_task() in board_delay()
2019-05-29 16:55:54 +07:00
hathach
ce6976f400
better fix for #72 millis overthrow
2019-05-21 13:31:02 +07:00
hathach
73c7db38f7
fix #72 address overflow with board_delay
2019-05-21 11:38:46 +07:00
hathach
6861b670fc
add uf2 target for uf2 bootloader board: metro m0/m4 feather nrf52840
2019-05-20 12:35:33 +07:00
hathach
6e9324e29c
clean up
2019-05-15 18:16:48 +07:00
hathach
3278a9765b
ea4357 build with makefile, add to travis
2019-05-15 18:01:58 +07:00
hathach
7bd16aaf9b
add button for ea4357
2019-05-15 17:52:29 +07:00
hathach
15076006ca
ea4088 quickstart build with makefile
2019-05-15 17:24:21 +07:00
hathach
6e6f470b58
board clean up, add button for ea4088
2019-05-15 17:15:02 +07:00
hathach
b73047e350
change stm32lib submodule to our folk for now for flexibility
2019-05-15 16:58:08 +07:00
hathach
9863230a8d
update button for mcb1800
2019-05-15 16:17:46 +07:00
hathach
2d58f3118e
mcb1800 build and blinky with makefile
2019-05-15 16:09:44 +07:00
hathach
8ccecde18e
lpc1769 work with makefile
2019-05-15 12:57:31 +07:00
hathach
2582dfb3af
lpcxpresso 1769 build with makefile but not blinky yet
2019-05-15 11:34:40 +07:00
hathach
2e07a09b0d
add makefile support for lpcxpresso1347
2019-05-14 18:34:57 +07:00
hathach
3e1897b943
makefile work with lpc11u68
2019-05-14 17:51:05 +07:00
hathach
b1f8aa175e
add linker and startup for lpcxpresso11u68 board
...
able to build and blink LED
2019-05-14 17:37:11 +07:00
hathach
851cf5426a
more makefile clean up
2019-05-14 14:07:06 +07:00
hathach
8094bdce23
makefile clean up
2019-05-14 13:59:45 +07:00
hathach
62f0eb16d6
clean up
2019-05-14 13:31:12 +07:00
hathach
3e6d911ce9
more clean up use inline bit funciton instead of macros
2019-05-14 12:54:29 +07:00
hathach
61ec407752
update license year to 2019
2019-05-14 11:48:05 +07:00
hathach
6446b02ae7
add hid_test.py for testing #58
...
add feather nrf52840 express to supported board
2019-05-02 18:10:06 +07:00
hathach
8a5bd30fa6
freertos cdc_msc_hid makefile compile
2019-05-01 16:01:44 +07:00
hathach
0f3da42db8
add make.mk and rules.mk to help new makefile example
2019-05-01 14:27:17 +07:00
hathach
4d29decafc
upgrade nrfx to 1.7
2019-05-01 13:52:21 +07:00
hathach
307ba23046
wrap up hid device refactor
2019-04-18 22:31:35 +07:00
hathach
64bed848d0
fix #53 use nrfx_usbd_errata.h
2019-04-08 17:36:12 +07:00
hathach
5f3ab2afe1
rename board_led_control to board_led_write
2019-04-02 18:16:04 +07:00
hathach
2c1072c0ab
fix build error with stm32
2019-04-02 02:16:54 +07:00
hathach
e9851f5042
clean up
2019-04-02 01:20:51 +07:00
hathach
8457d0d14c
add board_button_read()
2019-04-01 18:35:37 +07:00
hathach
eabfc53f38
added tud_suspended() and tud_ready()
2019-03-30 23:01:23 +07:00
hathach
38f7d281d4
more board clean up
2019-03-27 21:06:44 +07:00
hathach
3dfb251c1e
clean up
2019-03-27 16:32:07 +07:00
hathach
315076375f
fix timer prio for freertos to blink led
2019-03-25 00:40:51 +07:00
hathach
18f248b142
remove tusb_hal_millis() usage, less work for porting
2019-03-24 01:19:32 +07:00
hathach
29e075b8b9
clean up bsp, adde board_millis()
2019-03-23 22:31:07 +07:00
hathach
df1aac44b8
add board_noos_millis() for blinky
2019-03-23 16:51:07 +07:00
hathach
43eb1a8b16
added stub for dcd_stm32f3
2019-03-22 23:57:56 +07:00
hathach
ba1bea5d53
simplify board API, adding stm32f3 discovery
...
- remove board header since it is not used
2019-03-22 22:06:48 +07:00
hathach
2533f4004e
adding stm32f3 support
2019-03-22 15:27:03 +07:00
hathach
8b7c4ade71
clean up
2019-03-22 14:55:00 +07:00
hathach
20fb416783
clean board uart read & write
2019-03-20 20:58:27 +07:00
hathach
c211ee19dd
migrate license from BSD 3 clause to MIT
2019-03-20 16:11:42 +07:00
hathach
6787fbeff0
move lpcopen to its own repo (submodule)
2019-03-20 12:37:25 +07:00
hathach
f2f3f5a772
fix pca10056 build error due to nrfx undef usage
2019-03-20 01:35:52 +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
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
d56e7fd913
adding flash (jlink)
2019-03-16 01:34:26 +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
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
William D. Jones
c51b11f103
Move all paths using "stm" to "st" subdirectories, update config.mk.
2019-02-27 09:15:07 -05:00
hathach
1a84f5da54
nrf5x Let application decide USBD_IRQn priority
2019-01-29 19:42:31 +07:00
hathach
6752a71264
usb work when sd is init first
2019-01-29 18:02:25 +07:00
hathach
c81b56eb45
nrf5x usb init before sd works
2019-01-29 17:05:53 +07:00
hathach
d8b361fdaa
add S140 v6 build config for nrf5x
2019-01-29 14:15:13 +07:00
William D. Jones
657d3e2983
stm32f4: Enable USB peripheral, fix typos in register writes.
2019-01-13 18:36:18 -05:00
William D. Jones
0f9fa5956f
bsp.board_stm32f407g_disc1: Switch to external oscillator (more precise).
2019-01-11 13:47:44 -05:00
William D. Jones
e73e016a8c
bsp.stm32f407g_disc1: Initialize USB clock and pins.
2019-01-11 10:20:14 -05:00
William D. Jones
75fda7d638
cdc_msc_hid: Ensure example compiles again- add missing prototypes,
...
fix incorrect prototypes, clean up.
2019-01-10 10:24:45 -05:00
William D. Jones
b367baeaf1
Merge branch 'master' of https://github.com/hathach/tinyusb into stm32f4
2019-01-10 09:58:06 -05:00
hathach
e6224bccf9
adding makefile support for nrf5x
...
got undefined reference to `_start'
2019-01-02 22:35:42 +07:00
hathach
2a60427bdc
rename bit_* helper to tu_bit_*, BIT_* to TU_BIT_* for consistency
2018-12-14 15:30:54 +07:00
hathach
b562fa741b
Update readme.md
2018-12-12 23:08:08 +07:00
hathach
142f274c1d
docs update
2018-12-12 16:35:53 +07:00
hathach
607658d047
rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED
2018-12-07 23:38:52 +07:00
hathach
3ab9c2f64a
add host ea4088qs, but not work
2018-12-07 22:00:34 +07:00
hathach
d524da0c94
enable all warnings
2018-12-07 14:49:55 +07:00
hathach
f769ecddaf
fix warning with lpcopen
2018-12-07 14:49:07 +07:00
hathach
5d4d3431c2
host port plugged isr detect, but control xfer not work
2018-12-06 00:10:49 +07:00
hathach
a73017fdc2
hal clean up
...
- replace tusb_hal_int_enable/disable to dcd_int_enable/disable,
hcd_int_enable/disable
- remove tusb_hal_init(), this will be part of dcd_init/hcd_init,
anything beyond dcd/hcd should be inited by bsp
2018-12-05 13:20:25 +07:00
hathach
c1336dff03
lpc move Chip_USB_Init() out of stack to bsp
2018-12-05 11:53:56 +07:00
hathach
9176b7b1da
renane file
2018-12-05 08:51:11 +07:00
hathach
dd9c7b4249
lpc40xx device work, moving Chip_USB_Init out of tinyusb
2018-12-05 08:47:23 +07:00
hathach
fe8346e642
move pinmux out of dcd into bsp
2018-12-04 18:38:01 +07:00
hathach
6c2404ca49
adding ea4088 quickstart, able to blink
2018-12-04 16:32:20 +07:00
hathach
261e0f9801
adding lpc40xx support
2018-12-04 16:06:50 +07:00
hathach
d7c0f0aab5
clean up mcb1800
2018-12-04 13:32:59 +07:00
hathach
7120e12971
add mcb1800, blink led ok
2018-12-04 13:17:12 +07:00
hathach
d40663d403
added lpc18 lpcopen
2018-12-04 12:39:48 +07:00
hathach
819a03c14d
clean up
2018-12-03 23:46:28 +07:00
hathach
3a573fdd89
update pca10056, clean files
2018-12-03 23:39:34 +07:00
hathach
a39516e03d
update board metro0 and metro4
2018-12-03 23:33:40 +07:00
hathach
a9e015d619
forgot to add ea4357 files
2018-12-03 23:23:59 +07:00
hathach
9fec39d893
use lpcopen for lpc43x, work well
2018-12-03 22:58:21 +07:00
hathach
29416a5c1a
remove 43xx usbd rom
2018-12-03 22:54:33 +07:00
hathach
bb7123eed1
use lpcopen for ea4357, blinky ok
2018-12-03 21:22:11 +07:00
hathach
087c5d0de6
remove lpc17 usbd
2018-12-03 21:20:55 +07:00
hathach
920d88d256
clean up
2018-12-03 20:34:32 +07:00
hathach
f614586964
clean up
2018-12-03 20:33:17 +07:00
hathach
68a0e866c5
ea4357 led
2018-12-03 20:32:24 +07:00
hathach
a9161ed0d7
clean up
2018-12-03 19:04:57 +07:00
hathach
cea9abd4d0
clean up lpc13
2018-12-03 19:02:35 +07:00
hathach
f8ea10dc9a
update board led to use only one led
2018-12-03 18:48:43 +07:00
hathach
28d7408b3f
fix compiler warning
2018-12-03 18:02:03 +07:00
hathach
72db014f2c
remove legacy lpc17 prph driver
2018-12-03 17:44:08 +07:00
hathach
5f10584983
moving lpc17xx to use lpcopen
2018-12-03 17:28:38 +07:00
hathach
f898f8f7a4
move lpc_chip_13xx files
2018-12-03 16:38:29 +07:00
hathach
ea37c96d15
remove legacy lpc11u chip driver
2018-12-03 16:33:54 +07:00
hathach
f9ae8fa5d2
fix board issue with lpcxpresso 1347
2018-12-03 16:13:44 +07:00
hathach
5848dd2895
lpc11u use USBSRAM, able to response with 1st request
2018-12-02 02:13:48 +07:00
hathach
fb842bb804
lp11u able to receive setup packet
2018-12-01 22:21:54 +07:00
hathach
89d96b92af
fix lpc11u68 bsp issue, able to blink
2018-12-01 21:58:24 +07:00
hathach
363d9b9b2a
add lpcopne lpc43xx files
2018-12-01 02:20:36 +07:00
hathach
102a761e8e
able to build lpc11u68
2018-12-01 02:17:20 +07:00
hathach
a157c7fdc9
add lpc11u68 ses file
2018-12-01 01:43:57 +07:00
hathach
c1186ad6a9
add lpcopen lpc11u6x files
2018-12-01 01:34:19 +07:00
hathach
d246cc2e6c
lpc13xx build ok (not work) with lpcopen
2018-11-30 23:39:18 +07:00
hathach
ac55fb5d02
rename
2018-11-30 13:06:52 +07:00
hathach
d96347a0f5
rename OPT_MCU_LPC13UXX to OPT_MCU_LPC13XX
2018-11-30 12:48:06 +07:00
hathach
0bc80dc386
clean up
2018-11-29 23:49:08 +07:00
hathach
522b0c11ef
move nvic prio in hal/dcd to bsp for portability
2018-11-29 22:59:00 +07:00
hathach
57b85262b2
added & tested lpc17xx freertos device example
...
- add USB priority check for freeRTOS config
2018-11-29 21:41:09 +07:00
hathach
3fe392414d
Merge branch 'develop' into devlocal
2018-11-29 20:02:16 +07:00
Scott Shawcroft
b4103eef06
needs to be filled out. blinks though
2018-11-27 18:11:03 -08:00
Scott Shawcroft
db42207fcd
Add a porting doc and make a pass over the others.
...
Fixes #5
2018-11-27 18:07:22 -08:00
hathach
a3cc52829b
clean up
2018-11-27 23:55:10 +07:00
hathach
038851c362
enhance dcd lpc17xx. Able to pass enumeration
2018-11-27 20:48:46 +07:00
hathach
064eec5dd8
clean up warnings
2018-11-26 12:29:55 +07:00
Scott Shawcroft
bf70f89240
Introduce a Makefile for the OS_NONE device example
...
It currently supports the SAMD21 and SAMD51 only. More will be
added later.
2018-11-25 11:46:06 -08:00
hathach
60d8cde695
rename CFG_TUSB_MEM_SECTION to CFG_TUSB_MEM_SECTION
2018-11-22 17:21:07 +07:00
hathach
b20cb8852a
build ok
2018-11-22 16:49:27 +07:00
hathach
c3c446f7db
adding lpc43xx to ses
2018-11-22 16:28:01 +07:00
hathach
d2d833c0ab
update freertos ses project
2018-11-22 01:04:18 +07:00
hathach
1d6fc49fa9
clean up
2018-11-21 17:03:39 +07:00
hathach
3cad1d1134
samd21 work well with cdc
2018-11-21 15:00:36 +07:00
hathach
a30dfa3324
clean up
2018-11-21 13:11:19 +07:00
hathach
5bccb234ee
samd21 has usb traffic
2018-11-21 12:24:18 +07:00
hathach
c5d9a477c0
samd21 metro m0 blink too fast, still have issue with clock init
2018-11-21 00:32:17 +07:00
hathach
eadcba75a2
has issue with metro m0 clock init
2018-11-21 00:19:38 +07:00
hathach
a46b42a54e
move metro m4 clock init to board
2018-11-21 00:12:11 +07:00
hathach
867d3cb02d
able to build and blink with metro m0
2018-11-20 23:49:37 +07:00
hathach
18f8217f4f
adding samd21 metro m0 support
2018-11-20 23:19:59 +07:00
hathach
5e65886fdd
samd51 metro m4 add init_mcu() and usb init
...
- device regconized on bus but doesnt response with setup packet.
- temp disable msc
2018-11-20 01:23:53 +07:00
hathach
6c842338d6
remove samd-peripherals submodule
2018-11-20 00:57:34 +07:00
hathach
ee399bd27b
add sand51 project to ses
2018-11-14 15:25:58 +07:00
hathach
eea1f8597e
added board led for metro m4
2018-11-14 13:28:39 +07:00
hathach
4b1f4c7b6f
add Adafruit samd-peripherals as submodule.
...
clean up board
2018-11-14 00:22:49 +07:00
hathach
2e2100078c
adding Adafruit metro m0/m4 express
2018-11-13 22:49:37 +07:00
hathach
3fe7cd1659
added tud_cdc_write_str, tu_fifo only use mutex for RTOS config
2018-11-13 15:45:22 +07:00
hathach
5a046799f6
clean up board.h
2018-11-13 12:32:15 +07:00
hathach
b6bd5458d2
add samd asf4 submodule repo from Adafruit
2018-11-13 11:42:19 +07:00
hathach
87d89cf5cb
fix nrf52 freeRTOS interrupt priority
2018-10-24 16:48:27 +07:00
hathach
c65e5b406f
add mcu specific freeRTOSConfig.h
2018-10-24 13:45:17 +07:00
hathach
2891ff486a
simplify qspi flash with blocking API
2018-10-23 19:54:06 +07:00
hathach
a660fb0cfc
clean up, update nrfx to 1.3.0
2018-09-25 12:57:46 +07:00
hathach
3b79ba8451
update qspi
2018-09-11 22:37:44 +07:00
hathach
154daf584c
better qspi
2018-09-08 16:39:42 +07:00
hathach
8572947da5
qspi msc flash seems to work
2018-09-08 00:15:34 +07:00
hathach
a0ae452987
rename example files
2018-09-07 17:28:25 +07:00
hathach
c06014078a
more clean up
2018-09-07 17:05:21 +07:00
hathach
fc231cf5f2
clean up
2018-09-02 16:39:28 +07:00
hathach
d18a9e8759
freertos blinky with software timer
2018-08-23 14:11:21 +07:00
hathach
5dd02cbdd3
house keeping
2018-07-27 16:59:57 +07:00
hathach
86c445cd71
move nrf_drv_usbd_errata to portable folder
2018-07-26 16:12:09 +07:00
hathach
546f2a1165
nrf52840 example work with boot keyboard
2018-07-24 00:10:22 +07:00
hathach
4342325ee1
reworking device hid class driver
2018-07-23 15:25:45 +07:00
hathach
142300ca60
remove sdk, add nrfx as submodule
...
update segger project to work with nrfx
2018-07-02 11:00:05 +07:00
hathach
19eb62ebe4
update auto descriptor
2018-07-01 15:45:04 +07:00
hathach
d1ecef4fc3
correct errata check for nrf52840 first production
2018-06-13 14:25:33 +07:00
hathach
1d428b7fef
get nrf5x hal work with SD and non_SD configure
2018-05-15 12:37:48 +07:00
hathach
8c0a5f7d3b
update nrf52840 examples
2018-04-18 18:05:08 +07:00
hathach
29071c10b1
rename CFG_TUSB_CONTROLLER_0_MODE to CFG_TUSB_RHPORT0_MODE
2018-04-14 14:08:48 +07:00
hathach
4b660175be
rename CFG_TUSB_DEVICE_* to CFG_TUD_*
2018-04-12 13:23:52 +07:00
hathach
3d31f92106
rename OPT_MODE_
2018-04-12 13:17:58 +07:00
hathach
e1272159d8
rename MCU_ to OPT_MCU
2018-04-12 13:04:48 +07:00
hathach
18f97fef7e
rename TUSB_OS_NONE, TUSB_OS_FREERTOS to OPT_OS_NONE, OPT_OS_FREERTOS
2018-04-12 12:55:53 +07:00
hathach
3c24671960
mass rename TUSB_CFG to CFG_TUSB
2018-04-10 14:31:11 +07:00
hathach
82da013dad
get freertos build
2018-03-30 15:33:36 +07:00
hathach
97db3c7c3d
update nrf52 hal millis
2018-03-29 18:10:01 +07:00
hathach
e2f9744369
rename tusb_hal_tick_get to tusb_hal_millis
...
rename TUSB_CFG_TICKS_HZ to BOARD_TICKS_HZ
2018-03-29 18:03:04 +07:00
hathach
24d4b27980
move nrf5x port files
2018-03-26 22:46:53 +07:00
hathach
cf8a85fa8b
moving lpc43xx port into tusb's portable folder
2018-03-26 22:44:45 +07:00
hathach
5f26c57b28
shorten descriptor type
2018-03-23 12:32:40 +07:00
hathach
2c18805aa9
move mcu usb port back to tinyusb's portable folder
2018-03-23 12:24:24 +07:00
hathach
6d50d05d95
rename port to rhport for clarification
2018-03-23 12:17:47 +07:00
hathach
98d6ec1ef5
remove DCD API dependency tusb_dcd_edpt_queue_xfer
...
improve MSC driver
2018-03-23 11:56:52 +07:00
hathach
16aa3eb437
simplify tusb_dcd_edpt_xfer API
2018-03-22 17:52:39 +07:00
hathach
3ed83c4d98
merge tusb_dcd_control_stall() to tusb_dcd_edpt_stall()
2018-03-21 16:08:42 +07:00
hathach
9a487a238a
remove int_on_complete for tusb_dcd_control_xfer
2018-03-21 15:36:44 +07:00
hathach
ff5957ec73
fix lpc43xx isr issue, fix control status response for usbd
2018-03-21 15:32:35 +07:00
hathach
64c43634e2
adding toolchain file from sdk
2018-03-20 22:11:39 +07:00
hathach
ba88d9bc16
add sdk/device
2018-03-20 21:37:23 +07:00
hathach
0fdec33521
wrap up nrf52 demo
2018-03-20 20:57:49 +07:00
hathach
9f5fcb64ed
update code, remove nrf_drv_clock dependency
2018-03-20 19:52:21 +07:00
hathach
2f0fcf80e0
nrf52 cdc example work on nrf52840pdk
...
- add tud_cdc_flush(), auto flush with sof is enabled by default.
-
2018-03-20 18:33:28 +07:00
hathach
7a628f4dfc
adding bulk/int support
...
still does not work though
2018-03-17 02:17:40 +07:00
hathach
87a2c935df
add dma guard
2018-03-15 17:09:55 +07:00
hathach
b0ec6124e0
nrf52 control transfer work reliably
2018-03-15 13:22:28 +07:00
hathach
49a7f8c363
adding segger files
2018-03-14 22:03:32 +07:00
hathach
7feab4d1a2
able to get pass enumeration
2018-03-14 22:01:29 +07:00
hathach
fc82ab3c97
nrf52 finish usbd startup, able to got setup packet
2018-03-14 15:21:47 +07:00
hathach
b33e89ac66
adding code for nrf52 usbd start-up sequence
2018-03-13 16:59:51 +07:00
hathach
3223aa1b74
house keeping
2018-03-13 16:33:23 +07:00
hathach
ffca1f5e64
working on nrf52
2018-03-13 16:30:53 +07:00
hathach
2435abb0a8
rename hal to tusb_port
2018-03-12 23:46:58 +07:00
hathach
34dbb3532c
more rename
2018-03-12 22:45:35 +07:00
hathach
80398cb4cb
more hcd clean up
2018-03-12 22:37:12 +07:00
hathach
26d81c3ea1
rename TUSB_DIR_OUT, TUSB_DIR_IN
2018-03-11 20:20:59 +07:00
hathach
ca13d59682
rename tusb_dir_t
2018-03-11 20:16:39 +07:00
hathach
cfdc7999f6
refactor dcd API, drop edpt_hdl_t in favor of endpoint address for easy port
2018-03-11 15:20:27 +07:00
hathach
fd250b92cb
clean up example
2018-03-11 14:37:01 +07:00
hathach
3582d2301d
rename dcd_pipe to dcd_edpt
2018-03-11 14:22:04 +07:00
hathach
43cf0fb3df
refactor dcd_xfer_complete
2018-03-11 13:59:37 +07:00
hathach
d0a810317f
rename dcd_* API to tusb_dcd_*
2018-03-11 13:13:04 +07:00
hathach
276603fead
rename dcd.h to tusb_dcd.h
2018-03-11 13:08:04 +07:00
hathach
5f3492c871
move dcd
2018-03-11 13:06:46 +07:00
hathach
717dd049d7
more rename
2018-03-11 13:05:00 +07:00
hathach
0384e40320
rename hal_* to tusb_hal_*
2018-03-11 13:01:57 +07:00
hathach
c39b24001d
clean up
2018-03-11 12:53:40 +07:00
hathach
539fbe5d62
rename endpoint_handle_t to edpt_hdl_t
2018-03-11 12:37:07 +07:00
hathach
6392903fb2
refactor dcd layer
2018-03-11 12:31:24 +07:00
hathach
23caef859c
adding nrf52840 port, able to blink led with pca10056
2018-03-11 00:16:10 +07:00
hathach
0af637cd4f
clean up hal debugger
2018-03-09 23:04:53 +07:00
hathach
5f69029dcd
rename hal_usb to hal_tusb.h
2018-03-09 19:55:01 +07:00
hathach
3e42845153
segger studio work with ea4357
2018-03-09 16:22:10 +07:00
hathach
eaaebc2b88
rename coreid to port
2018-03-09 14:29:23 +07:00
hathach
23fa9eeebe
cdc device require SOF to operate
2018-03-08 14:55:02 +07:00
hathach
4ddac8bc88
enhance cdc device API
2018-03-08 14:47:48 +07:00
hathach
bd5f9ecdec
rename tusb_tick_get to hal_tick_get
2018-03-07 23:40:54 +07:00
hathach
7092db264f
update
2018-03-07 15:30:32 +07:00
hathach
889169d4d0
add new example device_virtual_com
2018-03-07 13:25:41 +07:00
hathach
eac0b9ec78
rename tusb_port to simply hal
2018-03-06 19:16:23 +07:00
hathach
4dc917c9ba
rename demo to examples
2018-03-06 19:14:01 +07:00
hathach
fce85875c4
remove tusb_isr(), rename hal_hcd_isr() and hal_dcd_isr()
2018-03-06 17:38:35 +07:00
hathach
e561f4f4c6
rename to hal_dcd_pipe_clear_stall()
2018-03-06 17:18:43 +07:00
hathach
792f51a927
rename hal_dcd_pipe_stall()
2018-03-06 17:16:43 +07:00
hathach
52de428fbe
rename to hal_dcd_pipe_xfer()
2018-03-06 17:14:35 +07:00
hathach
fbeb30a71d
change hal_dcd_pipe_open() signature to return bool
...
- remove endpointhandle_is_valid()
2018-03-06 17:04:37 +07:00
hathach
c5cb58b2bb
remove class code in pipe open()
2018-03-06 16:50:50 +07:00
hathach
85511e288d
rename to hal_dcd_control_xfer() and hal_dcd_control_stall()
2018-03-06 15:46:48 +07:00
hathach
185b240f03
rename usbd_dcd_bus_event_isr to hal_dcd_bus_event
2018-03-03 16:24:43 +07:00
hathach
394302c8cb
rename usbd_setup_received_isr to hal_dcd_setup_received
2018-03-03 14:45:29 +07:00
hathach
f6137903bc
cleanup SUBTASK macros
2018-03-03 12:30:38 +07:00
hathach
fe0e79864b
add config number
2018-03-02 22:53:26 +07:00
hathach
9208570d3a
rename dcd_controller_* to hal_dcd_*
2018-03-02 22:50:59 +07:00
hathach
33d348c288
rename dcd_init to hal_dcd_init()
2018-03-02 22:46:36 +07:00
hathach
b0a6395a45
rename hal_mcu to hal_usb
2018-03-02 21:48:49 +07:00
hathach
3ad676e973
rename to tusb_port
2018-03-02 21:43:40 +07:00
hathach
381caaff1c
rename hal_init() to hal_usb_init()
2018-03-02 21:41:38 +07:00
hathach
7ee801a209
rename hal.h to tusb_hal.h
2018-03-02 18:50:30 +07:00
hathach
299c92f2fc
more hal clean up
2018-03-02 18:38:29 +07:00
hathach
746d61742f
renaming to hal_mcu
2018-03-02 18:24:22 +07:00
hathach
f88e24d773
hal update
2018-03-02 18:22:34 +07:00
hathach
5b110f9f58
move files around
2018-03-02 18:13:35 +07:00
hathach
633f46432f
clean up API
2018-03-02 15:39:49 +07:00
hathach
dc12e55c56
rename hal_interrupt_* to hal_usb_int_*
2018-03-02 15:28:40 +07:00
hathach
b6e337bc12
more hal update
2018-03-02 15:26:23 +07:00
hathach
4097d02254
refactor hal
2018-03-02 15:20:55 +07:00
hathach
b5f17fd823
move startup to bsp folder
2018-03-02 14:59:55 +07:00
hathach
dbe5ff2a35
re-org bsp
2018-03-02 14:53:40 +07:00
hathach
fd174ede41
changing bsp files
2018-03-02 14:51:51 +07:00
hathach
24b05205c0
add cmsis v4 to hw
2018-03-02 14:40:59 +07:00
hathach
4c61471939
more clean up
2018-03-02 14:14:32 +07:00
hathach
4e9272e68a
moving files
2018-03-02 14:05:58 +07:00
hathach
0a8cf7de47
rename boards to bsp
2018-03-02 13:49:24 +07:00
hathach
349fa2aed8
move board and mcu into hw folder
2018-03-02 13:41:35 +07:00