1
Discussion - EVE / Re: IDM2040-7A
« on: September 18, 2022, 02:52:03 AM »
You can create C source files with functions and expose them to the GUI editor using the ESD_FUNCTION macro. (You can search the library sources for examples of this.)
RP2040 APIs can be used directly as in any regular RP2040 project. You can hide any code that accesses hardware from the GUI editor by putting it inside #ifndef ESD_SIMULATION guards, so you don't get compile errors in the simulation. (There's no simulation for hardware APIs currently, although as an alternative you could also provide your own implementation or validation stubs of hardware APIs inside a #ifdef ESD_SIMULATION guard, for debugging purposes.)
RP2040 APIs can be used directly as in any regular RP2040 project. You can hide any code that accesses hardware from the GUI editor by putting it inside #ifndef ESD_SIMULATION guards, so you don't get compile errors in the simulation. (There's no simulation for hardware APIs currently, although as an alternative you could also provide your own implementation or validation stubs of hardware APIs inside a #ifdef ESD_SIMULATION guard, for debugging purposes.)