Is there a way to define a function that runs native code?


#1

Is there a way to define a function using native code?
I’m using uLisp on an Arduino UNO and I wanted to add a custom function that will run Arduino c++ code


#2

Does the uLisp AVR assembler meet your requirements?

AVR Assembler overview

However it’s only supported on platforms based on the ATmega1284P, or the AVR128DA48 or AVR128DB48. There isn’t enough room on an Arduino Uno.


#3

What I meant was if I could bind a native function written in the language the uLisp lib was written in (in this case Arduino’s C++ dialect) to a function runnable from the CLI.


#4

OK, how about this:

Adding your own functions


#5

Yeah, that will work, thanks!