Commit Graph

456 Commits

Author SHA1 Message Date
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 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
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
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
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
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
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
hathach 3440083bfd added board feather stm32f045 2019-09-18 14:38:56 +07: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