Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
bootloader [2020/09/29 10:00] yairbootloader [2020/09/29 10:02] yair
Line 2: Line 2:
 ===to compile a tiny bootloader=== ===to compile a tiny bootloader===
  
-**TLDR**+===TLDR===
 on ubuntu (or wsl) on ubuntu (or wsl)
 <code bash> <code bash>
Line 30: Line 30:
 </code> </code>
  
 +=== why===
 was asked to compile the [[https://github.com/idiot-io/TinyAudioBoot|TinyAudioBoot]] bootloader.  was asked to compile the [[https://github.com/idiot-io/TinyAudioBoot|TinyAudioBoot]] bootloader. 
  
Line 45: Line 45:
   * [[https://github.com/SpenceKonde/ATTinyCore|ATTinyCore]]   * [[https://github.com/SpenceKonde/ATTinyCore|ATTinyCore]]
  
-===os support===+**os support** 
 for the following i used ubuntu on windows. \\ for the following i used ubuntu on windows. \\
 so get into ubuntu, TLDR: use [[https://code.visualstudio.com/|vscode]] and click the bottom left green button. so get into ubuntu, TLDR: use [[https://code.visualstudio.com/|vscode]] and click the bottom left green button.
Line 69: Line 70:
   ./install.sh   ./install.sh
 from the arduino directory to get the icons on desktop, we are not interested.  from the arduino directory to get the icons on desktop, we are not interested. 
 +
 +
 ===get the project=== ===get the project===
 we will clone the git for tinyaudio and get the two other submodules.  we will clone the git for tinyaudio and get the two other submodules. 
Line 85: Line 88:
 the output has this flags, broken into lines. because its an automated build system it spits out a few double and empty flags.\\ the output has this flags, broken into lines. because its an automated build system it spits out a few double and empty flags.\\
 note the first Capital Letter after a ''-'' is part of the avr flag system. and not part of the variable.   note the first Capital Letter after a ''-'' is part of the avr flag system. and not part of the variable.  
 +<hidden output/>
 <code bash> <code bash>
 /usr//bin/avr-g++  /usr//bin/avr-g++ 
Line 127: Line 131:
  
 </code> </code>
 +</hidden>
  
- 
-current arduino bootloader  
-<code bash> 
-C:\Users\Admin\AppData\Local\Arduino15\packages\8BitMixtape\hardware\avr\0.0.28/tools/avrdude/windows/avrdude -cstk500v1 -B4 -PCOM8 -b19200 -b19200 -pattiny85 -CC:\Users\Admin\AppData\Local\Arduino15\packages\8BitMixtape\hardware\avr\0.0.28/tools/avrdude/windows/avrdude.conf -Uflash:w:C:\Users\Admin\AppData\Local\Arduino15\packages\8BitMixtape\hardware\avr\0.0.28/bootloaders/tinyaudioboot/AudioBootAttiny85_AudioPB3_LEDPB1.hex: 
-  </code>