SNEK-LILYPAD-BIG-INSTALL(1)

πŸ“¦ version 1.9, in debian bookworm, ubuntu noble

πŸ’– SNEK-LILYPAD-BIG-INSTALL(1) πŸ’–

okay bestie so this is a page from the General Commands Manual, and honestly? it's giving "make my tiny snake friend smarter" energy. let's get into it 🐍✨


✨ NAME ✨

snek-lilypad-big-big-install β€” installs the larger version of Snek onto an Arduino ATmega328 board πŸ¦‹


🌸 SYNOPSIS 🌸

snek-lilypad-big-install [OPTION]... [COMMAND]

πŸ’… DESCRIPTION πŸ’…

so snek-lilypad-big-install puts the larger version of the Snek programming language onto an Arduino board that's rockin' an ATmega328 β€” and yes, it overwrites the boot loader. rip to the boot loader, fr fr πŸ’€

this bigger version of Snek comes with support for a few extra functions, namely input, float and int. iconic, we love extra features πŸ‘‘

but like… the trade-off? it does not leave room for the Optiboot loader. so you can't just plug it in and vibe β€” you must flash it using a separate programmer dongle. no cap. 🫢


πŸŽ€ OPTIONS πŸŽ€

  • -isp <ISP model> β€” tells it which programmer you're using. the common ones are usbtiny and avrisp2. the default? usbtiny πŸ’–
  • -hex <snek.hex> β€” picks the hex file that gets loaded onto the board. if you don't say anything, it defaults to whatever version of Snek is currently installed 🌸
  • -mcu <MCU name> β€” says which micro controller it should expect to find on the board. some boards have m328, others have m328p. the default is m328p, but if you get an error message about a mismatch, you can just try the other one. iykyk 😭

🌈 COMMANDS 🌈

  • fuseload β€” sets the target fuse bits for Snek usage, then loads Snek onto the device. this one is the default command ⭐
  • load β€” loads Snek onto the device without setting the fuse bits first. lowkey important: Snek will not work correctly if the fuse bits aren't set right, so only do this if the target already had its fuse bits set correctly. you've been warned bestie πŸ™ˆ
  • fuse β€” sets the target fuse bits so they're suitable for Snek usage. you must do this before Snek will work on the target device, though you can do it before or after loading the Snek system. and here's the cute part: you only need to do this once per board πŸŽ€
ngl if you're not sure which one to pick, just let fuseload do its thing β€” it's the default for a reason πŸ’…

πŸ‘‘ AUTHOR πŸ‘‘

Keith Packard β€” king behavior, honestly 🫢


k that's the whole page bestie, go forth and flash responsibly 🧚 this little guide is snek-lilypad-big-install, part of SNEK-LILYPAD-BIG-INSTALL(1), from the General Commands Manual β€” slay, periodt πŸ’–βœ¨

πŸ“¦ where this page comes from