-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
migrate document from doxygen to reStructuredText #6
Labels
Comments
I do a good amount of rST with ReadTheDocs so feel free to ask any questions. |
@tannewt thanks Scott, this is more like a reminder for myself. There is already too many code to write :( . |
Closed
Is this technically done with #983 ? |
yeah, I think this can technically be closed. There is always more docs to write much like codes. Thanks again. |
jbtheou
pushed a commit
to jbtheou/tinyusb
that referenced
this issue
Apr 28, 2023
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, hathach#2112 @ 0x840 0x000193f8 <+4>: ldr r3, [pc, hathach#20] @ (0x19410 <tud_cdc_n_get_line_coding+28>) 0x000193fa <+6>: mla r0, r2, r0, r3 => 0x000193fe <+10>: ldr.w r3, [r0, hathach#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 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Info https://docs.readthedocs.io/en/latest/getting_started.html
The text was updated successfully, but these errors were encountered: