xmos / lib_sdram

SDRAM library
Other
1 stars 5 forks source link

Missing C API #33

Open mbanth opened 3 years ago

mbanth commented 3 years ago

The sdram.h file includes function signatures that use clocks, ports (including buffered ports), references (including a reference to a movable pointer), and streaming channel ends (including a streaming channel end array).

The memory_address_allocator.h file includes function signatures that use XC interfaces (including a server interface) and references. One function signature includes the [[sametile]] attribute and another one includes the [[distributable]] attribute.

Not surprisingly, the implementation of each of the API functions use the same signatures, hence the same non-C features.

A C API has not been provided.