robertobucher / pysimCoder

Block diagram editor and real time code generator for Python
GNU General Public License v3.0
142 stars 31 forks source link

Support for multiple NuttX targets #68

Open michallenc opened 6 months ago

michallenc commented 6 months ago

Improve export by adding NuttX current target (arch, chip, board) commit to NuttX mainline adds NUTTX_ARCH, NUTTX_ARCH_CHIP and NUTTX_BOARD variables to NuttX export. We could use this to identify the target in export file and even to support multiple exported targets as a subdirectory of nuttx-targets directory.

Ideally the build for specific target would be selected from GUI, which would also take care of blocks' source code compilation. This way the user would not have to go to CodeGen/nuttx/devices and run make manually. Similar approach could be used for other targets including Linux.