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
cd96b3de86
update makefile for lpc boards
2019-11-11 11:51:51 +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
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
c42edc080c
Merge branch 'master' into develop
2019-10-09 11:03:55 +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
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