Deprecate the current PLUGINS API, use TCC instead

Issue #1550 open
Giovanni Nanomad Condello created an issue

As topic says, having only one in-camera C compiler is definitely better. And we need TCC for modules anyway.

This tasks includes

  • Cleaning up PicoC references from source & Makefiles

  • Remove the OS_FUNCTION macro

  • (...)

Comments (4)

  1. Alex

    Also, for migrating PicoC scripts:

    • expose the scripting library (a C file with public functions should be fine)
    • add void main() to our scripts
    • I've tried to hack TCC in order to accept top-level statements (without main function), but it's quite difficult.
  2. Log in to comment