embeddedsw icon indicating copy to clipboard operation
embeddedsw copied to clipboard

Docs for SDT API?

Open atyshka opened this issue 1 year ago • 1 comments

I am trying to get a basic timer working and I was quite confused why my code was crashing until I realized that there are two separate APIs for the timer (and presumably other things) depending on the SDT preprocessor directive. The docs still use the old format (https://xilinx.github.io/embeddedsw.github.io/scutimer/doc/html/api/group__scutimer.html#ga1e7db0f5795151c2d6538dae1fd07a16), and changes like deviceIds turning into BaseAddr can fail silently because they are both integer types. Is there any documentation for this new API?

atyshka avatar Feb 02 '24 04:02 atyshka

Thanks @atyshka for reporting, we will get this document updated with this API change. Incase if you wnat to more about this change in API and SDT , please refer to our porting guide to this SDT flow document UG1647 at https://docs.xilinx.com/r/en-US/ug1647-porting-embeddedsw-components/Introduction

sivadur avatar Feb 05 '24 04:02 sivadur