hathach
e163f85ee0
clean up, rename some HID device symbol/API
...
- add tud_hid_n_interface_protocol()
- rename tud_hid_n_boot_mode() to tud_hid_n_get_protocol()
- rename tud_hid_boot_mode_cb() to tud_hid_set_protocol_cb()
- add HID_PROTOCOL_BOOT/REPORT to avoid magic number 0,1
- rename HID_PROTOCOL_NONE/KEYBOARD/MOUSE to HID_ITF_PROTOCOL_ to avoid
confusion
2021-05-18 12:32:20 +07:00
Ha Thach
2d15e11830
Merge pull request #827 from kasjer/kasjer/fix-audio-rx_done_cb
2021-05-12 00:14:31 +07:00
Ha Thach
c5e95a8f8d
Merge pull request #829 from kasjer/kasjer/fix-build-for-nrf5340
...
Allow build for NRF5340 MCU
2021-05-11 20:02:48 +07:00
hathach
9233269a2c
only apply errata walkaround for nrf52
2021-05-11 18:38:23 +07:00
Jerzy Kasenberg
e2f795067a
Allow build for NRF5340 MCU
...
Errata code referred to NRF_USBD_BASE.
This definition is not present in NRF5340 but both NRF52 and NRF53
do have NRF_USBD which maps to NRF_USBD_BASE for NRF52 and
to NRF_USBD_S_BASE for NRF5340.
This just make build possible for NRF5340.
2021-05-11 12:37:08 +02:00
Ha Thach
59affc90aa
Merge pull request #828 from corvus-ossifragus/fix-ep-struct-trace-statements
...
Fix ep struct trace statements
2021-05-10 22:21:15 +07:00
corvus-ossifragus
23e564249c
Update .gitignore
2021-05-10 10:15:36 -04:00
corvus-ossifragus
72f5202086
Update trace statements that referenced deprecated structure elements.
2021-05-10 10:09:09 -04:00
Jerzy Kasenberg
74ca1894de
audio_device: Fix build error
...
ep_in_as_intf_num was incorrectly used to access out interface
which is defined for 'in' interface.
Code related to 'out' endpoint should use ep_out_as_intf_num instead.
2021-05-10 15:58:04 +02:00
Ha Thach
2a343ba916
Merge pull request #826 from hathach/minor-cleanup
...
minor clean up
2021-05-10 19:29:45 +07:00
Ha Thach
1e8a129149
Merge pull request #824 from corvus-ossifragus/fix-keyboard-hid-report-buffer
...
Update main.c
2021-05-10 19:21:33 +07:00
hathach
13de8f5d98
minor clean up
2021-05-10 19:15:46 +07:00
corvus-ossifragus
0621df8d26
Update main.c
...
Fix code where HID keyboard was being stuffed into the HID mouse buffer.
2021-05-09 19:11:29 -04:00
Ha Thach
505ee0c8ea
Merge pull request #821 from corvus-ossifragus/debug_build_errors
...
Update hcd_rp2040.c
2021-05-08 17:47:49 +07:00
Ha Thach
4cd6ec2530
Merge pull request #820 from corvus-ossifragus/update-host-example
...
Update main.c
2021-05-08 17:46:51 +07:00
corvus-ossifragus
13b510ad8e
Update hcd_rp2040.c
...
Remove reference to the deprecated "num" and "in" members of struct hw_endpoint which still exist in an assert statement and break DEBUG builds.
2021-05-07 16:49:48 -04:00
corvus-ossifragus
5316c4e84a
Update main.c
...
Added new RTOS names to the name string array in print_greeting() in the host example program. The program seemed to hang when a new RTOS was indexed in CFG_TUSB_OS.
2021-05-07 16:35:22 -04:00
Ha Thach
ee00918b7c
Merge pull request #803 from pigrew/usbtmc_default_rm
...
USBTMC: remove reference to visa DLL (which only was for windows, and…
2021-05-05 10:52:02 +07:00
Ha Thach
42a1d2f3b9
Merge pull request #804 from hathach/audio_make_dma_ready
...
Implement functions to allow for DMA usage in audio driver.
2021-05-02 15:29:38 +07:00
hathach
1e1bcda003
update changelog for peek api
2021-05-02 15:05:47 +07:00
hathach
18c35bb89e
some text fomarting, update unit test to test get buffer info for fifo
2021-05-02 15:01:28 +07:00
Reinhard Panhuber
5add664874
Remove n from tu_fifo_get_write_info() and fix bug in vendor class
2021-04-30 17:37:14 +02:00
Reinhard Panhuber
6acfa14fec
Fix bug in cdc_peek
2021-04-30 17:23:34 +02:00
Reinhard Panhuber
54f332fae0
Fix cdc peeks()
2021-04-30 15:42:27 +02:00
Reinhard Panhuber
5f88def9c9
Comment cleanup
2021-04-30 15:14:27 +02:00
Reinhard Panhuber
14e2c004cd
Remove variable n in tu_fifo_get_read_info()
2021-04-30 15:08:14 +02:00
Reinhard Panhuber
de933c45bc
Remove all remainings with peek_at
2021-04-30 14:56:14 +02:00
Reinhard Panhuber
5f268608d7
Remove offset feature from fifo.c
2021-04-30 13:39:55 +02:00
Reinhard Panhuber
8f72c97f7b
Change read infos to pointer type
2021-04-30 12:59:12 +02:00
Ha Thach
30b7988efa
Merge pull request #811 from hathach/update-lpc54
...
Update lpc54
2021-04-29 00:44:54 +07:00
hathach
e70fb7fd41
fix mkl25z ci
2021-04-29 00:33:03 +07:00
hathach
cf64b2214b
fix build with mkl25z
2021-04-29 00:22:28 +07:00
hathach
d70af332c0
fixed build with lpc51
2021-04-28 23:44:04 +07:00
hathach
f7779c70d6
add lpc54 to ci
2021-04-28 23:27:12 +07:00
hathach
fdda9f75db
add lpc54628 but usb clock;phy doesn't seem to be right
2021-04-28 23:25:07 +07:00
hathach
8a9f412788
fix lpc54 button
2021-04-28 22:34:56 +07:00
hathach
71a1f57ccd
generalize lpc54 family
2021-04-28 21:34:26 +07:00
hathach
9a6552c4b3
fix build with lpc54
2021-04-28 20:02:17 +07:00
hathach
fcedb2eecb
fix lpc55 build
2021-04-28 19:53:31 +07:00
hathach
810057bdb2
fix build with imxrt
2021-04-28 19:30:23 +07:00
hathach
af0db342df
update lpc mcu sdk path
2021-04-28 18:30:19 +07:00
hathach
aaa8c9928c
add official nxp mcux-sdk submodule
2021-04-28 18:26:04 +07:00
hathach
e115e08728
add nxp_lpcopen as submodule
2021-04-28 18:11:49 +07:00
hathach
62c5fa1056
remove submodule hw/mcu/nxp
2021-04-28 18:07:26 +07:00
hathach
3da76ae449
making new family lpc54
2021-04-28 16:13:43 +07:00
Ha Thach
33f713f5ef
Merge pull request #810 from hathach/fix-lpc15
...
Fix lpc15
2021-04-28 15:36:30 +07:00
hathach
c1c4b2f6bf
complete lpc15 family
2021-04-28 15:16:36 +07:00
hathach
bbc6d4f9e8
create new lpc15 family
2021-04-28 15:10:31 +07:00
hathach
cd535537f6
update doc
2021-04-28 15:02:11 +07:00
hathach
6882a7af3b
lpc1549 work well now
2021-04-28 14:53:46 +07:00