From 8e02ace29f3d0dca80c54a39327a3ee9e3cc443b Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Mon, 15 Apr 2019 09:12:34 +0200 Subject: [PATCH] AVR files removed --- radio/src/fonts/std/font_05x07_avr.png | Bin 777 -> 0 bytes radio/util/checksize.py | 61 ------------------------- 2 files changed, 61 deletions(-) delete mode 100644 radio/src/fonts/std/font_05x07_avr.png delete mode 100755 radio/util/checksize.py diff --git a/radio/src/fonts/std/font_05x07_avr.png b/radio/src/fonts/std/font_05x07_avr.png deleted file mode 100644 index 9ba3b3aa660c93bb43cbeee88dcbeb34035e6642..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 777 zcmeAS@N?(olHy`uVBq!ia0vp^0YGfP2qYNR%{veUq*&4&eH|GXHuiJ>Nn{1`6_P!I zd>I(3)EF2VS{N990fib~Fff!FFfhDIU|_JC!N4G1FlSew4N!t9$=lt9fnimzvJsHS zS>O>_%)r1c48n{Iv*t(u1=&kHeO=ifGVw7eD^?0CzGh%x{Nw537@~1L+2X*@ot!px~=uhNM^#!3Ez)Jbe>H#JM1Xgz1!~CB5AE< z#xfJu-q@j*@q1cVoxhq8Mov-yolJC^N|Noas6)CzoN0U_y=fk^tIrigMLFNz z|C=XR;>(^x%gz<7-+T5$?fc)as_&=E{O1=b70VIOF{sF^oTylNZu8#vU1hQ2HtZ>N z+iT;uWbZy^*~aN}Khk7I+0^V`hBa(mOrkm4-!L0FW~Ik&w>kb{XXJ*D&W*R27jWMH z&wTLx-~X@w8-K9ij+m#N_aOh@@c^6WZ_gDUt-fS_opEM;`Ml`8+R`VUorh_G{VoRhz1Rwtbh#dUi@qU)TD;{R0O+$n*T$d;f3$!9V~0 zSN&ck%ikE*a{qsP`NFF6!3xHz5trW1J>Ir>Q5(-w+xt47ddhTIt@gS+v%cKENOt9{ z=M7@^+kc0fBx_#St9nK#Po6u3kKt}KU)lS6&mDvtOgcUvkUH42F73fg9gdQ!$IWlv z@*K6<-{^P$ZNP;?2bA^qe!e5SnbqOqub=CC!`88 zSNyVPu&?)FK#IZ0z|dURz)087B*ehL%GlJ(*jU@Z m(8|ETVY2xX6b-rgDVb@NxHTA_>yH3xVDNPHb6Mw<&;$U9m`+{* diff --git a/radio/util/checksize.py b/radio/util/checksize.py deleted file mode 100755 index 6ca91755f..000000000 --- a/radio/util/checksize.py +++ /dev/null @@ -1,61 +0,0 @@ -#!/usr/bin/env python - -# The commands used to compare 2.2 flash usage -# on 2.1 release: make PCB=9X EXT=FRSKY VOICE=YES AUDIO=YES AUTOSOURCE=YES AUTOSWITCH=YES HELI=YES TEMPLATES=YES GAUGES=NO -# => 64818 (program) + 3236 (data) -# on 2.2 release: cmake -DPCB=9X -DTELEMETRY=FRSKY -DAUDIO=YES -DVOICE=YES -DHELI=YES -DTEMPLATES=YES ~/git/opentx -# => 64828 (program) + 3236 (data) - -from __future__ import print_function -import os -import sys -import subprocess - -index = -1 -size = None - -options = sys.argv[1:] -srcdir = os.path.dirname(os.path.realpath(__file__)) + "/../.." -buildir = os.getcwd() - -while 1: - sys.stdout.flush() - index += 1 - - os.chdir(srcdir) - cmd = ["git", "reset", "--hard", "FETCH_HEAD~%d" % index] - proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) - output, error = proc.communicate() - if proc.returncode != 0: - print("HEAD~%d git reset failed" % index) - continue - - os.chdir(buildir) - cmd = ["cmake"] + options + [srcdir] - proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) - output, error = proc.communicate() - if proc.returncode != 0: - print("HEAD~%d cmake failed" % index) - continue - - cmd = ["make", "-j4", "firmware"] - proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) - output, error = proc.communicate() - if proc.returncode != 0: - print("HEAD~%d make firmware failed" % index) - continue - - if os.path.isfile("firmware.bin"): - oldsize = os.stat("firmware.bin").st_size - else: - oldsize = int(subprocess.check_output('avr-size -A firmware.hex | grep Total | cut -f2- -d " "', shell=True)) - if size: - if size > oldsize: - print("HEAD~%d %d: increase by %d bytes" % (index-1, size, size-oldsize)) - elif size < oldsize: - print("HEAD~%d %d: decrease by %d bytes" % (index-1, size, oldsize-size)) - else: - print("HEAD~%d %d" % (index-1, size)) - size = oldsize - -