<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tinyusb.git/src/class/cdc/cdc_device.c, branch 0.16.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/tinyusb.git/atom/src/class/cdc/cdc_device.c?h=0.16.0</id>
<link rel='self' href='http://cgit.235523.xyz/tinyusb.git/atom/src/class/cdc/cdc_device.c?h=0.16.0'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/'/>
<updated>2023-08-14T13:01:30Z</updated>
<entry>
<title>UINT16_MAX stdint macro usage</title>
<updated>2023-08-14T13:01:30Z</updated>
<author>
<name>tswan-quasi</name>
<email>tucker.swan@10xar.com</email>
</author>
<published>2023-08-14T13:01:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=b5ba12119dccb123aa6e8798dc86d639af6703b9'/>
<id>urn:sha1:b5ba12119dccb123aa6e8798dc86d639af6703b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>min on cdc r/w</title>
<updated>2023-08-14T12:49:52Z</updated>
<author>
<name>tswan-quasi</name>
<email>tucker.swan@10xar.com</email>
</author>
<published>2023-08-14T12:49:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=bd51afb091f29cdab6520479a1a504409d95aac8'/>
<id>urn:sha1:bd51afb091f29cdab6520479a1a504409d95aac8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>default class driver log level to CFG_TUH/TUD_LOG_LEVEL allow application to selectively disable usbd/usbh or driver log</title>
<updated>2023-08-02T08:34:18Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2023-08-02T08:34:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=979bf32266d379ec493ad31001b815d6a597b91e'/>
<id>urn:sha1:979bf32266d379ec493ad31001b815d6a597b91e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stack</title>
<updated>2023-07-24T08:46:21Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2023-07-24T08:46:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=ef49b93532a7360703ae87d36cf463169f86f20b'/>
<id>urn:sha1:ef49b93532a7360703ae87d36cf463169f86f20b</id>
<content type='text'>
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
</content>
</entry>
<entry>
<title>add aligned(4) for cdc_line_coding_t</title>
<updated>2023-04-28T04:12:03Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2023-04-28T04:12:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=190acc1fb0579d3e097ba2b0b96033740ecee26e'/>
<id>urn:sha1:190acc1fb0579d3e097ba2b0b96033740ecee26e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cdc: fix line_coding aligment</title>
<updated>2023-04-28T01:48:15Z</updated>
<author>
<name>Jean-Baptiste Theou</name>
<email>jb@thing.com</email>
</author>
<published>2023-04-28T01:48:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=8f4797663902cd445994ed48f2cd093161af68f2'/>
<id>urn:sha1:8f4797663902cd445994ed48f2cd093161af68f2</id>
<content type='text'>
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 &lt;+0&gt;:	mov.w	r2, #2112	@ 0x840
0x000193f8 &lt;+4&gt;:	ldr	r3, [pc, #20]	@ (0x19410
&lt;tud_cdc_n_get_line_coding+28&gt;)
   0x000193fa &lt;+6&gt;:	mla	r0, r2, r0, r3
=&gt; 0x000193fe &lt;+10&gt;:	ldr.w	r3, [r0, #6]
   0x00019402 &lt;+14&gt;:	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 &amp;_cdcd_itf.line_coding
$3 = (cdc_line_coding_t *) 0x40100006 &lt;_cdcd_itf+6&gt;

which leads to a HardFault. With this fix

(gdb) p &amp;_cdcd_itf.line_coding
$5 = (cdc_line_coding_t *) 0x40100008 &lt;_cdcd_itf+8&gt;

and the function can be called properly

Signed-off-by: Jean-Baptiste Theou &lt;jb@thing.com&gt;
</content>
</entry>
<entry>
<title>fix trailing space and new line</title>
<updated>2023-03-17T09:12:49Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2023-03-17T09:12:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=3623ba1884ddff23e9b64766cb6dd032f1425846'/>
<id>urn:sha1:3623ba1884ddff23e9b64766cb6dd032f1425846</id>
<content type='text'>
temporarily disable codespell
</content>
</entry>
<entry>
<title>use tu_static instead of static _fuzz_thread</title>
<updated>2023-02-22T09:23:40Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2023-02-22T09:23:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=498989ee009c388a770e7a312ae04d0a51ba745a'/>
<id>urn:sha1:498989ee009c388a770e7a312ae04d0a51ba745a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_thread</title>
<updated>2023-02-22T04:47:09Z</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2023-02-22T04:47:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=03ec49450d2109a0e6ede3672e95426fd87aa48f'/>
<id>urn:sha1:03ec49450d2109a0e6ede3672e95426fd87aa48f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: Change all static variables to thread when fuzzing</title>
<updated>2023-01-20T23:45:31Z</updated>
<author>
<name>Nathaniel Brough</name>
<email>nathaniel.brough@gmail.com</email>
</author>
<published>2023-01-20T23:40:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/tinyusb.git/commit/?id=18c3095346159a4f5c3db9775b4f7c6aebca77c2'/>
<id>urn:sha1:18c3095346159a4f5c3db9775b4f7c6aebca77c2</id>
<content type='text'>
</content>
</entry>
</feed>
