Commit Graph

540 Commits

Author SHA1 Message Date
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