hathach
792cf95f2d
revert ci gcc to 11.2, update nrfx to version 2.11
2023-05-15 23:35:29 +07:00
hathach
d7175ad834
update nrf cmake and make to support nrf5340 (pca10095)
2023-05-15 23:34:24 +07:00
Ha Thach
9f5b08dc93
Update build_arm.yml
...
try bump up gcc to 12
2023-05-15 14:39:49 +07:00
hathach
9fd0fee458
adding nrf
2023-05-15 14:25:42 +07:00
Ha Thach
a57ba87859
revert family.mk
2023-05-13 13:24:00 +07:00
hathach
dbcef41f95
add support for other lpc55 boards
2023-05-13 13:24:00 +07:00
hathach
2c745d1b1e
able to build lpc55
2023-05-13 13:23:59 +07:00
HiFiPhile
f1bef8d8dd
Merge pull request #2057 from abakosh/develop
...
fix(iar_template.ipcf): add missing portable links, and delete the us…
2023-05-12 13:15:19 +02:00
HiFiPhile
9c1918fe46
Remove deprecated dcd_synopsys
2023-05-12 13:13:42 +02:00
Ha Thach
aaff27d220
Merge pull request #2058 from hathach/cmake-imxrt
...
Add Cmake for imxrt and Fix EHCI PortSC issue
2023-05-10 16:06:04 +07:00
hathach
eaa159c0a6
more doc build fix
2023-05-10 15:52:33 +07:00
hathach
137d516882
try to fix build doc
2023-05-10 15:32:39 +07:00
hathach
1e91fc97e2
remove imxrt from makebuild
2023-05-10 14:59:23 +07:00
hathach
c4b2fed8bd
forgot sudo
2023-05-10 13:51:45 +07:00
hathach
c3770019cb
install ninja
2023-05-10 13:50:24 +07:00
hathach
8e3bdd2391
add python script to help building cmake, build all imxrt boards with ci
2023-05-10 13:09:15 +07:00
hathach
4c796b89d8
try to build with cmake on ci
2023-05-10 11:20:26 +07:00
hathach
c0e4c02b9d
allow imxrt build with dual exmaples
2023-05-10 11:15:11 +07:00
hathach
bc579c045e
skip link option --print-memory-usage for renesas rx since it does not support this option
2023-05-09 21:39:10 +07:00
hathach
77f0726361
fix ehci issue with portsc when enable port power and port reset
...
fix attached device not regconized if attached before power on
2023-05-09 17:32:14 +07:00
hathach
04c759028a
simplify cmake target, remove -bsp
2023-05-09 10:02:44 +07:00
Aladdin Bakosh
4be7546372
fix(iar_template.ipcf): add missing portable links, and delete the usbh_control.c from the list
2023-05-08 15:57:34 +02:00
hathach
fd50be2e62
change imxrt board_uart_read() to non-blocking
...
simple host seems to work
2023-05-08 19:43:48 +07:00
hathach
4fc4f35a8a
fix linking missing ivt symbol for imxrt with cmake
...
changed device port = 0, host port =1 for imxrt 1060 and 1064
2023-05-08 17:25:47 +07:00
hathach
654f182176
build host examples with imx
2023-05-08 00:24:48 +07:00
hathach
6945c594d5
update all device cmake example for imx
2023-05-07 22:09:08 +07:00
hathach
f15f79df5d
cmake work well with imxrt
2023-05-06 15:14:54 +07:00
hathach
cda5ab8b25
more temp work
2023-05-05 19:15:19 +07:00
hathach
97ee40fd7b
add clion files
2023-05-05 16:51:50 +07:00
hathach
8a9d2b4b75
wip
2023-05-04 23:29:37 +07:00
hathach
629717cd13
fix cmake build
2023-05-04 16:38:06 +07:00
Ha Thach
5e023fa2ca
Merge pull request #2051 from hathach/improve-serial-host
...
Improve serial host
2023-04-28 22:59:57 +07:00
hathach
1763eede48
more update to host serial API
2023-04-28 22:14:14 +07:00
hathach
fb5fe3360f
allow call tuh cdc with blocking (callback = NULL)
...
- tuh_cdc_set_control_line_state()
- tuh_cdc_set_baudrate()
- tuh_cdc_set_line_coding()
2023-04-28 21:50:54 +07:00
hathach
0a43a7b418
improve host serial drivers
...
- tuh_control_xfer() update xfer result to user_data if complete
callback = NULL (sync/blocking)
- refactor host serial driver for acm/ftdi/cp210x
2023-04-28 19:13:25 +07:00
Ha Thach
2afef458be
Merge pull request #2030 from slc-tl/patch-1
...
Update porting.rst
2023-04-28 11:36:14 +07:00
hathach
090078542f
update osal note
2023-04-28 11:34:12 +07:00
Ha Thach
a41ab41b8b
Merge pull request #2047 from jbtheou/master
...
cdc: fix line_coding aligment
2023-04-28 11:25:53 +07:00
hathach
190acc1fb0
add aligned(4) for cdc_line_coding_t
2023-04-28 11:12:03 +07:00
Jean-Baptiste Theou
8f47976639
cdc: fix line_coding aligment
...
While calling tud_cdc_n_get_line_coding, the structure is copied into
the destination.
Dump of assembler code for function tud_cdc_n_get_line_coding:
0x000193f4 <+0>: mov.w r2, #2112 @ 0x840
0x000193f8 <+4>: ldr r3, [pc, #20 ] @ (0x19410
<tud_cdc_n_get_line_coding+28>)
0x000193fa <+6>: mla r0, r2, r0, r3
=> 0x000193fe <+10>: ldr.w r3, [r0, #6 ]
0x00019402 <+14>: str r3, [r1, #0 ]
On some platform (tested on LPC55S28), the address needs to be 4-bytes
aligned. Without this, the address is
(gdb) p &_cdcd_itf.line_coding
$3 = (cdc_line_coding_t *) 0x40100006 <_cdcd_itf+6>
which leads to a HardFault. With this fix
(gdb) p &_cdcd_itf.line_coding
$5 = (cdc_line_coding_t *) 0x40100008 <_cdcd_itf+8>
and the function can be called properly
Signed-off-by: Jean-Baptiste Theou <jb@thing.com>
2023-04-27 15:48:15 -10:00
Ha Thach
e3b3229d61
Merge pull request #2046 from hathach/add-usb2uart-host-driver
...
Add usb2uart serial host driver
2023-04-28 00:06:08 +07:00
hathach
732686cc10
add tuh_cdc_set_baudrate()
2023-04-27 23:22:10 +07:00
hathach
ee58278ed2
add code to calculate divisor from baudrate for ftdi
2023-04-27 23:08:25 +07:00
hathach
8214f0f497
clean up
2023-04-27 17:40:08 +07:00
hathach
c10f52b237
forgot to add cp210x header
2023-04-27 17:39:02 +07:00
hathach
438387be8c
more refactor
2023-04-27 17:32:56 +07:00
hathach
86f6fd17ed
cp210x seems to work well
2023-04-27 17:09:21 +07:00
hathach
a32ef1cde1
more host serial refactor
2023-04-27 16:32:42 +07:00
hathach
9698a088db
refactor acm function
2023-04-27 15:29:44 +07:00
hathach
85d9925d24
refactor ftdi driver
2023-04-27 15:20:04 +07:00