Closed ppisa closed 4 months ago
We use this option to configure iCE-40 FPGA on ICE-V-Wireless port our PMSM motion control experiment from pure C PXMC based library code to pysimCoder application. The FPGA design is port of our Raspberry Pi experiment which has been even tested with pysimCoder (see P3M_spi block by Dion Beqiri) and even on ESP32C3 with NuttX (see nuttx_p3m_spi). The complete design for iCE-40 with PXMC based C application can be found in the https://gitlab.fel.cvut.cz/otrees/risc-v-esp32/ice-v-pmsm project.
EMBEDROMFS NuttX Makefile template option allows to embedded directory content into target application image in ROMFS. The content is mounted to /etc in the running NuttX system.
The content of the init.d/rcS file is executed by NSH at startup. It can be used to setup system or even load FPGA bitstream from other file stored under /etc, for example. The start of the pysimCoder model even with parameters is possible as the last action as well. It can be run even in background if "main &" is specified.