Integrating own functions into KISS IDE

2 replies [Last post]
amehta
Title: NooBot
Joined: 07/18/2011
Posts:
BotPoints: 136
User offline. Last seen 5 years 32 weeks ago.

I was looking to integrate some of the functions I commonly use (that I created) into KISS IDE's main library file, or just something so KISS recognizes my function automatically without my having to include a library or including the function in the program. Does anyone know which file(s) I should edit to do so? Thanks in advance.

-amehta (Andrew Mehta)

Beta
Beta's picture
Title: The Magnificent
Joined: 02/24/2012
Posts:
BotPoints: 266
User offline. Last seen 8 years 32 weeks ago.

Beyond including a header, there is no easy way to create a group of automatically imported functions. You could, in theory, modify the .target file to auto-include a header in any compiled program (KISS IDE/targets/cbc2/cbc2.target). A better way to create and link a library is coming in a future version of KISS IDE. I hope to enter beta by summer.

Thanks.

Braden McDorman

Developer of the KIPR Link, KISS IDE, KIPR's 2D Simulator, and CBCJVM.

Reach me at bmcdorman(cat)kipr(dog)org where (cat)=@ and (dog)=. if you need assistance of any kind.

amehta
Title: NooBot
Joined: 07/18/2011
Posts:
BotPoints: 136
User offline. Last seen 5 years 32 weeks ago.

Yeah, I've customized the template to my liking and to include all of those functions, but I was wondering if there was a way to have it embedded in already.

And yes, hopefully that does come out in the summer.

Thanks anyway!

-amehta (Andrew Mehta)