Jean Gressmann
5fb16a8f2c
samd21: enable SysTick only if running w/o OS
2021-11-01 18:01:18 +01:00
Jean Gressmann
ba34f420db
Adds support for Adafruit Trinket M0
2021-10-31 12:34:53 +01:00
hathach
4ea8f1441d
correct freertos port for efm32gg
2021-10-31 00:19:17 +07:00
hathach
215e0595ab
change F207 to use new dwc2
2021-10-31 00:09:40 +07:00
hathach
9cd5a87c64
add support for EFM32GG
...
merge GG12 GG12 to simply OPT_MCU_EFM32GG
2021-10-30 20:42:55 +07:00
Matt Johnston
19a26729b0
Add Adafruit QT Py board
...
Straight copy of itsybitsy_m0/ with MCU changed to
ATSAMD21E18
LED and button are disabled.
LED is a neopixel so could be added later.
2021-10-29 18:00:23 +08:00
Matt Johnston
8e95b807f7
samd21: Make LED_PIN and BUTTON_PIN optional
...
Some boards don't have them, just ignore
2021-10-29 13:49:15 +08:00
hathach
7def380058
support bcm2711 on pi4, enhance dcd init with utmi and ulpi hs phy
2021-10-28 12:52:18 +07:00
hathach
07829510e7
Merge branch 'tannewt-rpi' into generalize-synopsys-dwc2
2021-10-26 23:43:35 +07:00
hathach
bb5dab5c2e
add hw config struct
2021-10-26 22:48:01 +07:00
hathach
4ccf60954d
moving esp32s2 to dwc2, abstract dwc2_set_turnaround()
2021-10-25 15:51:41 +07:00
hathach
32742571da
switch gd32 and stm32f4 to use new dwc2 driver
2021-10-25 00:06:57 +07:00
hathach
06de6b725c
adding generalized dwc2 driver
2021-10-24 23:24:46 +07:00
Ha Thach
311c05b401
Merge branch 'master' into fix-warnings
2021-10-23 21:23:56 +07:00
hathach
826b34a8ac
enable -Wnull-dereference
2021-10-18 00:13:40 +07:00
hathach
31cd366935
more -Wcast-qual
2021-10-17 17:32:03 +07:00
hathach
a5f516893b
more with -Wcast-qual
2021-10-17 16:36:53 +07:00
hathach
0b249618b0
fix -Wcast-qual
2021-10-15 23:54:31 +07:00
hathach
7596cb3079
update some sense warning from -Wconversion
2021-10-15 15:54:32 +07:00
graham sanderson
06d9555389
More warning cleanup
...
- physically suppress warnings in TinyUSB headers using pragmas so they don't break -Werror compilation of external files that include them
- fix compiler warnings in rp2040 port
- add cmake method to rp2040 port to allow an external project to suppress warnings in TinyUSB itself
2021-10-14 15:23:26 -05:00
Scott Shawcroft
4ab14867da
Trying to get USB init
2021-10-12 16:47:53 -07:00
Ha Thach
b26cc2cc46
Add linkermap for size analysis ( #1136 )
...
* add NO_LTO option to make
* add linkermap submodule and linkermap target
* add linkermap to ci build
* linkermap doesn't work with esp32sx map file yet
* add note for linkermap target
2021-10-13 00:57:45 +07:00
Ha Thach
379537cb6d
Merge branch 'master' into add_uvc
2021-10-12 22:01:02 +07:00
kkitayam
b6d09ca761
Add compile option to allocate video data into flash in video_capture example
2021-10-09 23:02:18 +09:00
kkitayam
a3a18c9ed3
Change the video image to scrolling color bars.
2021-10-09 19:51:51 +09:00
Scott Shawcroft
98ab8117d6
USB seems to init ok
2021-10-05 18:20:44 -07:00
hathach
a867d87072
rename CFG_TUD_NET to CFG_TUD_ECM_RNDIS
2021-10-05 16:00:07 +07:00
hathach
31cfd5a684
Merge branch 'add_ncm' of https://github.com/majbthrd/tinyusb into majbthrd-add_ncm
2021-10-05 11:39:32 +07:00
kkitayam
a1788da410
Add video class entry to rp2040 building scripts
2021-09-30 22:14:29 +09:00
hathach
103309b88b
Merge branch 'master' of github.com:hathach/tinyusb into zhangslice-master
...
examples/device/hid_composite_freertos/src/FreeRTOSConfig/FreeRTOSConfig.h
2021-09-29 15:27:41 +07:00
Hans Baier
196a0da813
add support for the QMTech ATMSAME70N19A board
2021-09-27 06:13:07 +07:00
Peter Lawrence
03d7988df3
add NCM driver in a compatible manner : hathach/tinyusb#550
2021-09-25 17:05:58 -05:00
hathach
73872a5df0
add CFG_TUSB_OS_INC_PATH for os include path
...
useful for freertos/ prefix with esp IDF
2021-09-25 16:16:55 +07:00
Jerzy Kasenberg
417677aae4
da14695_dk_usb: Fix button configuration
...
Unlike da1469x_dk_pro, K1 pin (6) is connected to VCC when
active.
This adds required pull down and reverses active logic state.
2021-09-23 12:52:32 +02:00
Jerzy Kasenberg
dd2a518881
da1469x_dk_pro: Fix button setup
...
Button on board has 1k resistor to ground when pressed.
When not pressed pin 6 is floating.
This forces MCU pull-up for this pin for correct behavior.
2021-09-23 12:00:28 +02:00
Scott Shawcroft
829f92d00f
Trying to setup the mmu
2021-09-22 15:19:02 -07:00
Ha Thach
3e569f8e79
Merge pull request #1094 from kasjer/kasjer/da146xx-vbus-handling
...
dcd_da146xx: Add VBUS handling
2021-09-18 23:12:40 +07:00
hathach
3333703d25
Merge branch 'master' into zhangslice-master
2021-09-18 13:35:26 +07:00
Scott Shawcroft
2499c9382d
rpi start. doesn't work
2021-09-17 16:51:34 -07:00
Jerzy Kasenberg
a71ac71d7f
da1469x_dk_xxx: Add VBUS handling
...
Two BSPs with DA146xx MCUs are now adopted to
VBUS handling changed introduced to dcd_da146xx driver.
da14695_dk_usb as bus-powered devices informs driver that
VBUS is present at startup.
da1469x-dk-pro has VBUS change interrupt handler that
informs driver about VBUS changes.
2021-09-17 12:20:57 +02:00
kkitayam
46bb821753
Add J1-19 pin setting as a button
2021-09-15 21:32:53 +09:00
kkitayam
ecbe8c3376
Change default LED state to off
2021-09-15 21:32:53 +09:00
hathach
f39656b6d7
Merge branch 'master' of github.com:hathach/tinyusb into kkitayam-impl_close_all_for_khci
2021-09-15 18:29:28 +07:00
szymonh
1a87b605bd
Add support for Nucleo F412ZG
2021-09-13 13:21:25 +02:00
kkitayam
d7238d9a86
Remove heap memory area
2021-09-10 00:13:29 +09:00
hathach
f47e5402fa
add msc workaround for cxd56
2021-09-07 13:30:51 +07:00
hathach
76345ea3a1
clear stall and reset data toggle when open edpt
...
required to pass one of msc test.
2021-08-31 16:41:45 +07:00
hathach
a05ea0d83b
add CFG_EXAMPLE_MSC_READONLY for curiosity
...
allow family/board to exclude specific example. exclude
net_lwip_webserver from curiosity.
2021-08-29 22:53:16 +07:00
mainr
b169db3fd6
Add PYOCD_OPTION
...
Added PYOCD_OPTION to pass board-specific options to build
2021-08-29 22:51:46 +07:00
mainr
90af8562b1
Added support for Microchip Curiosity Nano SAMD21 board (DM320119)
...
Added support for Microchip Curiosity Nano SAMD21 board (DM320119) under hw/bsp/samd21/boards/curiosity_nano
The nEDBG on this board requires dap_protocol be specified as SWD (changed in examples/rules.mk)
NOTE: requires entry (03eb:2175) for VID:PID of nEDBG be added to /etc/udev/rules for pyocd
2021-08-29 22:51:46 +07:00
Ha Thach
4492a7021c
Merge branch 'master' into merge-waveshare-h7
2021-08-29 21:49:10 +07:00
hathach
6159252692
disable systick when running freertos on other stm families
2021-08-29 21:34:10 +07:00
hathach
00e66cf2e0
remove old openh743i, explicitly disable systick when using freertos for H7
2021-08-29 21:26:47 +07:00
Greg Steiert
5bd7788950
cleaned up unused code, only enalbing port clocks as needed
2021-08-23 16:36:58 -07:00
Greg Steiert
86201f77be
initial commit of support for K32L2B
2021-08-23 16:17:57 -07:00
hathach
eda5b92e92
whitespace
2021-08-19 19:13:47 +07:00
hathach
175a6fbc5f
rename to stm32f103_bluepill
2021-08-19 18:53:55 +07:00
hathach
ebfd65a9ca
add stm32f103 mini v2.0 board
2021-08-19 18:51:51 +07:00
hathach
1992f49343
group stm32f1 board
2021-08-19 18:02:16 +07:00
hathach
a9279ece33
merge waveshare to h7 family
2021-08-19 17:27:53 +07:00
Ha Thach
2bb63406e9
Merge pull request #959 from KarlK90/gd32vf103-support-tiny-usb
...
[PORT] Add GD32VF103 support and Sipeed Longan Nano Board support
2021-08-15 18:50:00 +07:00
hathach
73f8fae036
change toolchain to riscv-none-embed-gcc-xpack for ci
2021-08-15 17:28:14 +07:00
hathach
09e4348adc
move gd32vf103 to its own family
2021-08-15 17:19:25 +07:00
Stefan Kerkmann
1b6540a61c
Update systick reload value
...
The systick timer is driven by the AHB bus divided by 4, set the correct
reload value to generate a timer irq every ms.
2021-08-09 21:37:06 +02:00
Stefan Kerkmann
27f147f421
Minor style changes
2021-08-07 14:08:18 +02:00
Stefan Kerkmann
0399996ee5
Code style changes
2021-08-07 11:33:36 +02:00
Stefan Kerkmann
66d566f8c0
Use functions provided by the nuclei-sdk hal
2021-08-07 11:33:36 +02:00
Stefan Kerkmann
60d03110f7
Correctly initialize and handle the system tick
...
Forgot to reload the systick timer in the irq handler
2021-08-07 11:33:36 +02:00
Stefan Kerkmann
1d2a57a9e1
Remove unsuitable clock configurations from init code
...
Only 48MHz, 72MHz, 96MHz and 120 MHz system clocks derived from an
external crystal are suitable for the usb peripheral, as the internal
oscillator is not stable enough. Also the usb-prescaler only supports
division by 1 (48MHZ), 1.5(72MHz), 2(96MHz) and 2.5(120Mhz).
120Mhz is also out of spec and not added here.
2021-08-07 11:33:36 +02:00
Stefan Kerkmann
733a362436
Use nuclei-sdk functions for init code
...
Instead of using the HAL functions we can just use the defines from the
board support for the longan nano that comes with the nuclei-sdk. Also
we move some includes and defines to the header file.
2021-08-07 11:32:06 +02:00
Stefan Kerkmann
6e287a7c5e
Cleanup include paths and use linker files from nuclei-sdk
2021-08-07 09:51:56 +02:00
Stefan Kerkmann
b473923f42
Remove redundant linker files
...
We use the linker files provided by nuclei-sdk instead
2021-08-07 09:51:16 +02:00
Ha Thach
88f5c04fe0
Merge pull request #985 from HiFiPhile/same70
...
SAMx7x improvements
2021-08-06 11:32:57 +07:00
Stefan Kerkmann
790d90bf26
Set FreeRTOS to RISC-V (doesn't compile)
2021-08-03 20:01:10 +02:00
Stefan Kerkmann
23e3b1680b
Use JTAG for jlink flashing
2021-08-03 20:01:10 +02:00
Stefan Kerkmann
3db2089aa9
Minor clean ups
2021-08-03 20:00:39 +02:00
Stefan Kerkmann
19b971cb24
Add board support for gd32vf103 longan nano
2021-08-03 20:00:39 +02:00
MasterPhi
8b5625bf4e
Move clock enable to BSP.
2021-07-30 12:07:23 +02:00
Ben Evans
0953be9d7f
Small tidy up for waveshare openh743i BSP.
2021-07-27 12:07:19 +10:00
Ben Evans
f01074681a
Added BSP for waveshare openh743i.
2021-07-27 11:58:20 +10:00
Ha Thach
1c2bc47c07
Merge pull request #950 from HiFiPhile/dfu
...
DFU improvements
2021-07-22 11:17:01 +07:00
hathach
05f59fb8ed
clean up warning
2021-07-19 12:08:01 +07:00
MasterPhi
d0dd3c77ff
Use USBHS_Handler
2021-07-18 22:03:45 +02:00
HiFiPhile
b194aa240b
Merge branch 'master' into dcd_same70
2021-07-17 12:10:35 +02:00
hathach
406832158d
skip lto for samd11 build
2021-07-15 21:08:10 +07:00
hathach
8de33ca557
Merge branch 'master' into kkitayam-fix_rtt_for_rx_family
2021-07-02 14:10:31 +07:00
kkitayam
ea9ec1fb43
extend stack areas to enable logging
...
add dummy functions to avoid warnings when logging is enable
remove codes regarding OPTLIB
2021-07-02 11:37:23 +09:00
hathach
ca98996e1f
better support for hid device set/get protocol
...
add caplock detection for hid_composite
2021-07-01 22:46:39 +07:00
hathach
b2fa7358cf
fix typo
2021-06-29 16:38:38 +07:00
hathach
2d423514ee
rename rx65n cloud kit to target
...
adding note for adding jlink support for rx65n_target board
2021-06-29 16:33:32 +07:00
hathach
01987ef86c
merge saml21 + saml22 = saml2x
2021-06-28 14:37:41 +07:00
hathach
7e449b710e
rename bsp saml22 to saml2x
2021-06-28 14:06:13 +07:00
Ha Thach
b2feae15e4
Merge pull request #927 from hathach/add-rx65n-board
...
Add rx65n board
2021-06-28 13:53:42 +07:00
hathach
856dc0bab9
update doc and clean up
2021-06-28 12:59:53 +07:00
hathach
e3b1110cce
rename rx63n to simply rx
2021-06-28 12:51:11 +07:00
hathach
8c4641fc05
refactor rx6x bsp
2021-06-28 12:49:30 +07:00
hathach
17137bbfff
fix rx65n with freertos build
2021-06-28 12:35:12 +07:00
kkitayam
239ecadeca
add options for e2l
2021-06-27 23:39:50 +09:00
kkitayam
511b2d47d1
add handling for software configurable interrupts.
2021-06-26 22:42:27 +09:00
kkitayam
60fedaa050
fix baudrate setting
2021-06-26 21:13:35 +09:00