UECIDE

|juˈekaɪdiːˈiː| :: Wake Up Your Arduino
Last edit: 2020-10-30 by matt

UECIDE Script


A UECIDE Script is a simple list of key-value pairs with sequentially numbered subkeys. Each key is expanded as per any other key and the result is executed either as a system command, a Builtin Command or a special directive. All arguments are separated by ::. Keys can be suffixed with the OS and architecture to run different keys on different operating systems.

Example:

programmer.hid.script.0=__builtin_bullet::Uploading with HID protocol 
programmer.hid.script.1.linux_arm=${pic32prog.linux_arm}::${programmer.hid.flags}
programmer.hid.script.1.linux_i386=${pic32prog.linux_i386}::${programmer.hid.flags}
programmer.hid.script.1.linux_amd64=${pic32prog.linux_amd64}::${programmer.hid.flags}
programmer.hid.script.1.windows=${pic32prog.windows}::${programmer.hid.flags}
programmer.hid.script.1.macosx=${pic32prog.macosx}::${programmer.hid.flags}
programmer.hid.script.2=__builtin_bullet::Finished.

Special Directives

goto

  • goto::lineno

Jump to a new line number in the script.

set

  • set::key=value

Set an internal variable value in the current context.

fail

  • fail

Abort the script with a failure

end

  • end

Terminate the script successfully.

Support Us

Running this server costs money. This server not only hosts this website, but is also the main build platform for creating the download files for UECIDE. Just a couple of pounds (or Dollars, Yen, Mongolian tögrög... we're not fussy) can help to offset the costs.

Alternatively, if you want to be more personal, you could buy me something on Amazon. I have a small wish-list of low-cost items that I'd quite like to receive. Make it a surprise.


Latest WiKi Edits