e18fcbba5a
Now that device_api attribute is unmodified at runtime, as well as all the other attributes, it is possible to switch all device driver instance to be constant. A coccinelle rule is used for this: @r_const_dev_1 disable optional_qualifier @ @@ -struct device * +const struct device * @r_const_dev_2 disable optional_qualifier @ @@ -struct device * const +const struct device * Fixes #27399 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
README.rst | ||
prj.conf | ||
sample.yaml |
README.rst
.. _i2s_litex_example: ##################### I2S example ##################### Overview ******** This is a simple I2S audio transceiver example. You can plug any source of music and listen to it. Audio Format ************ The driver requires and provides Audio data with the following parameters: * 44100 kHz sample rate * Signed 24 bit PCM * Stereo * Little endian Building ******** .. code-block:: mkdir build && cd build cmake -DBOARD=litex_vexriscv .. make Known issues ************ It seems that after a few minutes some music delay occurs, this is because the sound driver is not able to send data as fast as it receives it.