hathach
b5d4c8185d
Merge branch 'master' into host-async-control
2020-10-11 16:22:12 +07:00
Ha Thach
80c509a0f3
Merge pull request #520 from salkinium/feature/misc_enhancements
...
STM32F3 IRQ remap option and some minor improvements
2020-10-11 14:55:06 +07:00
Niklas Hauser
7fda95f508
Remap USB IRQs on STM32F303 BSP
2020-10-11 09:27:43 +02:00
hathach
b8e7e2b7c9
update microchip driver
...
also skip audio_test for same5x for now due to assert() macro conflict
2020-10-11 13:33:06 +07:00
hathach
89bf4fa04c
Merge branch 'master' into house-keeping
2020-10-09 13:49:05 +07:00
hathach
344d589a35
use pyocd for iMXRT boards
2020-10-09 13:48:08 +07:00
Ha Thach
6f8d0d2c34
Merge pull request #531 from majbthrd/mimxrt1010stack
...
mimxrt1010_evk: double stack size to allow net_lwip_webserver to run
2020-10-09 00:48:08 +07:00
hathach
e8b3af038e
add flash-pyocd support
2020-10-08 17:19:48 +07:00
hathach
ec018fbf4e
clean up jlink default interface
2020-10-08 17:17:37 +07:00
Ha Thach
30c23719f6
Merge pull request #528 from jgressmann/port-atsame51-to-tinyusb
...
Adds files for the open source D5035-01 hardware
2020-10-08 13:46:41 +07:00
Peter Lawrence
ed94e944c9
mimxrt1010_evk: double stack size to allow net_lwip_webserver to run
2020-10-07 13:15:58 -05:00
Jean Gressmann
3295b5692b
D5035-01 bsp: fix typo
2020-10-07 19:27:55 +02:00
Jean Gressmann
f02b5bfdfa
Address various issues raised by TinyUSB maintainers
...
- remove OPT_MCU_SAME51 in favor of OPT_MCU_SAME5X and working around
differences in the Atmel bsp locally in the D5035-01 bsp.
- rename board folder to d5035_01 for consistency with other boards
2020-10-07 19:19:30 +02:00
hathach
d407341d1e
fix usb pin config with idf latest
2020-10-07 19:15:53 +07:00
Jean Gressmann
f92fe1e23e
D5035-01: more natural Makefile variable use
2020-10-06 17:39:36 +02:00
Jean Gressmann
1730a5dcba
D5035-01 bsp: fix paths, default to hw rev 1 (automated build)
2020-10-05 20:30:04 +02:00
Jean Gressmann
862f6ac81e
Update Microchip submodule commit
2020-10-05 20:17:27 +02:00
Jean Gressmann
61aacf07d6
Adds files for the open source D5035-01 hardware
...
The board's files are here:
https://github.com/RudolphRiedel/USB_CAN-FD
2020-10-05 18:35:35 +02:00
hathach
15ad585e67
replacing hcd_pipe_xfer by usbh_edpt_xfer
2020-09-06 11:49:00 +07:00
hathach
10d5dac913
update doc
2020-09-04 11:20:09 +07:00
hathach
4ecedc70c8
fix vector assign
2020-09-03 23:48:56 +07:00
hathach
1d83ad0ebb
rename tuh_isr/hcd_isr to tuh_int_handler/hcd_int_handler
2020-09-03 13:12:25 +07:00
hathach
1cee2da7b9
revert to use __USE_LPCOPEN
...
properly init fpu on LPC M4
2020-09-03 12:58:09 +07:00
hathach
c7d2d0ae29
ohci work, tested with lpc1769
2020-09-02 01:40:04 +07:00
hathach
52b5748e8d
fix ci build
2020-09-02 00:56:43 +07:00
hathach
c492aef4c7
revert to use float-abi
...
define __USE_CMSIS instead of __USE_LPCOPEN will have startup enable FPU
on startup properly. Although it is only relevant to lpx43/40 series,
change all to __USE_CMSIS for consistency
2020-09-02 00:46:08 +07:00
hathach
84425c50b3
add more logging to host stack
...
tested host with lpc4357, don't use fpu with lpc m4 since it seems to
cause hardfault (stack does not make use of fpu anyway).
2020-09-01 19:16:50 +07:00
hathach
f4e3c6fd8e
clean up
2020-09-01 17:12:31 +07:00
hathach
be708bb8a4
Merge branch 'master' into update-host
2020-09-01 12:02:25 +07:00
hathach
7a443d6bea
add itsybitsy nrf52840 board support
2020-08-27 16:40:24 +07:00
hathach
9d3a9cf546
add OPT_MCU_SAMD11
...
skip ci build for example that need more ROM/RAM could fit into SAMD11
2020-08-22 18:46:19 +07:00
Katherine Temkin
91f7ce9769
add support for SAMD11 devices / add samd11_xplained board
2020-08-21 13:15:07 -06:00
hathach
76fe8ac612
fix samg55 ci build
2020-08-21 12:19:38 +07:00
hathach
0407cfe16c
fix samd21 race condition with setup packet
...
reproduced with Adafruit_TinyUSB_ArduinoCore port commit 11d669b4d2a40eb2fc5e51b2a9707a6de9d42363 and SAMD BSP 1.6.1
2020-07-23 01:39:15 +07:00
Ha Thach
798fad397a
Merge pull request #464 from hathach/improve-highspeed
...
Better support highspeed mode
2020-07-19 13:24:57 +07:00
hathach
dc00f0cae1
update link speed detection for nuc505
2020-07-16 20:44:06 +07:00
Kate Temkin
9181ce55fb
add BSP for Great Scott Gadgets' LUNA boards (SAMD21)
2020-07-14 21:51:31 -06:00
hathach
0fd074afd8
change REDUCE_SPEED=0/1 to explicitly SPEED=high/full
...
update readme, boards.md to add link to new stm boards
2020-07-08 16:29:48 +07:00
Uwe Bonnes
8f433e67ac
Add stm32l4r5nucleo. USB and UARTwork.
...
USB runs from LSE stabilized MSI48
LPUART on PORTG needs VDDIO2 enabled.
2020-07-03 16:34:08 +02:00
Uwe Bonnes
11c6d4cdae
stlinkv3mini: Only OTG_HS has connector.
2020-07-03 10:59:02 +02:00
Uwe Bonnes
5c24d5ca72
stm32h745disco: HAL_PWREx_EnableUSBVoltageDetector() is needed for hot replug.
2020-07-03 10:53:51 +02:00
Uwe Bonnes
4b7539bd63
stm32h745disco: Only OTG_FS is available. Does not enumerate on replug yet.
2020-07-03 10:53:51 +02:00
Uwe Bonnes
fd38178189
STM32/OTG_HS: Allow OTG_HS port to run at FS speed.
...
Add "REDUCE_SPEED=1" to the compile options.
2020-07-03 10:52:57 +02:00
hathach
4cec866994
correct HSE_VALUE in hal_conf
...
- although it is define in CFLAGS, it is worth to correct to be
consistent with other build
- extract set_speed()
2020-07-02 14:57:00 +07:00
hathach
9a290febcd
change default port some stm bsp
...
- f769disco default port is highspeed port1
- remove PORT0 on stlink since the board only populated HS connector
2020-07-02 11:58:40 +07:00
hathach
c2289777f7
Merge branch 'add-stm-hs' of github.com:hathach/tinyusb into add-stm-hs
2020-07-01 23:53:33 +07:00
Uwe Bonnes
5b3a67a1e2
Add bsp for stlinkv3mini.
2020-07-01 15:42:53 +02:00
hathach
77315ba7ce
added uart for h743
2020-07-01 18:27:48 +07:00
hathach
a512a31c9d
Merge branch 'master' into add-stm-hs
2020-07-01 17:58:02 +07:00
Ha Thach
530b0099a5
Merge pull request #439 from UweBonnes/add-stm-hs
...
Add stm hs
2020-07-01 13:09:07 +07:00
hathach
463e978134
added DA14695 DK USB bsp
2020-07-01 12:47:14 +07:00
hathach
2f946e765d
rename file
2020-07-01 12:42:12 +07:00
hathach
0477446224
more clean up
2020-06-30 16:31:59 +07:00
hathach
f3a88477dc
revert rhport config in nxp mcus
2020-06-30 16:18:43 +07:00
Uwe Bonnes
30a18e2605
stm32f723disco: USB HS enumerates.
2020-06-30 11:07:53 +02:00
Uwe Bonnes
f6660c39a1
Add Stm32F7xxdisco board support files
...
Status with examples/device/cdc_msc:
- make BOARD=stm32f723disco => OK
- make BOARD=stm32f723disco PORT=1 => No Reaction
- make BOARD=stm32f746disco => OK
- make BOARD=stm32f746disco PORT=1 => Hangs during enumeration
- make BOARD=stm32f769disco => Hangs during enumeration
2020-06-30 11:02:38 +02:00
Uwe Bonnes
4b7f848e1f
stm32h743nucleo: Enable Log via STLINK-VCP.
2020-06-30 11:01:44 +02:00
hathach
ab75998316
Merge branch 'master' into add-stm-hs
2020-06-30 01:55:57 +07:00
Ha Thach
05996aee64
Merge pull request #427 from kasjer/kasjer/add-da1469x-support
...
Support for DA1469x MCU from Dialog Semiconductor
2020-06-30 01:20:56 +07:00
Ha Thach
2b9466dbc0
Merge pull request #445 from hathach/add-kaluga-bsp
...
added esp32s2 kaluga bsp
2020-06-29 19:16:09 +07:00
hathach
2dff40236c
add kaluga files
2020-06-29 18:40:23 +07:00
hathach
50b569ad1b
added esp32s2 kaluga bsp
2020-06-29 16:52:08 +07:00
Jerzy Kasenberg
8e143fc962
Add board support for Dialog DA1469x-dk-pro
...
This adds source files that allow to run TinyUSB stack on DA1469x-dk-pro board.
Source files .c .S and .ld are taken from Apache Mynewt repository.
Those files were stripped to allow starting board without Mynewt os.
2020-06-29 11:02:32 +02:00
Czeslaw Makarski
7c94176b4b
Update NRFX to v2.2.0
2020-06-24 15:07:28 +02:00
hathach
667eaa6dd6
fix stm32h743 priority with freeRTOS
2020-06-16 00:03:52 +07:00
hathach
0bfa839ac0
clean up, update other example config
2020-06-15 23:06:17 +07:00
hathach
a347de6e50
revert CFG_TUSB_RHPORT0_MODE to previous way
2020-06-14 18:28:45 +07:00
Jerzy Kasenberg
56f3898ced
Add Dialog DA1469x register definition file
...
Register definition file along with some MCU headers was taken
from Dialog SDK for DA1469x MCUs.
Those files are needed for USB port.
2020-06-09 12:55:28 +02:00
hathach
e92118635c
adding speed detect on bus reset
2020-06-01 13:40:18 +07:00
hathach
5ffba8536d
able to detect as hs
2020-05-31 19:41:22 +07:00
hathach
e0490ae786
fix idf usb pin init changes
2020-05-29 13:06:33 +07:00
hathach
227bffe04b
adding h743 uart, but not enabled yet since it conflict with OTG_FS2
2020-05-27 01:14:52 +07:00
hathach
0482f0d686
update h743eval with rhport=1 highspeed
2020-05-26 22:15:00 +07:00
hathach
fad088719e
merge CFG_TUSB_RHPORT1_MODE into CFG_TUSB_RHPORT0_MODE
...
each port is 1 byte for easy maintenance
2020-05-26 15:21:23 +07:00
hathach
62a746bdc7
wip
2020-05-26 12:18:36 +07:00
hathach
ba9c774a2a
board test work fine
2020-05-23 13:29:30 +07:00
hathach
4c01099a3d
update makefile to build with ohci host
...
update ses project for lpc1769 with rtt
2020-05-22 20:57:52 +07:00
hathach
f308990ab5
Merge branch 'master' into update-host
2020-05-22 15:28:22 +07:00
hathach
58cedf4c06
usb0 host on mcb1800 work with fullspeed mode.
...
use usbh_edpt_open() to correctly map ep2drv[]
2020-05-19 00:55:43 +07:00
hathach
550746097b
fix cast-align warning for nuc505
2020-05-18 13:03:41 +07:00
hathach
1a8ce043ed
enable -Wcast-align
...
suppress vendor sdk driver at board.mk
2020-05-17 14:24:15 +07:00
Mark Olsson
3c43009278
Add support for stm32f746nucleo board
2020-05-15 10:23:01 +02:00
Jerzy Kasenberg
615369a6eb
stm32l476disco: Fix system clock setup
...
Code suggested that PLL with MSI is used resulting in 80MHz clock.
When in fact PLL was not configured and system clock was left at MSI 48MHz.
This happens because PLL configuration requires that SysTick interrupt
has interrupt priority level configured correctly.
As it seems ST code intentionally setups variable uwTickPrio to invalid
value and later when it is not setup by user code configuration
of oscillator will fail before PLL is configured.
This simple changes systick priority to some valid value that
allows clock to use PLL.
2020-05-06 15:13:55 +02:00
Jerzy Kasenberg
d9e534f6f2
stm32l476disco: fix uninitialized filed usage
...
Field PLLState was not initialized in RCC_OscInitStruct.PLL in
function SystemClock_Config().
Value is used in HAL_RCC_OscConfig() regardless of oscillator.
In lucky case value would be 0 RCC_PLL_NONE and nothing would
happen.
If value was incorrect following line would end up in assert:
assert_param(IS_RCC_PLL(RCC_OscInitStruct->PLL.PLLState));
If value was valid but no RCC_PLL_NONE pll could be configured
with some other random values.
Setting PLLState to RCC_PLL_NONE eliminates potential problem.
2020-05-06 14:25:46 +02:00
hathach
905a80d1b2
temporarily remove osal_task_delay() from osal
...
- add hcd_uframe_number() API, update EHCI to return uframe number
- get host running on ea4357
2020-05-04 14:11:58 +07:00
hathach
4a3a448340
clean up things, add makefile for host example
2020-05-04 00:29:52 +07:00
hathach
9538ca7d74
add uart for mcb1800
2020-05-03 14:50:12 +07:00
hathach
94fed7db0e
fix esp32 ci adding FREERTOS STATIC to sdkconfig default
2020-04-29 11:31:04 +07:00
hathach
7acdcc2ebc
Merge branch 'master' into add-more-example
2020-04-22 19:50:23 +07:00
hathach
1fc7f54a8a
added swo as logger
...
tested with feather nrf52840 + jlink
2020-04-22 19:18:03 +07:00
hathach
afc4042375
add LOGGER option to use rtt
...
update example readme for debug log. Update bug template to ask for LOG
as well.
2020-04-22 17:08:41 +07:00
hathach
e4570c35f7
add uart for ea4357
2020-04-20 00:27:35 +07:00
Ha Thach
1f69807621
Merge pull request #354 from hathach/cxd56-disconnect-connect
...
Cxd56 disconnect connect
2020-04-17 13:12:47 +07:00
hathach
50be9d7c3a
mass rename tud/dcd_irq_handler to tud/dcd_init_handler
2020-04-17 12:27:53 +07:00
hathach
89f99426fc
add code for disconnect/connect (not tested)
2020-04-17 11:48:49 +07:00
hathach
989cca5b1a
update per review
2020-04-17 09:29:02 +07:00
hathach
bb2669fbc0
add dfu generate target for fomu
2020-04-16 22:24:48 +07:00
hathach
a009775745
dcd disconnect/connect for transdimension ip
2020-04-16 16:56:16 +07:00
Ha Thach
04a06ec401
Merge branch 'master' into refactor-irqhandler
2020-04-11 15:49:34 +07:00
hathach
d8d5902ccb
change saola-1 led to pin 18 by default
2020-04-10 15:44:50 +07:00
hathach
cefbd9579c
add neopixel led strip driver for saola, make saola as an component
2020-04-09 11:02:16 +07:00
hathach
40e23672ff
rename hal_dcd_isr to dcd_irq_handler for fomu
2020-04-08 16:47:20 +07:00
hathach
e879ad1e6f
move irq from msp430
2020-04-08 16:42:36 +07:00
hathach
8f17945b67
move irq for stm32 synopsys
2020-04-08 16:37:09 +07:00
hathach
9014ca5528
move irq for stm32 fsdev
2020-04-08 16:26:14 +07:00
hathach
fc9170b2c1
clean up
2020-04-08 15:15:52 +07:00
hathach
70df1aff13
add TODO for saola on-board neopixel
2020-04-08 15:00:16 +07:00
hathach
a2dee7fb50
rename saola to saola_1
2020-04-07 23:07:25 +07:00
hathach
6a9f971882
add saola button pin support, esp32 build with board_test
2020-04-07 13:42:48 +07:00
hathach
a344427e3f
fix CROSS_COMPILE for esp32s2
2020-04-06 20:39:20 +07:00
hathach
06377a341b
add tud_irq_handler() for all lpc ip3511 (13, 15, 11)
2020-04-06 18:00:37 +07:00
hathach
138965d1d1
add tud_irq_handler() to all NUC board
2020-04-06 17:43:56 +07:00
hathach
4179334aca
call tud_irq_handler() for all nrf5x board
2020-04-06 17:35:11 +07:00
hathach
dc4bf02dcb
mass rename tud_isr to tud_irq_handler
2020-04-06 17:04:49 +07:00
hathach
2d6d298302
move irqhandler to application
...
tud_isr() must be called by application to forward the irqhandle to the
stack
2020-04-06 14:11:45 +07:00
hathach
748cc88769
add saola board.mk
2020-04-03 12:20:06 +07:00
hathach
19f977a274
add esp32s2 saola bsp
...
update cdc_msc_freertos main.c to work with esp32s2
add CMake file
2020-04-01 20:24:46 +07:00
Ha Thach
a582674b91
Merge pull request #312 from hathach/develop
...
house keeping work
2020-03-29 00:40:36 +07:00
Nathan Conrad
3926b28faa
Update UARTs for stm32f4xx discovery boards. Other minor cleanups.
2020-03-28 12:05:30 -04:00
hathach
ad2824df8b
add ENTRY(Reset_Handler) to linker of samd21 and samd51 board
...
fix #303
2020-03-28 22:25:07 +07:00
Nathan Conrad
4191363c55
Update F4 BSP with new HAL config
2020-03-28 10:58:36 -04:00
Nathan Conrad
07c1ce76b8
Update F3 BSP for new HAL
2020-03-28 10:58:36 -04:00
Nathan Conrad
62a68034d9
Update F0 BSP for new HAL
2020-03-28 10:58:36 -04:00
hathach
1712b61ab6
added Arduino Nano 33 BLE with/without Sense
2020-03-28 21:34:42 +07:00
hathach
69698ed2e0
Merge branch 'master' into develop
2020-03-28 15:31:39 +07:00
Nathan Conrad
705d43cda7
Modify include of HAL, and remove CMSIS clock configuration code, and implement UART for STM32F407Disco
2020-03-26 10:10:06 -04:00
hathach
d74a92bf45
makefile clean up
...
allow board to define CROSS_COMPILE (default to arm gcc)
2020-03-25 14:06:51 +07:00
Ha Thach
435485b524
Merge pull request #304 from pigrew/stm32_xfer_rewrite
...
STM32FSDEV: Rewrite transfer ISR
2020-03-25 10:19:07 +07:00
Ha Thach
f2b761fee9
Merge pull request #306 from jeremyherbert/master
...
add support for seeeduino xiao
2020-03-24 14:37:38 +07:00
Jeremy Herbert
01820061b2
add support for seeeduino xiao
2020-03-23 23:39:53 -07:00
Ha Thach
95009a9e79
Merge pull request #194 from cr1901/msp430f5529
...
[WIP] MSP430 Support
2020-03-24 11:57:20 +07:00
William D. Jones
7e78e47444
msp_exp430f5529lp: Fix board.mk, remove .travis.yml.bck.
2020-03-24 00:40:25 -04:00
William D. Jones
27efedc9e6
msp_exp430f5529lp: Allow user to choose mspdebug as alternate programmer.
2020-03-23 23:45:22 -04:00
hathach
905c4b71d1
nrf use new cmsis_4 submodule for core header
2020-03-24 08:51:11 +07:00
hathach
056d0bb4bf
remove -Wnested-externs since many driver does this including CMSIS_5
2020-03-23 22:52:59 +07:00
hathach
9e0ffbe30f
house keeping
2020-03-23 22:51:17 +07:00
hathach
c47d9c3c68
upgrade nrfx from 2.0.0 to 2.1.0
2020-03-23 19:21:44 +07:00
Nathan Conrad
eaf767b0db
STM32FSDEV: Rewrite transfer ISR
2020-03-22 14:26:48 -04:00
hathach
acbb535668
change msp430 flash tool from mspdebug to TI MSP430Flasher
2020-03-22 19:11:24 +07:00
hathach
4f871063fd
Merge branch 'master' into cr1901-msp430f5529
2020-03-22 17:19:57 +07:00
hathach
45e32a787b
clean up
2020-03-11 14:13:34 +07:00
hathach
5fa1e6e242
hack to undef LITTLE_ENDIAN for samg55
2020-03-11 12:32:29 +07:00
hathach
ba74223c2e
fix more build
2020-03-11 00:58:28 +07:00
hathach
6a1416d18a
fix cortex M7, M23, M33 freertos build
2020-03-11 00:47:13 +07:00
hathach
487b887f80
freertos demo use static only for most optmized sram
2020-03-11 00:09:37 +07:00
hathach
65578dec44
update freertos example
...
work with samd21 samd51 and nrf
2020-03-10 23:16:09 +07:00
Ha Thach
41d9ab5056
Merge pull request #295 from hathach/develop
...
add webserver into ci build
2020-03-10 14:33:26 +07:00
hathach
71fb3985ba
Merge branch 'nuc120' of https://github.com/majbthrd/tinyusb into majbthrd-nuc120
2020-03-10 11:53:11 +07:00
hathach
85a3315a99
Adding lwip_webserver to ci
...
- buil_al.py skip specific MCU if .skip.MCU_ exists
- reduce stm32f070 heap & stack size to compile webserver
2020-03-09 15:51:29 +07:00
hathach
b638aabad8
add uart for feather nrf52840
2020-03-08 13:25:14 +07:00
hathach
659fc4f29e
added itsybitsy m0, m4
2020-03-07 18:26:39 +07:00
hathach
bdc5e3d3bc
added feather sense and CLUE
2020-03-07 18:02:54 +07:00
hathach
3ea95c2ab6
clean up LD_FILE using $(BOARD)
...
make it easier to duplicate bsp
2020-03-07 17:49:30 +07:00
hathach
800330cdf0
added feather nrf52840 sense
2020-03-07 17:27:59 +07:00
Peter Lawrence
6ab799c7eb
atomic GPIO operation in BSP
2020-02-11 14:34:07 -06:00
Peter Lawrence
7d8ecc63a6
add Nuvoton NUC505
2020-02-07 20:11:00 -06:00
Peter Lawrence
a8e66f0111
added CFG_EXAMPLE_MSC_READONLY to NuTuny-SDK-NUC120 board.mk
2020-01-25 13:32:31 -06:00
Peter Lawrence
cd8eb2a06b
added support for Nuvoton NUC120
2020-01-25 13:10:32 -06:00
hathach
0c1fff735d
skip nuc flash verify
2020-01-14 18:19:33 +07:00
hathach
4de9439fb1
more nuvoton support
...
- add LED for nutiny nuc 121, 125s, 126v
- flash target to use nuvoton's openocd fork
2020-01-14 18:13:42 +07:00
Peter Lawrence
64b435cf6e
correct apparent Adafruit typo in SAMD21 board.mk
2020-01-11 18:25:38 -06:00
hathach
43eff66d40
add raytac mdbt50q rx dongle
2020-01-10 16:51:24 +07:00
hathach
82c2674b19
clean up
2020-01-10 15:22:45 +07:00
hathach
287d45155d
added stm32f401 blackpill
2020-01-10 15:19:33 +07:00
hathach
4494720dbc
clean up HSE_VALUE for stm32
2020-01-10 15:14:37 +07:00
hathach
04cf337b79
clean up flash-stlink
2020-01-10 15:09:59 +07:00
hathach
dd6313a6ca
added stm32f411 blackpill
2020-01-10 00:28:46 +07:00
hathach
84bbe54e17
follow up to #261
...
- fix button pullup
- flash using teensy_loader_cli
- update boards.md
2020-01-09 22:04:11 +07:00
Lady Ada
8ead416865
add a rough bsp. UART on D0/D1, LED on D13, button on D12
2020-01-09 00:59:48 -05:00
hathach
8aef8d4b85
fix ci build
...
- nuc 121/125: add CFG_EXAMPLE_MSC_READONLY since it is not enough SRAM
to hold MSC disk
- nuc 126: drop i2c source files in compile list due to SDK driver
issue.
2020-01-07 16:57:18 +07:00
Ha Thach
130250a2be
Merge branch 'master' into nuc121
2020-01-07 16:26:58 +07:00
Peter Lawrence
f4371e79b1
add Nuvoton NUC121/NUC125/NUC126
2020-01-04 10:31:55 -06: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
hathach
b5684c5c10
merge dcd_samd51 & dcd_samd21 into dcd_samd
2019-12-26 21:46:59 +07:00
hathach
94e70f9b01
Merge branch 'master' into port-samg55
2019-12-21 23:53:48 +07:00
Ha Thach
0b540fa55d
Merge pull request #234 from hathach/stm32f4-blackpill
...
move VBUS sense out of dcd_synosys to bsp
2019-12-12 10:00:17 +07:00
hathach
88bdb12ee5
close #204 define HSE_VALUE in _hal_conf instead of board.mk
2019-12-11 15:19:51 +07:00
hathach
96a9eca6a0
move VBUS sense out of dcd_synosys to bsp
2019-12-11 14:03:36 +07:00
hathach
759fa76280
implementing dcd_edpt_open
2019-12-09 21:36:15 +07:00
hathach
208a77678c
clean up, switch and update submodule samd to circuitpython branch
2019-12-09 18:37:54 +07:00
hathach
9a8e6ed93b
added microchip submodule
2019-12-09 18:18:01 +07:00
hathach
69a801c027
change the samd submodule
2019-12-09 17:59:30 +07:00
hathach
bc21714c7e
detect bus reset
2019-11-27 14:49:19 +07:00
hathach
745f0b4521
clean up
2019-11-27 11:02:24 +07:00
hathach
4c9c13c767
add uart sync support
2019-11-26 18:21:46 +07:00
hathach
387384c0d9
fix samg55 with newlib missing end symbol
2019-11-26 17:39:51 +07:00
hathach
c691dc4cb2
update
2019-11-25 10:42:32 +07:00
hathach
58e8265964
usb hw init OK
2019-11-24 23:46:28 +07:00
hathach
24b2cea139
Merge branch 'master' into port-samg55
2019-11-24 21:22:42 +07:00
Ha Thach
64b05a1d5f
Merge pull request #225 from xobs/fomu-offset-fix
...
bsp: fomu: fix rom address for example programs
2019-11-24 11:18:53 +07:00
Sean Cross
a106c5114b
bsp: fomu: fix rom address for example programs
...
During development, the ROM address was at offset 0x2001a000
(due to the fact that the test program was located immediately
following the bitstream).
In normal Fomus, the ROM address is at offset 0x20040000, in order
to take into account additional bitstreams and bootloaders.
Correct the address to the offset in order to get examples working
with existing Fomus.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-24 01:15:31 +00:00
hathach
778cff19c1
added rt1010 board support
...
not tested on the actual hardware board though.
2019-11-23 21:18:40 +07:00
hathach
a6b1289096
added rt1015 evk board
2019-11-23 01:09:39 +07:00
hathach
d991466a8e
fix rt1010 rt1020 only has 1 usb controller, rt1050 rt1060 has 2
2019-11-23 00:48:56 +07:00
hathach
4ecb07afc5
added MIMX RT1052 Evaluation Kit
2019-11-23 00:19:53 +07:00
hathach
38b14725f7
rename OPT_MCU_IMXRT10XX to OPT_MCU_MIMXRT10XX
2019-11-22 17:40:12 +07:00
hathach
d1d8ded43b
added iMX RT1060 EVK board support
...
board_text, cdc_msc, hid_composite all work
2019-11-22 17:36:04 +07:00
hathach
281e8cd9ec
rename OPT_MCU_RT10XX to OPT_MCU_IMXRT10XX
2019-11-22 15:42:46 +07:00
hathach
a02e723d09
rename dcd lpc18_43 to transdimension
2019-11-22 14:54:23 +07:00
hathach
a0b2561a2d
move nxp dcd ehci controller reset and modde into dcd
...
rt1064 work with cdc msc example
2019-11-22 14:20:10 +07:00
hathach
636c1475ba
clean up
2019-11-22 12:38:24 +07:00
hathach
627d9a2b33
adding irq to rt1064evk
2019-11-22 00:34:31 +07:00
hathach
f5d737aa7e
moving irq to bsp for lpc17/40
2019-11-21 23:19:38 +07:00
hathach
bbec47b647
adding tud_isr/tuh_isr with lpc18/43
2019-11-21 22:20:30 +07:00
hathach
043697ab95
rename lpc 17/18 irq to dcd_isr/hcd_isr
2019-11-21 16:08:08 +07:00
hathach
54d597b723
rt1064evk led, button, uart all work
2019-11-20 17:10:30 +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
679821e917
fomu: bsp: don't call usb isr when usb is disabled
...
When compiled without usb support, we don't want to call the USB ISR.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 11:10:37 -08:00
Sean Cross
67267a9399
fomu: bsp: remove unused messible functions
...
These functions are unused in the current implementation.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 11:08:56 -08:00
Sean Cross
8c5f02960b
valentyusb: rename from `foosn`
...
While Fomu is produced by Foosn, the actual name of the hardware
block is `valentyusb`. Rename the module to match that.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:08:47 -08:00
Sean Cross
25d5628063
fomu: csr: sync csr
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:08:47 -08:00
Sean Cross
f087cb1580
fomu: crt0: minor text refactor
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:08:47 -08:00
Sean Cross
77cf0b5bfd
fomu: csr: add version with next_ev register
...
The Fomu bitstream now includes a `USB_NEXT_EV` register to
indicate which is the next logical event to process. Add this
register to the CSR definition.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:08:47 -08:00
Sean Cross
83bca4a74f
fomu: semi-working commit
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:08:01 -08:00
Sean Cross
ef07427e06
bsp: fomu: update
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:03:13 -08:00
Sean Cross
ba889eeb9e
bsp: fomu: fix linker script overlap
...
The end of the data section was overlapping the start of the bss.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:03:12 -08:00
Sean Cross
f152bed4b4
fomu: initial commit
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-13 09:03:12 -08:00
hathach
23df777b30
update nxp_driver submodule for imx rt families
2019-11-11 12:14:54 +07:00
hathach
cd96b3de86
update makefile for lpc boards
2019-11-11 11:51:51 +07:00
hathach
eca14a5ab3
re-add submodule nxp_driver
2019-11-11 11:38:30 +07:00
hathach
50cfc556d2
remove submodule lpc_driver
2019-11-11 11:33:50 +07:00
hathach
1684cb06b7
update makefile for lpc mcu
2019-11-11 11:24:10 +07:00
hathach
d65bc34bfe
added and tested nRF52833DK (pca10100)
2019-11-11 00:11:49 +07:00
hathach
4008f0d1e6
update dcd nrf5x to be indepent from nrf_usbd.h
...
fix build error with nrfx 2.0
2019-11-11 00:01:12 +07:00
hathach
2f19b9c100
update submodule nrfx to 2.0.0 for nrf52833 support
2019-11-10 21:04:55 +07:00
hathach
a19db3bdd2
added board nrf52840 mdk dongle
2019-11-10 20:07:43 +07:00
hathach
943b7467d8
correct LED, button and uart for feather_stm32f405
2019-11-09 00:08:32 +07:00
hathach
3d748e6e2e
Merge branch 'master' into port-samg55
2019-11-05 10:18:32 +07:00
hathach
1ab3a1035c
Merge branch 'master' into cr1901-msp430f5529
2019-11-05 10:17:36 +07:00
hathach
8cd19f88b9
clean up
2019-11-04 22:03:31 +07:00
hathach
42b55f6621
clean up
2019-11-04 15:00:44 +07:00
hathach
6baa79b330
board test works
2019-11-04 14:54:04 +07:00
Nathan Conrad
68a53e05fc
Merge pull request #2 from hathach/pigrew-ZLP_Request2
...
zlp request2. PR for PR (has issues with STM32F0 FSDEV)
2019-11-03 17:50:41 -05:00
Nathan Conrad
cebc066813
Add UART HAL source file to stm32f070 makefile.
2019-11-03 15:25:55 -05:00
Nathan Conrad
5839159742
Enable UART debugging on F070.
2019-11-03 09:54:02 -05:00
hathach
585aebeb12
add uart support for stm32f072disco
2019-11-03 12:54:05 +07:00
William D. Jones
ffeb61a710
msp_exp430f5529lp: Use ti submodule for includes and linker files.
2019-10-29 11:43:26 -04:00
hathach
6e204ca567
add --allow-fw-update for convenience
2019-10-29 17:36:53 +07:00
hathach
71a4076e73
correct read()/write() retarget for msp430, fix msp430 button state
2019-10-29 16:24:09 +07:00
hathach
4e8c57171c
Merge branch 'master' into cr1901-msp430f5529
2019-10-25 21:20:05 +07:00
hathach
6f952a8e84
fix missing board uart read/write()
2019-10-24 12:20:06 +07:00
hathach
661515a807
adding debug log function
2019-10-23 21:18:46 +07:00
hathach
78bf82291e
add uart support for stm32f4nucleo board (via stlink cdc)
2019-10-19 18:19:59 +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
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