From 13861113e9ec369596446a84c47673dfef5eb8db Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 17 Jul 2020 02:02:22 -0400 Subject: [PATCH] okcomp --- .../code/mplab/blink_LED.hex | 7 + .../code/mplab/test1.X/Makefile | 113 +++++ .../build/default/production/newmain.o | Bin 0 -> 3108 bytes .../build/default/production/newmain.o.d | 52 +++ .../dist/default/production/memoryfile.xml | 17 + .../default/production/test1.X.production.elf | Bin 0 -> 6092 bytes .../default/production/test1.X.production.hex | 7 + .../default/production/test1.X.production.map | 395 +++++++++++++++++ .../test1.X/nbproject/Makefile-default.mk | 158 +++++++ .../nbproject/Makefile-genesis.properties | 10 + .../mplab/test1.X/nbproject/Makefile-impl.mk | 69 +++ .../nbproject/Makefile-local-default.mk | 36 ++ .../test1.X/nbproject/Makefile-variables.mk | 13 + .../test1.X/nbproject/Package-default.bash | 73 ++++ .../test1.X/nbproject/configurations.xml | 160 +++++++ .../nbproject/private/configurations.xml | 25 ++ .../test1.X/nbproject/private/private.xml | 9 + .../code/mplab/test1.X/nbproject/project.xml | 27 ++ .../code/mplab/test1.X/newmain.c | 24 ++ .../code/mplab/test2.X/Makefile | 113 +++++ .../build/default/production/newmain.o | Bin 0 -> 2688 bytes .../build/default/production/newmain.o.d | 52 +++ .../dist/default/production/memoryfile.xml | 17 + .../default/production/test1.X.production.elf | Bin 0 -> 6112 bytes .../default/production/test1.X.production.hex | 8 + .../default/production/test1.X.production.map | 395 +++++++++++++++++ .../default/production/test2.X.production.elf | Bin 0 -> 5736 bytes .../default/production/test2.X.production.hex | 6 + .../default/production/test2.X.production.map | 395 +++++++++++++++++ .../test2.X/nbproject/Makefile-default.mk | 158 +++++++ .../nbproject/Makefile-genesis.properties | 10 + .../mplab/test2.X/nbproject/Makefile-impl.mk | 69 +++ .../nbproject/Makefile-local-default.mk | 36 ++ .../test2.X/nbproject/Makefile-variables.mk | 13 + .../test2.X/nbproject/Package-default.bash | 73 ++++ .../test2.X/nbproject/configurations.xml | 160 +++++++ .../nbproject/private/configurations.xml | 25 ++ .../test2.X/nbproject/private/private.xml | 9 + .../code/mplab/test2.X/nbproject/project.xml | 28 ++ .../code/mplab/test2.X/newmain.c | 31 ++ .../code/mplab/tests7_timer_6000hz.X/Makefile | 113 +++++ .../build/default/production/main.o | Bin 0 -> 2808 bytes .../build/default/production/main.o.d | 55 +++ .../dist/default/production/memoryfile.xml | 17 + .../tests7_timer_6000hz.X.production.elf | Bin 0 -> 5828 bytes .../tests7_timer_6000hz.X.production.hex | 9 + .../tests7_timer_6000hz.X.production.map | 395 +++++++++++++++++ .../code/mplab/tests7_timer_6000hz.X/main.c | 150 +++++++ .../nbproject/Makefile-default.mk | 158 +++++++ .../nbproject/Makefile-genesis.properties | 10 + .../nbproject/Makefile-impl.mk | 69 +++ .../nbproject/Makefile-local-default.mk | 36 ++ .../nbproject/Makefile-variables.mk | 13 + .../nbproject/Package-default.bash | 73 ++++ .../nbproject/configurations.xml | 160 +++++++ .../nbproject/private/configurations.xml | 25 ++ .../nbproject/private/private.xml | 9 + .../nbproject/project.xml | 35 ++ .../code/mplab/tests8_timer_6000hz.X/Makefile | 113 +++++ .../build/default/production/main.o | Bin 0 -> 4028 bytes .../build/default/production/main.o.d | 55 +++ .../dist/default/production/memoryfile.xml | 17 + .../tests8_timer_6000hz.X.production.elf | Bin 0 -> 6532 bytes .../tests8_timer_6000hz.X.production.hex | 9 + .../tests8_timer_6000hz.X.production.map | 396 ++++++++++++++++++ .../code/mplab/tests8_timer_6000hz.X/main.c | 302 +++++++++++++ .../nbproject/Makefile-default.mk | 158 +++++++ .../nbproject/Makefile-genesis.properties | 10 + .../nbproject/Makefile-impl.mk | 69 +++ .../nbproject/Makefile-local-default.mk | 36 ++ .../nbproject/Makefile-variables.mk | 13 + .../nbproject/Package-default.bash | 73 ++++ .../nbproject/configurations.xml | 160 +++++++ .../nbproject/private/configurations.xml | 25 ++ .../nbproject/private/private.xml | 9 + .../nbproject/project.xml | 36 ++ 76 files changed, 5601 insertions(+) create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/blink_LED.hex create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/Makefile create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/build/default/production/newmain.o create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/build/default/production/newmain.o.d create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/dist/default/production/memoryfile.xml create mode 100755 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/dist/default/production/test1.X.production.elf create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/dist/default/production/test1.X.production.hex create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/dist/default/production/test1.X.production.map create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-default.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-genesis.properties create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-impl.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-local-default.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-variables.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Package-default.bash create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/configurations.xml create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/private/configurations.xml create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/private/private.xml create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/project.xml create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test1.X/newmain.c create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/Makefile create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/build/default/production/newmain.o create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/build/default/production/newmain.o.d create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/memoryfile.xml create mode 100755 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test1.X.production.elf create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test1.X.production.hex create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test1.X.production.map create mode 100755 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test2.X.production.elf create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test2.X.production.hex create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test2.X.production.map create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/Makefile-default.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/Makefile-genesis.properties create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/Makefile-impl.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/Makefile-local-default.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/Makefile-variables.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/Package-default.bash create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/configurations.xml create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/private/configurations.xml create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/private/private.xml create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/project.xml create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/test2.X/newmain.c create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/Makefile create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/build/default/production/main.o create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/build/default/production/main.o.d create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/dist/default/production/memoryfile.xml create mode 100755 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/dist/default/production/tests7_timer_6000hz.X.production.elf create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/dist/default/production/tests7_timer_6000hz.X.production.hex create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/dist/default/production/tests7_timer_6000hz.X.production.map create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/main.c create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-default.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-genesis.properties create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-impl.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-local-default.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-variables.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Package-default.bash create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/configurations.xml create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/private/configurations.xml create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/private/private.xml create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/project.xml create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/Makefile create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/build/default/production/main.o create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/build/default/production/main.o.d create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/dist/default/production/memoryfile.xml create mode 100755 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/dist/default/production/tests8_timer_6000hz.X.production.elf create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/dist/default/production/tests8_timer_6000hz.X.production.hex create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/dist/default/production/tests8_timer_6000hz.X.production.map create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/main.c create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-default.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-genesis.properties create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-impl.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-local-default.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-variables.mk create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Package-default.bash create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/configurations.xml create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/private/configurations.xml create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/private/private.xml create mode 100644 Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/project.xml diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/blink_LED.hex b/Attiny_Solar_Energy_Harvest/code/mplab/blink_LED.hex new file mode 100644 index 0000000..adcbbeb --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/blink_LED.hex @@ -0,0 +1,7 @@ +:100000000AC020C01FC01EC01DC01CC01BC01AC01B +:1000100019C018C017C011271FBFCFE5D0E0DEBF41 +:0A002000CDBF03D000C0F894FFCF5D +:10002A0044E041B940B95FE966E871E05150604087 +:0A003A007040E1F700C00000F5CFB0 +:02004400DDCF0E +:00000001FF diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/Makefile b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/Makefile new file mode 100644 index 0000000..fca8e2c --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/Makefile @@ -0,0 +1,113 @@ +# +# There exist several targets which are by default empty and which can be +# used for execution of your targets. These targets are usually executed +# before and after some main targets. They are: +# +# .build-pre: called before 'build' target +# .build-post: called after 'build' target +# .clean-pre: called before 'clean' target +# .clean-post: called after 'clean' target +# .clobber-pre: called before 'clobber' target +# .clobber-post: called after 'clobber' target +# .all-pre: called before 'all' target +# .all-post: called after 'all' target +# .help-pre: called before 'help' target +# .help-post: called after 'help' target +# +# Targets beginning with '.' are not intended to be called on their own. +# +# Main targets can be executed directly, and they are: +# +# build build a specific configuration +# clean remove built files from a configuration +# clobber remove all built files +# all build all configurations +# help print help mesage +# +# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and +# .help-impl are implemented in nbproject/makefile-impl.mk. +# +# Available make variables: +# +# CND_BASEDIR base directory for relative paths +# CND_DISTDIR default top distribution directory (build artifacts) +# CND_BUILDDIR default top build directory (object files, ...) +# CONF name of current configuration +# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) +# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) +# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) +# CND_PACKAGE_DIR_${CONF} directory of package (current configuration) +# CND_PACKAGE_NAME_${CONF} name of package (current configuration) +# CND_PACKAGE_PATH_${CONF} path to package (current configuration) +# +# NOCDDL + + +# Environment +MKDIR=mkdir +CP=cp +CCADMIN=CCadmin +RANLIB=ranlib + + +# build +build: .build-post + +.build-pre: +# Add your pre 'build' code here... + +.build-post: .build-impl +# Add your post 'build' code here... + + +# clean +clean: .clean-post + +.clean-pre: +# Add your pre 'clean' code here... +# WARNING: the IDE does not call this target since it takes a long time to +# simply run make. Instead, the IDE removes the configuration directories +# under build and dist directly without calling make. +# This target is left here so people can do a clean when running a clean +# outside the IDE. + +.clean-post: .clean-impl +# Add your post 'clean' code here... + + +# clobber +clobber: .clobber-post + +.clobber-pre: +# Add your pre 'clobber' code here... + +.clobber-post: .clobber-impl +# Add your post 'clobber' code here... + + +# all +all: .all-post + +.all-pre: +# Add your pre 'all' code here... + +.all-post: .all-impl +# Add your post 'all' code here... + + +# help +help: .help-post + +.help-pre: +# Add your pre 'help' code here... + +.help-post: .help-impl +# Add your post 'help' code here... + + + +# include project implementation makefile +include nbproject/Makefile-impl.mk + +# include project make variables +include nbproject/Makefile-variables.mk diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/build/default/production/newmain.o b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/build/default/production/newmain.o new file mode 100644 index 0000000000000000000000000000000000000000..245021d38194af8ba6a5f11008945ea856b0a209 GIT binary patch literal 3108 zcma)8O^g&p6n@n`vpc&pi|nqhMj(!66-?}&9d;oEU6^%&g#>Wr$6z#RdU|?xI!t$u z-8~B!BZLbFj~*n^U^E6z#BlL~iG~=Do{SgcL1IkQnp*q60u-*RoMIb%wvzSEz#S0h$bjg{7EJ8B!VRpSMu)^7I$C-K6-h+R3y zkjd~lUIveosP81u#+@)q3^(ZeY}*fFZzXVBhSRa5Jm2(^w&!+RF;xQhv~PQX>Chni zJ#Ks|341jsY`HbJi{MchcurhXhhh1>uHCc}H%@B&shcO{N#{SB7)qm8IXdZmFGzM+ z3F&WMMo~3UQrV??O)J8HG;MfIF8M;S8wM*?#?r;?R`zk>XZBGTmb!m0D5VS5R%xZw z>Tc75)pEP`S<8<}yCU=pXqcjva*T&8EAe}zeWDl-)wEg;X;;5P^kHFH&A!(~|AGEL?3E(p>3Q>2%6mY*#jn1n}Dq|D|@ zwJabg7IWI6xg0ZW((cN@n5blmf#AU8MNt_S6QVKt&hr(bkximL$^41(%gA`NNcG8$ zql7Gw-vl;Vnad<&5+Fy~h>>m@8_noZ1@19_1(`-~@mKu4Zj|su@Ck}q*h^~u+T}Xq z?5M47#igpD8gh7n)9s^!`-#`3`?V$-+z3RG9b$I4W^vL&7Xr)Vi}I_F30)iEl4=E^ z7e@*t3Yx@M#E3>>4>$%!rim*9$Cl2u#204?wK{Wo3mDZ`}U{P z2MS?nJ;ogn9G{!6RJD)zELoA!y$*~|MNxrn-BFlleb9AMtY;-qHaaZ0<#s6n)+2YC z&+(gpcjx%0fS=3pCNSrn(yco?0mc=3S3ZN{vx!dV*&LeYII?$1g2lyUIpcM(B6mgN*WD=0 z7Jz?k7Ss4&pQxVQF|z!$hPL(@V{1~(RQqKNE;K#Cju4b5RuV z(rN9h?(XA|Fi!t-`ER?;u;Cl?e|GiEUp}s?HB>Sd&(C0R9UB---(tZuX6_G`^Waup zz)-mY(qW9B&}WL2j^Bm6zdzuw3mN<4T$H~li(F*)vvItGRR2j zUICwv`zn4dry=9G{358h39woNNW)MJ-mZZz%+@s62y`C)xTo14UjyauB5>Z{!%%z; znIfgT00FOQWQt4h$7jX<`1&hDW$T7O{>8-&M5+kSfLW zTo^Mc_aA4t!9vjY$Zr}m=f`h3+i@Q-R=o#Ef5ML607WVm&$;%X8N^+N@FB?AC;Q`b R=i21`okx=#giMk0_YVc=zSIB! literal 0 HcmV?d00001 diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/build/default/production/newmain.o.d b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/build/default/production/newmain.o.d new file mode 100644 index 0000000..e8666c3 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/build/default/production/newmain.o.d @@ -0,0 +1,52 @@ +build/default/production/newmain.o.d build/default/production/newmain.o: \ + newmain.c /opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/xc.h \ + /opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/cci.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/io.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/sfr_defs.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/inttypes.h \ + /opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/stdint.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/stdint.h \ + /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/include/avr/iotn10.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/portpins.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/common.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/version.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/xmega.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/fuse.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/lock.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/util/delay.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/util/delay_basic.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/math.h + +/opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/xc.h: + +/opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/cci.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/io.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/sfr_defs.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/inttypes.h: + +/opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/stdint.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/stdint.h: + +/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/include/avr/iotn10.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/portpins.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/common.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/version.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/xmega.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/fuse.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/lock.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/util/delay.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/util/delay_basic.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/math.h: diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/dist/default/production/memoryfile.xml b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/dist/default/production/memoryfile.xml new file mode 100644 index 0000000..ad2de4b --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/dist/default/production/memoryfile.xml @@ -0,0 +1,17 @@ + + + + + bytes + 1024 + 70 + 954 + + + bytes + 32 + 0 + 32 + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/dist/default/production/test1.X.production.elf b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/dist/default/production/test1.X.production.elf new file mode 100755 index 0000000000000000000000000000000000000000..0e000851d4776be03d6d119fd11eeb748fa4611a GIT binary patch literal 6092 zcmbW5YiuJ|701ua*ohM-X&(E2blq)sH~a87-ekAiZMPf8PSUV>)p3^X2Q+o;Nitf$ zu*cgjkG51u6%-+)A{9Y}R0&pmC?Fvr(GO6I#|I>;t&oaTp`tA+66I4P0Ywxk{Lh`a z_T8Zph%3+BbAIRCd+xn+@7z0nW@cel(=?Jvr&W^LB;e?7q9XE1ih+;O5Df@>P8L8u z>tA8yI=ty#HhwN%*3 zI~8lfJa0}|$@Aw=#?G0O<~SV^!NUeo2oljLTnB{Y-85LZaj?t&k$w+UEn@6Nrgw*8 z$cT2~(!$0;dX~b+Rk9zX>$FM^gLI!&$sv%)gDTkz(sNlQM?iWrDq)}KCsgtH=LAjr^lm0ScFuBqf4$cU?wNswKiRmnpj zyPs3ZS&%(nQpp6!-mj^o4`kmRB{I7*n5KbPjC$6_+M0V z9OT3YDj5YC`@2exf}H$F5PxQ#205jRN$itTAg3cLNr0RgP)QPmevcJk(A&6&G_0ps zI+^sAPb^-p#5YR$#@3}I%hh<}x>Jj*BiyWn}<}iZ#V_}Qr>l)%FX0BNTFJ3 zxN$beol3k`uWpv@GI%XtxE?P$^-GDZYS~VpV8SdHwrUm|8i_@xP_GuYoLVB4`LOSIc|zd%Z28p{Ea#rV)4!5lll5ad?FTKM$gbea3EFcdNBT zp<1*Pb_v1j)rwPSB;;UN*G97xx@+g#|OaH(3^jIk`Lm^jOIJoiVgBh)QycNd6w1=^+bi0Ad6 zt|6;vm-08Qa)b0+n(-W_O4#x=mb)y=E!Rl@o>Uw>O{-WS{ng(hdbeg->rJPGCuiXS z`gIj<7D_hi`@U#js90^Tmu!k?JjSH;Yd-|n_8PVl#GFB^pPm0dq)gSf?kY16rCTr+^6@VXF<>v z1l>Up34)#==naBs5cCB>e-I1=!977R7z9H>FdPIUL9ipFa54x^1;ObcI1>b7Vn;@z zM&w{*t!qfjYW^hWDQ-kC$@h>E@n$xbim7?ZiN07=8^JUWD^{N3ZP#v-F86hui6W-f z0rMlzYkfo7ur}5E(sUnD&tWY&!uqx7<5*d}VM>l1!ZM0RvG9hmh%vD}f(Z=)3z6Q! zrPCR{Yab2t63&`%B+WDv?O&npCW$sVGyT(N7^@oHx~LhU9-TBp`+x2zgLo9y`MqNN zM&n96u!q6B+THc`C^2-F+wMo%{l~iR?%|(->GT5M@9J2hT5}WS_V)Hv;X>lZS!`FQl<0r;ChF`-2r1st<`$pC8*UN%0Aw*@VV&QjM!#n0J?Ja81I-Bc zgh&hNLcS#ivIpk|49p;0caY%r%xGUs{|-MwFiuS8)e zE7>evU0CE|+11?aLY9`U3XQYH46Q6@bL_S@gAkeQG_A}p;RZTQGxKT0pP64=y@LBJ zywV_i7c%2qI-MO)dD*m=rI9V=#%Wnt_&!Z2HcmONh_hKJb6k=>naOd>cyM@5DGB=% zoyNtJ8{aIR1#k*d%+tgji&glLJT@q{j}r~g8}&RZ%!c=z+pY%Ab80epr&N+b{8iRT z2Jx!wB!j%IQxb!?g`H#&=8=*N!h%Q2_{<=@36x~`Gl++XlR^D{4?I0Y+dEu>SD=?P z8kQn*w)4CjYcq{bwq?&g0sWCS+unH?@+C!|f$V*8G2Gta?L8`#I6H=*-*@H`mC{CO)-{tomhdRElH z@jiquQw+L}&Z+VG1NuJbGI9B1(AD@80sS&`%P+w7&q43R*NMN*RGp8cYWxl8$J^yK zdK`Ku-u8~I*oQG**8}CBgf6?t?foirIe@GafB#rc#c|2RW`NAHpK@HYN|x2YH;cue zW%Ybn*+VRAb;Wwrvfu$>!4vRi76RVXBF9PJs@t1F{)}C(wiOYtRLvJreZG!x)(w0Q zRqIxgEYSeVt`tEtsa(oJt@F!E*22uvT+WM_o4J;gcsV;iH^1bCLlbM&l2fr8vR>P@ zpW^D*5ehqwU9UH5talpV1@gn6hsjlHxyv}g<c{m(eZK9HC9`p}?B>^zyLB($l9G7JrigA9s^zkc4_mWn zU(Z)I@$u-ZPGzGi<^1}3-M%3;o;On7z#M2R2qL+xOTs*wVEvNf%@p|UJzWBZIO@>O6YyAWm%ly^L ziTx5n@@{OCc3Flk{O?ta1wTm}?}<`o)BCvIQ;rAHb|v8V2969bD#r}z_jthXiCz-# zdSH>HpAAjQZ1@)r0HeagyM=tYj$HMN;V`;e0aE;Y!0%kYx}SIIc)|DM6Hf-$H*m>k z0I@B<2w6P^J&O7|=Y{sGmR^M)w}I>9=lV1*-lJrab@N$587^{g+#tnc3*$+LR^ literal 0 HcmV?d00001 diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/dist/default/production/test1.X.production.hex b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/dist/default/production/test1.X.production.hex new file mode 100644 index 0000000..adcbbeb --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/dist/default/production/test1.X.production.hex @@ -0,0 +1,7 @@ +:100000000AC020C01FC01EC01DC01CC01BC01AC01B +:1000100019C018C017C011271FBFCFE5D0E0DEBF41 +:0A002000CDBF03D000C0F894FFCF5D +:10002A0044E041B940B95FE966E871E05150604087 +:0A003A007040E1F700C00000F5CFB0 +:02004400DDCF0E +:00000001FF diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/dist/default/production/test1.X.production.map b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/dist/default/production/test1.X.production.map new file mode 100644 index 0000000..33a7ba0 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/dist/default/production/test1.X.production.map @@ -0,0 +1,395 @@ +Archive member included to satisfy reference by file (symbol) + +/opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o (exit) + +Discarded input sections + + .data 0x00000000 0x0 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + .bss 0x00000000 0x0 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + .text 0x00000000 0x0 build/default/production/newmain.o + .data 0x00000000 0x0 build/default/production/newmain.o + .bss 0x00000000 0x0 build/default/production/newmain.o + .text 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .data 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .bss 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .text.libgcc.mul + 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .text.libgcc.div + 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .text.libgcc.prologue + 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .text.libgcc 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .text.libgcc.builtins + 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .text.libgcc.fmul + 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .text.libgcc.fixed + 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + +Memory Configuration + +Name Origin Length Attributes +text 0x00000000 0x00000400 xr +data 0x00800040 0x00000020 rw !x +config 0x00820000 0x00000001 rw !x +lock 0x00830000 0x00000002 rw !x +signature 0x00840000 0x00000004 rw !x +*default* 0x00000000 0xffffffff + +Linker script and memory map + + 0x00004000 __RODATA_PM_OFFSET__ = 0x4000 +LOAD /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + 0x00000001 __MPLAB_BUILD = 0x1 +LOAD build/default/production/newmain.o +START GROUP +LOAD /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/lib/avrtiny/libm.a +END GROUP +START GROUP +LOAD /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a +LOAD /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/lib/avrtiny/libm.a +LOAD /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/lib/avrtiny/libc.a +LOAD /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/libattiny10.a +END GROUP + 0x00000000 __TEXT_REGION_ORIGIN__ = DEFINED (__TEXT_REGION_ORIGIN__)?__TEXT_REGION_ORIGIN__:0x0 + [0x00800040] __DATA_REGION_ORIGIN__ = DEFINED (__DATA_REGION_ORIGIN__)?__DATA_REGION_ORIGIN__:0x800040 + [0x00000400] __TEXT_REGION_LENGTH__ = DEFINED (__TEXT_REGION_LENGTH__)?__TEXT_REGION_LENGTH__:0x1000 + [0x00000020] __DATA_REGION_LENGTH__ = DEFINED (__DATA_REGION_LENGTH__)?__DATA_REGION_LENGTH__:0x100 + [0x00000001] __FUSE_REGION_LENGTH__ = DEFINED (__FUSE_REGION_LENGTH__)?__FUSE_REGION_LENGTH__:0x2 + 0x00000002 __LOCK_REGION_LENGTH__ = DEFINED (__LOCK_REGION_LENGTH__)?__LOCK_REGION_LENGTH__:0x2 + 0x00000004 __SIGNATURE_REGION_LENGTH__ = DEFINED (__SIGNATURE_REGION_LENGTH__)?__SIGNATURE_REGION_LENGTH__:0x4 + 0x00004000 __RODATA_PM_OFFSET__ = DEFINED (__RODATA_PM_OFFSET__)?__RODATA_PM_OFFSET__:0x4000 + +.hash + *(.hash) + +.dynsym + *(.dynsym) + +.dynstr + *(.dynstr) + +.gnu.version + *(.gnu.version) + +.gnu.version_d + *(.gnu.version_d) + +.gnu.version_r + *(.gnu.version_r) + +.rel.init + *(.rel.init) + +.rela.init + *(.rela.init) + +.rel.text + *(.rel.text) + *(.rel.text.*) + *(.rel.gnu.linkonce.t*) + +.rela.text + *(.rela.text) + *(.rela.text.*) + *(.rela.gnu.linkonce.t*) + +.rel.fini + *(.rel.fini) + +.rela.fini + *(.rela.fini) + +.rel.rodata + *(.rel.rodata) + *(.rel.rodata.*) + *(.rel.gnu.linkonce.r*) + +.rela.rodata + *(.rela.rodata) + *(.rela.rodata.*) + *(.rela.gnu.linkonce.r*) + +.rel.data + *(.rel.data) + *(.rel.data.*) + *(.rel.gnu.linkonce.d*) + +.rela.data + *(.rela.data) + *(.rela.data.*) + *(.rela.gnu.linkonce.d*) + +.rel.ctors + *(.rel.ctors) + +.rela.ctors + *(.rela.ctors) + +.rel.dtors + *(.rel.dtors) + +.rela.dtors + *(.rela.dtors) + +.rel.got + *(.rel.got) + +.rela.got + *(.rela.got) + +.rel.bss + *(.rel.bss) + +.rela.bss + *(.rela.bss) + +.rel.plt + *(.rel.plt) + +.rela.plt + *(.rela.plt) + +.text 0x00000000 0x2a + *(.vectors) + .vectors 0x00000000 0x16 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + 0x00000000 __vectors + 0x00000000 __vector_default + *(.vectors) + *(.progmem.gcc*) + *(.dinit) + .dinit 0x00000016 0x0 data_init + 0x00000016 . = ALIGN (0x2) + 0x00000016 __trampolines_start = . + *(.trampolines) + .trampolines 0x00000016 0x0 linker stubs + *(.trampolines*) + 0x00000016 __trampolines_end = . + *libprintf_flt.a:*(.progmem.data) + *libc.a:*(.progmem.data) + 0x00000016 . = ALIGN (0x2) + *(.jumptables) + *(.jumptables*) + *(.lowtext) + *(.lowtext*) + 0x00000016 __ctors_start = . + *(.ctors) + 0x00000016 __ctors_end = . + 0x00000016 __dtors_start = . + *(.dtors) + 0x00000016 __dtors_end = . + SORT(*)(.ctors) + SORT(*)(.dtors) + *(.init0) + .init0 0x00000016 0x0 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + 0x00000016 __init + *(.init0) + *(.init1) + *(.init1) + *(.init2) + .init2 0x00000016 0xc /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + *(.init2) + *(.init3) + *(.init3) + *(.init4) + *(.init4) + *(.init5) + *(.init5) + *(.init6) + *(.init6) + *(.init7) + *(.init7) + *(.init8) + *(.init8) + *(.init9) + .init9 0x00000022 0x4 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + *(.init9) + 0x00000026 . = ALIGN (0x2) + *(.fini9) + .fini9 0x00000026 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + 0x00000026 exit + 0x00000026 _exit + *(.fini9) + *(.fini8) + *(.fini8) + *(.fini7) + *(.fini7) + *(.fini6) + *(.fini6) + *(.fini5) + *(.fini5) + *(.fini4) + *(.fini4) + *(.fini3) + *(.fini3) + *(.fini2) + *(.fini2) + *(.fini1) + *(.fini1) + *(.fini0) + .fini0 0x00000026 0x4 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + *(.fini0) + 0x0000002a _etext = . + +.rodata + *(.rodata) + *(.rodata*) + *(.gnu.linkonce.r*) + +.data 0x00800040 0x0 load address 0x0000002a + [!provide] PROVIDE (__data_start, .) + *(.gnu.linkonce.d*) + 0x00800040 . = ALIGN (0x2) + 0x00800040 _edata = . + [!provide] PROVIDE (__data_end, .) + +.bss 0x00800040 0x0 + [!provide] PROVIDE (__bss_start, .) + *(COMMON) + [!provide] PROVIDE (__bss_end, .) + 0x0000002a __data_load_start = LOADADDR (.data) + 0x0000002a __data_load_end = (__data_load_start + SIZEOF (.data)) + +.noinit 0x00800040 0x0 + [!provide] PROVIDE (__noinit_start, .) + *(.noinit*) + [!provide] PROVIDE (__noinit_end, .) + 0x00800040 _end = . + +.lock + *(.lock*) + +.signature + *(.signature*) + +.config + *(.fuse) + *(.lfuse) + *(.hfuse) + *(.efuse) + *(.config*) + +.stab + *(.stab) + +.stabstr + *(.stabstr) + +.stab.excl + *(.stab.excl) + +.stab.exclstr + *(.stab.exclstr) + +.stab.index + *(.stab.index) + +.stab.indexstr + *(.stab.indexstr) + +.comment 0x00000000 0x2f + *(.comment) + .comment 0x00000000 0x2f build/default/production/newmain.o + 0x30 (size before relaxing) + +.note.gnu.build-id + *(.note.gnu.build-id) + +.debug + *(.debug) + +.line + *(.line) + +.debug_srcinfo + *(.debug_srcinfo) + +.debug_sfnames + *(.debug_sfnames) + +.debug_aranges 0x00000000 0x20 + *(.debug_aranges) + .debug_aranges + 0x00000000 0x20 build/default/production/newmain.o + +.debug_pubnames + *(.debug_pubnames) + +.debug_info 0x00000000 0x5e4 + *(.debug_info .gnu.linkonce.wi.*) + .debug_info 0x00000000 0x305 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + .debug_info 0x00000305 0x2df build/default/production/newmain.o + +.debug_abbrev 0x00000000 0x393 + *(.debug_abbrev) + .debug_abbrev 0x00000000 0x2d9 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + .debug_abbrev 0x000002d9 0xba build/default/production/newmain.o + +.debug_line 0x00000000 0x19b + *(.debug_line .debug_line.* .debug_line_end) + .debug_line 0x00000000 0xd9 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + .debug_line 0x000000d9 0xc2 build/default/production/newmain.o + +.debug_frame 0x00000000 0x24 + *(.debug_frame) + .debug_frame 0x00000000 0x24 build/default/production/newmain.o + +.debug_str 0x00000000 0x115 + *(.debug_str) + .debug_str 0x00000000 0x115 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + .debug_str 0x00000115 0x0 build/default/production/newmain.o + +.debug_loc + *(.debug_loc) + +.debug_macinfo + *(.debug_macinfo) + +.debug_weaknames + *(.debug_weaknames) + +.debug_funcnames + *(.debug_funcnames) + +.debug_typenames + *(.debug_typenames) + +.debug_varnames + *(.debug_varnames) + +.debug_pubtypes + *(.debug_pubtypes) + +.debug_ranges 0x00000000 0x10 + *(.debug_ranges) + .debug_ranges 0x00000000 0x10 build/default/production/newmain.o + +.debug_macro + *(.debug_macro) +OUTPUT(dist/default/production/test1.X.production.elf elf32-avr) +LOAD linker stubs +LOAD data_init + +.note.gnu.avr.deviceinfo + 0x00000000 0x3c + .note.gnu.avr.deviceinfo + 0x00000000 0x3c /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + +.text.main 0x0000002a 0x1a + .text.main 0x0000002a 0x1a build/default/production/newmain.o + 0x0000002a main + +.text 0x00000044 0x2 + .text 0x00000044 0x2 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + 0x00000044 __vector_1 + 0x00000044 __bad_interrupt + 0x00000044 __vector_6 + 0x00000044 __vector_3 + 0x00000044 __vector_7 + 0x00000044 __vector_5 + 0x00000044 __vector_4 + 0x00000044 __vector_9 + 0x00000044 __vector_2 + 0x00000044 __vector_8 + 0x00000044 __vector_10 diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-default.mk b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-default.mk new file mode 100644 index 0000000..47cc66a --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-default.mk @@ -0,0 +1,158 @@ +# +# Generated Makefile - do not edit! +# +# Edit the Makefile in the project folder instead (../Makefile). Each target +# has a -pre and a -post target defined where you can add customized code. +# +# This makefile implements configuration specific macros and targets. + + +# Include project Makefile +ifeq "${IGNORE_LOCAL}" "TRUE" +# do not include local makefile. User is passing all local related variables already +else +include Makefile +# Include makefile containing local settings +ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk" +include nbproject/Makefile-local-default.mk +endif +endif + +# Environment +MKDIR=mkdir -p +RM=rm -f +MV=mv +CP=cp + +# Macros +CND_CONF=default +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +IMAGE_TYPE=debug +OUTPUT_SUFFIX=elf +DEBUGGABLE_SUFFIX=elf +FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/test1.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +else +IMAGE_TYPE=production +OUTPUT_SUFFIX=hex +DEBUGGABLE_SUFFIX=elf +FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/test1.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +endif + +ifeq ($(COMPARE_BUILD), true) +COMPARISON_BUILD= +else +COMPARISON_BUILD= +endif + +ifdef SUB_IMAGE_ADDRESS + +else +SUB_IMAGE_ADDRESS_COMMAND= +endif + +# Object Directory +OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE} + +# Distribution Directory +DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE} + +# Source Files Quoted if spaced +SOURCEFILES_QUOTED_IF_SPACED=newmain.c + +# Object Files Quoted if spaced +OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/newmain.o +POSSIBLE_DEPFILES=${OBJECTDIR}/newmain.o.d + +# Object Files +OBJECTFILES=${OBJECTDIR}/newmain.o + +# Source Files +SOURCEFILES=newmain.c + + + +CFLAGS= +ASFLAGS= +LDLIBSOPTIONS= + +############# Tool locations ########################################## +# If you copy a project from one host to another, the path where the # +# compiler is installed may be different. # +# If you open this project with MPLAB X in the new host, this # +# makefile will be regenerated and the paths will be corrected. # +####################################################################### +# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build +FIXDEPS=fixDeps + +.build-conf: ${BUILD_SUBPROJECTS} +ifneq ($(INFORMATION_MESSAGE), ) + @echo $(INFORMATION_MESSAGE) +endif + ${MAKE} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/test1.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} + +MP_PROCESSOR_OPTION=ATtiny10 +# ------------------------------------------------------------------------------------ +# Rules for buildStep: compile +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +${OBJECTDIR}/newmain.o: newmain.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/newmain.o.d + @${RM} ${OBJECTDIR}/newmain.o + ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -g -DDEBUG -gdwarf-2 -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -MD -MP -MF "${OBJECTDIR}/newmain.o.d" -MT "${OBJECTDIR}/newmain.o.d" -MT ${OBJECTDIR}/newmain.o -o ${OBJECTDIR}/newmain.o newmain.c + +else +${OBJECTDIR}/newmain.o: newmain.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/newmain.o.d + @${RM} ${OBJECTDIR}/newmain.o + ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -MD -MP -MF "${OBJECTDIR}/newmain.o.d" -MT "${OBJECTDIR}/newmain.o.d" -MT ${OBJECTDIR}/newmain.o -o ${OBJECTDIR}/newmain.o newmain.c + +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: assemble +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +else +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: assembleWithPreprocess +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +else +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: link +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +dist/${CND_CONF}/${IMAGE_TYPE}/test1.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} + ${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=dist/${CND_CONF}/${IMAGE_TYPE}/test1.X.${IMAGE_TYPE}.map -D__DEBUG=1 -DXPRJ_default=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10" -gdwarf-2 -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields -Wall -gdwarf-3 $(COMPARISON_BUILD) -Wl,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml -o dist/${CND_CONF}/${IMAGE_TYPE}/test1.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o dist/${CND_CONF}/${IMAGE_TYPE}/test1.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1 + @${RM} dist/${CND_CONF}/${IMAGE_TYPE}/test1.X.${IMAGE_TYPE}.hex + +else +dist/${CND_CONF}/${IMAGE_TYPE}/test1.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} + ${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=dist/${CND_CONF}/${IMAGE_TYPE}/test1.X.${IMAGE_TYPE}.map -DXPRJ_default=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields -Wall -gdwarf-3 $(COMPARISON_BUILD) -Wl,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml -o dist/${CND_CONF}/${IMAGE_TYPE}/test1.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o dist/${CND_CONF}/${IMAGE_TYPE}/test1.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group + ${MP_CC_DIR}/avr-objcopy -O ihex "dist/${CND_CONF}/${IMAGE_TYPE}/test1.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "dist/${CND_CONF}/${IMAGE_TYPE}/test1.X.${IMAGE_TYPE}.hex" +endif + + +# Subprojects +.build-subprojects: + + +# Subprojects +.clean-subprojects: + +# Clean Targets +.clean-conf: ${CLEAN_SUBPROJECTS} + ${RM} -r build/default + ${RM} -r dist/default + +# Enable dependency checking +.dep.inc: .depcheck-impl + +DEPFILES=$(shell "${PATH_TO_IDE_BIN}"mplabwildcard ${POSSIBLE_DEPFILES}) +ifneq (${DEPFILES},) +include ${DEPFILES} +endif diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-genesis.properties b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-genesis.properties new file mode 100644 index 0000000..9854420 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-genesis.properties @@ -0,0 +1,10 @@ +# +#Mon Mar 23 23:48:52 EDT 2020 +default.Pack.dfplocation=/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10 +default.languagetoolchain.dir=/opt/microchip/xc8/v2.10/bin +configurations-xml=dc486da706a233a5325c3abb5c6e1e8e +com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=6e453b0cf7f7da72a932cfdb2f655401 +default.languagetoolchain.version=2.10 +host.platform=linux +conf.ids=default +default.com-microchip-mplab-nbide-toolchainXC8-XC8LanguageToolchain.md5=23d12c447ed4f9462f01e2202bc2f36a diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-impl.mk b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-impl.mk new file mode 100644 index 0000000..a536cac --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-impl.mk @@ -0,0 +1,69 @@ +# +# Generated Makefile - do not edit! +# +# Edit the Makefile in the project folder instead (../Makefile). Each target +# has a pre- and a post- target defined where you can add customization code. +# +# This makefile implements macros and targets common to all configurations. +# +# NOCDDL + + +# Building and Cleaning subprojects are done by default, but can be controlled with the SUB +# macro. If SUB=no, subprojects will not be built or cleaned. The following macro +# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf +# and .clean-reqprojects-conf unless SUB has the value 'no' +SUB_no=NO +SUBPROJECTS=${SUB_${SUB}} +BUILD_SUBPROJECTS_=.build-subprojects +BUILD_SUBPROJECTS_NO= +BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}} +CLEAN_SUBPROJECTS_=.clean-subprojects +CLEAN_SUBPROJECTS_NO= +CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}} + + +# Project Name +PROJECTNAME=test1.X + +# Active Configuration +DEFAULTCONF=default +CONF=${DEFAULTCONF} + +# All Configurations +ALLCONFS=default + + +# build +.build-impl: .build-pre + ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf + + +# clean +.clean-impl: .clean-pre + ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf + +# clobber +.clobber-impl: .clobber-pre .depcheck-impl + ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean + + + +# all +.all-impl: .all-pre .depcheck-impl + ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build + + + +# dependency checking support +.depcheck-impl: +# @echo "# This code depends on make tool being used" >.dep.inc +# @if [ -n "${MAKE_VERSION}" ]; then \ +# echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \ +# echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \ +# echo "include \$${DEPFILES}" >>.dep.inc; \ +# echo "endif" >>.dep.inc; \ +# else \ +# echo ".KEEP_STATE:" >>.dep.inc; \ +# echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \ +# fi diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-local-default.mk b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-local-default.mk new file mode 100644 index 0000000..62e3bb2 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-local-default.mk @@ -0,0 +1,36 @@ +# +# Generated Makefile - do not edit! +# +# +# This file contains information about the location of compilers and other tools. +# If you commmit this file into your revision control server, you will be able to +# to checkout the project and build it from the command line with make. However, +# if more than one person works on the same project, then this file might show +# conflicts since different users are bound to have compilers in different places. +# In that case you might choose to not commit this file and let MPLAB X recreate this file +# for each user. The disadvantage of not commiting this file is that you must run MPLAB X at +# least once so the file gets created and the project can be built. Finally, you can also +# avoid using this file at all if you are only building from the command line with make. +# You can invoke make with the values of the macros: +# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ... +# +PATH_TO_IDE_BIN=/opt/microchip/mplabx/v5.25/mplab_platform/platform/../mplab_ide/modules/../../bin/ +# Adding MPLAB X bin directory to path. +PATH:=/opt/microchip/mplabx/v5.25/mplab_platform/platform/../mplab_ide/modules/../../bin/:$(PATH) +# Path to java used to run MPLAB X when this makefile was created +MP_JAVA_PATH="/opt/microchip/mplabx/v5.25/sys/java/jre1.8.0_181/bin/" +OS_CURRENT="$(shell uname -s)" +MP_CC="/opt/microchip/xc8/v2.10/bin/xc8-cc" +# MP_CPPC is not defined +# MP_BC is not defined +MP_AS="/opt/microchip/xc8/v2.10/bin/xc8-cc" +MP_LD="/opt/microchip/xc8/v2.10/bin/xc8-cc" +MP_AR="/opt/microchip/xc8/v2.10/bin/xc8-ar" +DEP_GEN=${MP_JAVA_PATH}java -jar "/opt/microchip/mplabx/v5.25/mplab_platform/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar" +MP_CC_DIR="/opt/microchip/xc8/v2.10/bin" +# MP_CPPC_DIR is not defined +# MP_BC_DIR is not defined +MP_AS_DIR="/opt/microchip/xc8/v2.10/bin" +MP_LD_DIR="/opt/microchip/xc8/v2.10/bin" +MP_AR_DIR="/opt/microchip/xc8/v2.10/bin" +# MP_BC_DIR is not defined diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-variables.mk b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-variables.mk new file mode 100644 index 0000000..b874ecf --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Makefile-variables.mk @@ -0,0 +1,13 @@ +# +# Generated - do not edit! +# +# NOCDDL +# +CND_BASEDIR=`pwd` +# default configuration +CND_ARTIFACT_DIR_default=dist/default/production +CND_ARTIFACT_NAME_default=test1.X.production.hex +CND_ARTIFACT_PATH_default=dist/default/production/test1.X.production.hex +CND_PACKAGE_DIR_default=${CND_DISTDIR}/default/package +CND_PACKAGE_NAME_default=test1.x.tar +CND_PACKAGE_PATH_default=${CND_DISTDIR}/default/package/test1.x.tar diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Package-default.bash b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Package-default.bash new file mode 100644 index 0000000..5d800ac --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/Package-default.bash @@ -0,0 +1,73 @@ +#!/bin/bash -x + +# +# Generated - do not edit! +# + +# Macros +TOP=`pwd` +CND_CONF=default +CND_DISTDIR=dist +TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging +TMPDIRNAME=tmp-packaging +OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/test1.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +OUTPUT_BASENAME=test1.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +PACKAGE_TOP_DIR=test1.x/ + +# Functions +function checkReturnCode +{ + rc=$? + if [ $rc != 0 ] + then + exit $rc + fi +} +function makeDirectory +# $1 directory path +# $2 permission (optional) +{ + mkdir -p "$1" + checkReturnCode + if [ "$2" != "" ] + then + chmod $2 "$1" + checkReturnCode + fi +} +function copyFileToTmpDir +# $1 from-file path +# $2 to-file path +# $3 permission +{ + cp "$1" "$2" + checkReturnCode + if [ "$3" != "" ] + then + chmod $3 "$2" + checkReturnCode + fi +} + +# Setup +cd "${TOP}" +mkdir -p ${CND_DISTDIR}/${CND_CONF}/package +rm -rf ${TMPDIR} +mkdir -p ${TMPDIR} + +# Copy files and create directories and links +cd "${TOP}" +makeDirectory ${TMPDIR}/test1.x/bin +copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755 + + +# Generate tar file +cd "${TOP}" +rm -f ${CND_DISTDIR}/${CND_CONF}/package/test1.x.tar +cd ${TMPDIR} +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/package/test1.x.tar * +checkReturnCode + +# Cleanup +cd "${TOP}" +rm -rf ${TMPDIR} diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/configurations.xml b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/configurations.xml new file mode 100644 index 0000000..b07dc94 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/configurations.xml @@ -0,0 +1,160 @@ + + + + + + + + + newmain.c + + + Makefile + + + Makefile + + + + localhost + ATtiny10 + + + + XC8 + 2.10 + 2 + + + + + + + + + + + + + false + false + + + + + + + false + + false + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/private/configurations.xml b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/private/configurations.xml new file mode 100644 index 0000000..e61d739 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/private/configurations.xml @@ -0,0 +1,25 @@ + + + Makefile + 0 + + + + /opt/microchip/xc8/v2.10/bin + + place holder 1 + place holder 2 + + + + + true + 0 + 0 + 0 + + + + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/private/private.xml b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/private/private.xml new file mode 100644 index 0000000..bbcf187 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/private/private.xml @@ -0,0 +1,9 @@ + + + + + + file:/home/dev/Desktop/code/electronics/attiny10_mplab_test/test1.X/newmain.c + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/project.xml b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/project.xml new file mode 100644 index 0000000..9712272 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/nbproject/project.xml @@ -0,0 +1,27 @@ + + + com.microchip.mplab.nbide.embedded.makeproject + + + test1 + 1f6b2f6c-8c6d-40dd-a737-d73d987b2bef + 0 + c + + + + ISO-8859-1 + + + + + default + 2 + + + + false + + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/newmain.c b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/newmain.c new file mode 100644 index 0000000..b3d7e8a --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test1.X/newmain.c @@ -0,0 +1,24 @@ +/* + * File: newmain.c + * Author: dev + * + * Created on March 23, 2020, 11:48 PM + */ + + +#include +#include +#include + +int main(void) +{ + // PB2 output + DDRB = 1<<2; + + while(1) + { + // Toggle PB2 + PINB = 1<<2; + _delay_ms(500); + } +} \ No newline at end of file diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/Makefile b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/Makefile new file mode 100644 index 0000000..fca8e2c --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/Makefile @@ -0,0 +1,113 @@ +# +# There exist several targets which are by default empty and which can be +# used for execution of your targets. These targets are usually executed +# before and after some main targets. They are: +# +# .build-pre: called before 'build' target +# .build-post: called after 'build' target +# .clean-pre: called before 'clean' target +# .clean-post: called after 'clean' target +# .clobber-pre: called before 'clobber' target +# .clobber-post: called after 'clobber' target +# .all-pre: called before 'all' target +# .all-post: called after 'all' target +# .help-pre: called before 'help' target +# .help-post: called after 'help' target +# +# Targets beginning with '.' are not intended to be called on their own. +# +# Main targets can be executed directly, and they are: +# +# build build a specific configuration +# clean remove built files from a configuration +# clobber remove all built files +# all build all configurations +# help print help mesage +# +# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and +# .help-impl are implemented in nbproject/makefile-impl.mk. +# +# Available make variables: +# +# CND_BASEDIR base directory for relative paths +# CND_DISTDIR default top distribution directory (build artifacts) +# CND_BUILDDIR default top build directory (object files, ...) +# CONF name of current configuration +# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) +# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) +# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) +# CND_PACKAGE_DIR_${CONF} directory of package (current configuration) +# CND_PACKAGE_NAME_${CONF} name of package (current configuration) +# CND_PACKAGE_PATH_${CONF} path to package (current configuration) +# +# NOCDDL + + +# Environment +MKDIR=mkdir +CP=cp +CCADMIN=CCadmin +RANLIB=ranlib + + +# build +build: .build-post + +.build-pre: +# Add your pre 'build' code here... + +.build-post: .build-impl +# Add your post 'build' code here... + + +# clean +clean: .clean-post + +.clean-pre: +# Add your pre 'clean' code here... +# WARNING: the IDE does not call this target since it takes a long time to +# simply run make. Instead, the IDE removes the configuration directories +# under build and dist directly without calling make. +# This target is left here so people can do a clean when running a clean +# outside the IDE. + +.clean-post: .clean-impl +# Add your post 'clean' code here... + + +# clobber +clobber: .clobber-post + +.clobber-pre: +# Add your pre 'clobber' code here... + +.clobber-post: .clobber-impl +# Add your post 'clobber' code here... + + +# all +all: .all-post + +.all-pre: +# Add your pre 'all' code here... + +.all-post: .all-impl +# Add your post 'all' code here... + + +# help +help: .help-post + +.help-pre: +# Add your pre 'help' code here... + +.help-post: .help-impl +# Add your post 'help' code here... + + + +# include project implementation makefile +include nbproject/Makefile-impl.mk + +# include project make variables +include nbproject/Makefile-variables.mk diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/build/default/production/newmain.o b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/build/default/production/newmain.o new file mode 100644 index 0000000000000000000000000000000000000000..d5ba127f7c5d7901508428de25345ef48bdfd113 GIT binary patch literal 2688 zcma)7L2ukt5T0jml5ICBNdr}-f^emjwi33pNr|FB+JvM{DpH8j6d`diUaxo8%GzFR zZ`vY6BtR;64qQ-AmAF*m90{o$Ir0NI^uU1w9D3#uzOnswA4((`>G^##Z{9cKH}mX+ zn_IVp5F|y=T^edclVe1`WAR$Sso3uU-#3!EbiG}-1Kd~i{MEd z1zu{)!*If0*KIhNpJp~c=B$rosRpwqMvLeMM<=}>MA@Q~k@m%7lu{E_nO(82X(MnT zO&c57bG1i+S|3;(?k`EZj2Y|v3AKlw2^K*zz?Fln^IPx1Ge(}cd~)Px=PGCLgf&I51J-k(Fy*yxsg1d-S6H+`aE z39&EDnm8+~Q@r0uo{2sobo~@Kb?sCI&k8?Ds|bCB5eA~t#@gDFab@+x9cR%&gE+V} z&TbrcQNAE@=B)*5-l;DvTrF-<{!T{_5FN~n8`=|O&F?Seq<0>iIh-o=;z;`PtPd-a zoAvS(rH>Ae8kFnOfc-B6FDv?Mz&8~A4d8ba-2xuw_2Os=`joOhfB?EuKep?HK2W5{ zW@yl9VyFP=gcednS0b@lCsafconBHjUZ13m(!x2P<$Q*vcAUH0&Zgr~4z>!gb8{mH zYiry2oP|9n@!L86%unJ{$*;i~aOyZvt{G=4%Hs7H zy=CgGOCPR{0e^Yk($2SnG20!*KLCEc5k;hST((MbIL z(!De#Zq)WAMPWO^)D0qEvLFkxyf_Sfd;rx@t;7v+zyH5nfGgiI*?GnPakyXJzl)_` z@qd*6(c^xXVd8WDFTZ-pr^c0aXI2^aO<=C+3I+OA^AJ%F^1VdkGQ z)`n|*w^hC#_}IpLoQveU1FZ6W3aM u`+%{U(k}cCVUr^B;~7UWkYBKA8^%{)VNT}bbLZNqeCKg4Td+xyeE$G`6L2R0 literal 0 HcmV?d00001 diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/build/default/production/newmain.o.d b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/build/default/production/newmain.o.d new file mode 100644 index 0000000..e8666c3 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/build/default/production/newmain.o.d @@ -0,0 +1,52 @@ +build/default/production/newmain.o.d build/default/production/newmain.o: \ + newmain.c /opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/xc.h \ + /opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/cci.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/io.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/sfr_defs.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/inttypes.h \ + /opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/stdint.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/stdint.h \ + /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/include/avr/iotn10.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/portpins.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/common.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/version.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/xmega.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/fuse.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/lock.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/util/delay.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/util/delay_basic.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/math.h + +/opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/xc.h: + +/opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/cci.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/io.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/sfr_defs.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/inttypes.h: + +/opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/stdint.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/stdint.h: + +/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/include/avr/iotn10.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/portpins.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/common.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/version.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/xmega.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/fuse.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/lock.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/util/delay.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/util/delay_basic.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/math.h: diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/memoryfile.xml b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/memoryfile.xml new file mode 100644 index 0000000..3f20de0 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/memoryfile.xml @@ -0,0 +1,17 @@ + + + + + bytes + 1024 + 60 + 964 + + + bytes + 32 + 0 + 32 + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test1.X.production.elf b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test1.X.production.elf new file mode 100755 index 0000000000000000000000000000000000000000..87a92a411d2645c0728ac8503c5253546f1a26a6 GIT binary patch literal 6112 zcmbW5Yit}>701ua?AmLu?fQ{NTPMxNbrR>XvtHXt)3j;4UO!^8essMKsRWv?cgOZB z`(k%CZGb-LmkNpyQjv;8g(!l+hXN8368V6#0`UO^N2LZB2C36PMm1QgK^=6`19 z?%rG~fw9j^dn*uz$mne^NiXz}+G(df>JtHch zT=sJirHb=q4>X6H1IG^Cy8VYccYk;5=eLYI)cofcc5h$& zOX^nQ?!v9vyNR3AH?2Qy{_$gXpIm)%aB4dfmY3r=DQE;q< z<#j7lsT6bD*+SWxG|!lmR{YGF|KhCm+rzD)Lj9QuJw20`nVxOD?NDx6j8}u0-os3)SdGV+&e#qn^(?Sx9;NS|Mkj z&pJ+_d_6u6lB<;KPL$2jLOEKkRkliY3A~!kU5(}owezvanFl zu2#uy7pk#DhTF1c=T~DB=D6uLTFN!fXRp=R5Q%Q(pUKuXqmz;73c9wr*(m3nLZuw7 z+iqD0bHhuz8@%q+8aW5n`gWz}MD22;#J-Jky|7ib^HDrUYO;=J%x1wZ=Ihi`wx22C zA!FvK-TPU)e$}Z|W4TJ+j@d;7uT{#0TsrRX>6Xq57u8GUr5Ol4> ziyqnAK1ceS zzeMy-&9XKcg(B{pg&XL%mAjrR+Gy`vZvO)LN@JsFQ%K`ECaqWd4!Fk8>lCu~y4E#< zNN0sU+{Y=& z73^2R{VI4s1rMrVSOo`Ea8Lygso;CA+5}!}F+305Tqx&?4ZK4dPN7Kut2a^morI9?Guqtd6M5aq<2?Y`ow1hbLtv8nQEeAVBmITZo{0W6zMWv4xJjM@j38Pp zY~&*Rq8=yl^5Qan25+Fm?9%!bT$3rjtfdoPF+;P9v*~e40Qq7vxk_vJrRNqXnYy$D z1Bz7?D{IMQB1LOU$uzB|({wqt#MRPknfX+jmM^;+7fZ9Wx{}VY+xi?r%%*2(b#WON z&>5OrOd|f=;?mkBT<77H1mUYIGtMNF>G6bD%y>l-#d2nxR$L2TX9(5CDZ>qMF%M;d zYtn~jGu$(t99~~i!n=x2BJ)DW_lsu%oQ4$fH1~>)>-vy5LP)j`5)IEA?Y!uk4ey?} zTn(J<ITnv#-1-L58vZxEgeQZoD%#8bq{ zpk99jo*tl`U9Q2q(MuW)3K1pSA4ECUVj3N9$)0@@`V%d-v->#Y^O8OX+57rpxUXLkd_fKcJz5+QJZDk#NxxV=w77vqm${GWv`#?ucwf9ph$IkEn2 zPi*NwhSc`gh);>4{eH~WUFf3yezebD3vE04heamr96t!QiTig6 zy1P(){b|WRf?!+F<#;vr_Y?Q`lh6g?_C6yN_;CF%L6_^_fX@4c6Z`)Vy4?Re(0RNg z$b(ovZz=WfLZ9~c1J{2Kx=0b|ItC}l>s9pop^L=zk3g5>Pb&Ha=$2oB+h2g*j;|Ac zsmVGYPv!WV(2ut2YxETKcD$WkTe1&gzOE|upMfrh$o>5sbTNUf6MqX?g>u0m6E6l7 zmi=tOF)L(Qb$q{A{E1e}mZbNIWv#7R7cC1O5K^9iC$lTyN$r+6^;^JqR>LpbXizKtq1D^8Z%0n0AuL1z=0goRcYSC*~R-10)ki4rYvyhI6Jcd*+42@XBz?6|-mC~YyRlKTuL+IUjgU9723iV&2rk-k9ehiG|ao@&%F<<6_ZNe_LQ_x4yUi-YzdeqXJ@Z+|*J-)BcBaa}9B--Y)gfw0B9FE&J ng%e8AKQ2WbHh&Rur!g5k7G6s{FD&y3Om6Sj2=H~OqG<2m(t5b> literal 0 HcmV?d00001 diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test1.X.production.hex b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test1.X.production.hex new file mode 100644 index 0000000..f68bd56 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test1.X.production.hex @@ -0,0 +1,8 @@ +:100000000AC024C023C022C021C020C01FC01EC0FF +:100010001DC01CC01BC011271FBFCFE5D0E0DEBF35 +:0A002000CDBF03D000C0F894FFCF5D +:10002A0048ED4CBF41E047BF44E041B940B95FE900 +:10003A0066E871E0515060407040E1F700C000008E +:02004A00F5CFF0 +:02004C00D9CF0A +:00000001FF diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test1.X.production.map b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test1.X.production.map new file mode 100644 index 0000000..936e98f --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test1.X.production.map @@ -0,0 +1,395 @@ +Archive member included to satisfy reference by file (symbol) + +/opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o (exit) + +Discarded input sections + + .data 0x00000000 0x0 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + .bss 0x00000000 0x0 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + .text 0x00000000 0x0 build/default/production/newmain.o + .data 0x00000000 0x0 build/default/production/newmain.o + .bss 0x00000000 0x0 build/default/production/newmain.o + .text 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .data 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .bss 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .text.libgcc.mul + 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .text.libgcc.div + 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .text.libgcc.prologue + 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .text.libgcc 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .text.libgcc.builtins + 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .text.libgcc.fmul + 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + .text.libgcc.fixed + 0x00000000 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + +Memory Configuration + +Name Origin Length Attributes +text 0x00000000 0x00000400 xr +data 0x00800040 0x00000020 rw !x +config 0x00820000 0x00000001 rw !x +lock 0x00830000 0x00000002 rw !x +signature 0x00840000 0x00000004 rw !x +*default* 0x00000000 0xffffffff + +Linker script and memory map + + 0x00004000 __RODATA_PM_OFFSET__ = 0x4000 +LOAD /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + 0x00000001 __MPLAB_BUILD = 0x1 +LOAD build/default/production/newmain.o +START GROUP +LOAD /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/lib/avrtiny/libm.a +END GROUP +START GROUP +LOAD /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a +LOAD /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/lib/avrtiny/libm.a +LOAD /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/lib/avrtiny/libc.a +LOAD /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/libattiny10.a +END GROUP + 0x00000000 __TEXT_REGION_ORIGIN__ = DEFINED (__TEXT_REGION_ORIGIN__)?__TEXT_REGION_ORIGIN__:0x0 + [0x00800040] __DATA_REGION_ORIGIN__ = DEFINED (__DATA_REGION_ORIGIN__)?__DATA_REGION_ORIGIN__:0x800040 + [0x00000400] __TEXT_REGION_LENGTH__ = DEFINED (__TEXT_REGION_LENGTH__)?__TEXT_REGION_LENGTH__:0x1000 + [0x00000020] __DATA_REGION_LENGTH__ = DEFINED (__DATA_REGION_LENGTH__)?__DATA_REGION_LENGTH__:0x100 + [0x00000001] __FUSE_REGION_LENGTH__ = DEFINED (__FUSE_REGION_LENGTH__)?__FUSE_REGION_LENGTH__:0x2 + 0x00000002 __LOCK_REGION_LENGTH__ = DEFINED (__LOCK_REGION_LENGTH__)?__LOCK_REGION_LENGTH__:0x2 + 0x00000004 __SIGNATURE_REGION_LENGTH__ = DEFINED (__SIGNATURE_REGION_LENGTH__)?__SIGNATURE_REGION_LENGTH__:0x4 + 0x00004000 __RODATA_PM_OFFSET__ = DEFINED (__RODATA_PM_OFFSET__)?__RODATA_PM_OFFSET__:0x4000 + +.hash + *(.hash) + +.dynsym + *(.dynsym) + +.dynstr + *(.dynstr) + +.gnu.version + *(.gnu.version) + +.gnu.version_d + *(.gnu.version_d) + +.gnu.version_r + *(.gnu.version_r) + +.rel.init + *(.rel.init) + +.rela.init + *(.rela.init) + +.rel.text + *(.rel.text) + *(.rel.text.*) + *(.rel.gnu.linkonce.t*) + +.rela.text + *(.rela.text) + *(.rela.text.*) + *(.rela.gnu.linkonce.t*) + +.rel.fini + *(.rel.fini) + +.rela.fini + *(.rela.fini) + +.rel.rodata + *(.rel.rodata) + *(.rel.rodata.*) + *(.rel.gnu.linkonce.r*) + +.rela.rodata + *(.rela.rodata) + *(.rela.rodata.*) + *(.rela.gnu.linkonce.r*) + +.rel.data + *(.rel.data) + *(.rel.data.*) + *(.rel.gnu.linkonce.d*) + +.rela.data + *(.rela.data) + *(.rela.data.*) + *(.rela.gnu.linkonce.d*) + +.rel.ctors + *(.rel.ctors) + +.rela.ctors + *(.rela.ctors) + +.rel.dtors + *(.rel.dtors) + +.rela.dtors + *(.rela.dtors) + +.rel.got + *(.rel.got) + +.rela.got + *(.rela.got) + +.rel.bss + *(.rel.bss) + +.rela.bss + *(.rela.bss) + +.rel.plt + *(.rel.plt) + +.rela.plt + *(.rela.plt) + +.text 0x00000000 0x2a + *(.vectors) + .vectors 0x00000000 0x16 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + 0x00000000 __vectors + 0x00000000 __vector_default + *(.vectors) + *(.progmem.gcc*) + *(.dinit) + .dinit 0x00000016 0x0 data_init + 0x00000016 . = ALIGN (0x2) + 0x00000016 __trampolines_start = . + *(.trampolines) + .trampolines 0x00000016 0x0 linker stubs + *(.trampolines*) + 0x00000016 __trampolines_end = . + *libprintf_flt.a:*(.progmem.data) + *libc.a:*(.progmem.data) + 0x00000016 . = ALIGN (0x2) + *(.jumptables) + *(.jumptables*) + *(.lowtext) + *(.lowtext*) + 0x00000016 __ctors_start = . + *(.ctors) + 0x00000016 __ctors_end = . + 0x00000016 __dtors_start = . + *(.dtors) + 0x00000016 __dtors_end = . + SORT(*)(.ctors) + SORT(*)(.dtors) + *(.init0) + .init0 0x00000016 0x0 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + 0x00000016 __init + *(.init0) + *(.init1) + *(.init1) + *(.init2) + .init2 0x00000016 0xc /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + *(.init2) + *(.init3) + *(.init3) + *(.init4) + *(.init4) + *(.init5) + *(.init5) + *(.init6) + *(.init6) + *(.init7) + *(.init7) + *(.init8) + *(.init8) + *(.init9) + .init9 0x00000022 0x4 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + *(.init9) + 0x00000026 . = ALIGN (0x2) + *(.fini9) + .fini9 0x00000026 0x0 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + 0x00000026 exit + 0x00000026 _exit + *(.fini9) + *(.fini8) + *(.fini8) + *(.fini7) + *(.fini7) + *(.fini6) + *(.fini6) + *(.fini5) + *(.fini5) + *(.fini4) + *(.fini4) + *(.fini3) + *(.fini3) + *(.fini2) + *(.fini2) + *(.fini1) + *(.fini1) + *(.fini0) + .fini0 0x00000026 0x4 /opt/microchip/xc8/v2.10/avr/bin/../lib/gcc/avr/5.4.0/avrtiny/libgcc.a(_exit.o) + *(.fini0) + 0x0000002a _etext = . + +.rodata + *(.rodata) + *(.rodata*) + *(.gnu.linkonce.r*) + +.data 0x00800040 0x0 load address 0x0000002a + [!provide] PROVIDE (__data_start, .) + *(.gnu.linkonce.d*) + 0x00800040 . = ALIGN (0x2) + 0x00800040 _edata = . + [!provide] PROVIDE (__data_end, .) + +.bss 0x00800040 0x0 + [!provide] PROVIDE (__bss_start, .) + *(COMMON) + [!provide] PROVIDE (__bss_end, .) + 0x0000002a __data_load_start = LOADADDR (.data) + 0x0000002a __data_load_end = (__data_load_start + SIZEOF (.data)) + +.noinit 0x00800040 0x0 + [!provide] PROVIDE (__noinit_start, .) + *(.noinit*) + [!provide] PROVIDE (__noinit_end, .) + 0x00800040 _end = . + +.lock + *(.lock*) + +.signature + *(.signature*) + +.config + *(.fuse) + *(.lfuse) + *(.hfuse) + *(.efuse) + *(.config*) + +.stab + *(.stab) + +.stabstr + *(.stabstr) + +.stab.excl + *(.stab.excl) + +.stab.exclstr + *(.stab.exclstr) + +.stab.index + *(.stab.index) + +.stab.indexstr + *(.stab.indexstr) + +.comment 0x00000000 0x2f + *(.comment) + .comment 0x00000000 0x2f build/default/production/newmain.o + 0x30 (size before relaxing) + +.note.gnu.build-id + *(.note.gnu.build-id) + +.debug + *(.debug) + +.line + *(.line) + +.debug_srcinfo + *(.debug_srcinfo) + +.debug_sfnames + *(.debug_sfnames) + +.debug_aranges 0x00000000 0x20 + *(.debug_aranges) + .debug_aranges + 0x00000000 0x20 build/default/production/newmain.o + +.debug_pubnames + *(.debug_pubnames) + +.debug_info 0x00000000 0x5e4 + *(.debug_info .gnu.linkonce.wi.*) + .debug_info 0x00000000 0x305 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + .debug_info 0x00000305 0x2df build/default/production/newmain.o + +.debug_abbrev 0x00000000 0x393 + *(.debug_abbrev) + .debug_abbrev 0x00000000 0x2d9 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + .debug_abbrev 0x000002d9 0xba build/default/production/newmain.o + +.debug_line 0x00000000 0x1a7 + *(.debug_line .debug_line.* .debug_line_end) + .debug_line 0x00000000 0xd9 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + .debug_line 0x000000d9 0xce build/default/production/newmain.o + +.debug_frame 0x00000000 0x24 + *(.debug_frame) + .debug_frame 0x00000000 0x24 build/default/production/newmain.o + +.debug_str 0x00000000 0x115 + *(.debug_str) + .debug_str 0x00000000 0x115 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + .debug_str 0x00000115 0x0 build/default/production/newmain.o + +.debug_loc + *(.debug_loc) + +.debug_macinfo + *(.debug_macinfo) + +.debug_weaknames + *(.debug_weaknames) + +.debug_funcnames + *(.debug_funcnames) + +.debug_typenames + *(.debug_typenames) + +.debug_varnames + *(.debug_varnames) + +.debug_pubtypes + *(.debug_pubtypes) + +.debug_ranges 0x00000000 0x10 + *(.debug_ranges) + .debug_ranges 0x00000000 0x10 build/default/production/newmain.o + +.debug_macro + *(.debug_macro) +OUTPUT(dist/default/production/test1.X.production.elf elf32-avr) +LOAD linker stubs +LOAD data_init + +.note.gnu.avr.deviceinfo + 0x00000000 0x3c + .note.gnu.avr.deviceinfo + 0x00000000 0x3c /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + +.text.main 0x0000002a 0x22 + .text.main 0x0000002a 0x22 build/default/production/newmain.o + 0x0000002a main + +.text 0x0000004c 0x2 + .text 0x0000004c 0x2 /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/gcc/dev/attiny10/avrtiny/crtattiny10.o + 0x0000004c __vector_1 + 0x0000004c __bad_interrupt + 0x0000004c __vector_6 + 0x0000004c __vector_3 + 0x0000004c __vector_7 + 0x0000004c __vector_5 + 0x0000004c __vector_4 + 0x0000004c __vector_9 + 0x0000004c __vector_2 + 0x0000004c __vector_8 + 0x0000004c __vector_10 diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test2.X.production.elf b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/dist/default/production/test2.X.production.elf new file mode 100755 index 0000000000000000000000000000000000000000..195d46c04ea8e582b820312fb7254983a0acd402 GIT binary patch literal 5736 zcmbW5TWlN06^3VbNr}2z7vE*av?JT{g-cPA72AnoQ>3J@rYZu=|h#d1&hv=}UnE)k|9-K-K^3 z?vUfDABqmRGv|Eg%$%9o+1XjXzK~s16ov7mvOMG33}9=Nu`hcefXD0kN>dyn_cY@YyIon`ww6G zTXr}3cxgBNIQih_gMUB#^TVZ7>Uwk{c{^uZH8v`)v9z*o6l}X%+AdZsV_Kipr;Wty z?1ktReMX;TC%lkhjj<3U#xCL-@+3b~V4*I-&PT=615lNSb_9jm9g3o0>>w^Btc|fZ zSooYsj)8Pt63I!B?kSO+0Et`^$q|sA8zMOc(wi0u`Sg8CBrkyUuXtn(Ir=jPGVp29 z=LX2&ZIL_&a^SNfnFSdti{u)}@Qz5XgN)Qgas_1670C?9!Ox52d5}Y27ReOI;jf8g z8sx}ZBIyS?`nE_kkYn$OL;*SeU6C-5vG+xyf}Hq3B!@sw{zxRFAkX|nBnLrG{Y)ey zAkkllWEkZ1uS7Bga^|5(bdYC%Cz2S*`0qt>8RYE89trN?1jxC+isT%~`M--~9Ax4j zA~^$c;S-MpEAtY_Mb%rx0l5frDI$_M$mKziBtX~&JOLW}2zf}s^At@b68_^8jn%B! zX0_PZo=cEy#~M48dTgV)1+BQzC>Px#q_TOpQZna?u3NEQO-zE6Y^&kM$Q-L!vASb# z)yx`ry;$0bl`GC%eA}*>aa4@!wbFLoAVVX*Tq!wrX}eO7Ckxb;kzQPjPwA7o*J!QO zoGadS$PkTfmG2du&DeA_wu-K8ZZ@rwTd}QJ!}Q7qm=|8qz2FVkX_j1A8{4+y#!RbO zBj2XgsBBqgIfi}25q0b_n-#NKZm@pKyjQ~}qnB8x_i3}S{m_zoSfi0}2^t|5g+%9H`+hvDZwJAC9XxV$PY6u;;(FM zlsdc7@2ltgGoxQs`iGSf)QArb6Zn(zWV<~=43*@z`x$cou^PDh z_$y#4%TfNsz~Xk@jn~?{_x;k<_}wY&+HvgH-c_+m)n?gbth0%tk%n8wZl!PgC(5u& z`;0cAXj%`ttf@UAG_xd@ku1^DLc7=O$SaC=gSrHI~OOx3I)g*;~snpjbn( znop&YS(aZ;<=9#-$8Kkrsah^ySj^_w%56`hVmZy$R&xb%TVFtkbZ(xlWmb@Z&a;I~ z3h@^*%lTW#7vYrxq1=-R7gDL*WYRC@{UU{8r7+1>JqzXY4AmxCff}M>5y}$PWS>bF zsAqgHr-=#@rj*eMmewdv);CfJ@PYQ8txdBZbn!BLz0YB+U> zNed3?oN0`{7&=K~c_S`i?bFa-Y_q+6`Zk&q^aaTNcLBk@eLC%v zkDvDTZ$qH9?Weu{4G6e{%^6^l6UxLoZAI12;37wB;2zEM!M{!Xi{Rh6- z)_)19hBkzb42ZZoh$I6`tL#)>%R}3o)=2w|8wYK{~tl8@zOmS z!TR}7s{a`J&ER>U`u~K^Qxv+2!HMw(B>gCKo~Zs==wke7NxuQz2r5wfOVB&kHVKJpntlSGu*j;h0;V{5jLH+lm*j zY8T6BzUUyFaTlj{+c6T%@H$|aRv9#%EF=xInps^jvI{Fq1wUe8;ZA|$)m&yNv*L$C z7wdMlVwnxzuIZZhsre0r!W+kQoMxT$P6zxzLHJpiT%naGjMG#Poooc1%dVzw@m>g> z%dL97URyR+7Z>vj1+Q!Vr1DWdhnD<^4M@vt+2p)2zn;ma+uSIdo5f~Tn3*fEvUlXqUXTxkw18@`2qbI0xRuc z(a^MZ8o0`DX0cp${3X>fCMF>-uIHaN7V-YJXO`)WS8Hx@1EuTuJPMW8UQ&ts5?HVhywv1mT>w<;6=d-LhR%-?ExI zPC1B2U*LWKa?rioFvT~D|Dp8$jeuWQus0PT^L?AD(_>5NG%k9c=?@y(H{K#BB>t?Q z2P1hhu#sOpkf|UWxAQv0cX35Y2okr^JCVy|`XjC>;dsDpwk#6b;uUQ c;rk{ggW9CEMDs#2oxsHQUIF~RP?5LyA1<.dep.inc +# @if [ -n "${MAKE_VERSION}" ]; then \ +# echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \ +# echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \ +# echo "include \$${DEPFILES}" >>.dep.inc; \ +# echo "endif" >>.dep.inc; \ +# else \ +# echo ".KEEP_STATE:" >>.dep.inc; \ +# echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \ +# fi diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/Makefile-local-default.mk b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/Makefile-local-default.mk new file mode 100644 index 0000000..62e3bb2 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/Makefile-local-default.mk @@ -0,0 +1,36 @@ +# +# Generated Makefile - do not edit! +# +# +# This file contains information about the location of compilers and other tools. +# If you commmit this file into your revision control server, you will be able to +# to checkout the project and build it from the command line with make. However, +# if more than one person works on the same project, then this file might show +# conflicts since different users are bound to have compilers in different places. +# In that case you might choose to not commit this file and let MPLAB X recreate this file +# for each user. The disadvantage of not commiting this file is that you must run MPLAB X at +# least once so the file gets created and the project can be built. Finally, you can also +# avoid using this file at all if you are only building from the command line with make. +# You can invoke make with the values of the macros: +# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ... +# +PATH_TO_IDE_BIN=/opt/microchip/mplabx/v5.25/mplab_platform/platform/../mplab_ide/modules/../../bin/ +# Adding MPLAB X bin directory to path. +PATH:=/opt/microchip/mplabx/v5.25/mplab_platform/platform/../mplab_ide/modules/../../bin/:$(PATH) +# Path to java used to run MPLAB X when this makefile was created +MP_JAVA_PATH="/opt/microchip/mplabx/v5.25/sys/java/jre1.8.0_181/bin/" +OS_CURRENT="$(shell uname -s)" +MP_CC="/opt/microchip/xc8/v2.10/bin/xc8-cc" +# MP_CPPC is not defined +# MP_BC is not defined +MP_AS="/opt/microchip/xc8/v2.10/bin/xc8-cc" +MP_LD="/opt/microchip/xc8/v2.10/bin/xc8-cc" +MP_AR="/opt/microchip/xc8/v2.10/bin/xc8-ar" +DEP_GEN=${MP_JAVA_PATH}java -jar "/opt/microchip/mplabx/v5.25/mplab_platform/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar" +MP_CC_DIR="/opt/microchip/xc8/v2.10/bin" +# MP_CPPC_DIR is not defined +# MP_BC_DIR is not defined +MP_AS_DIR="/opt/microchip/xc8/v2.10/bin" +MP_LD_DIR="/opt/microchip/xc8/v2.10/bin" +MP_AR_DIR="/opt/microchip/xc8/v2.10/bin" +# MP_BC_DIR is not defined diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/Makefile-variables.mk b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/Makefile-variables.mk new file mode 100644 index 0000000..cbf782c --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/Makefile-variables.mk @@ -0,0 +1,13 @@ +# +# Generated - do not edit! +# +# NOCDDL +# +CND_BASEDIR=`pwd` +# default configuration +CND_ARTIFACT_DIR_default=dist/default/production +CND_ARTIFACT_NAME_default=test2.X.production.hex +CND_ARTIFACT_PATH_default=dist/default/production/test2.X.production.hex +CND_PACKAGE_DIR_default=${CND_DISTDIR}/default/package +CND_PACKAGE_NAME_default=test2.x.tar +CND_PACKAGE_PATH_default=${CND_DISTDIR}/default/package/test2.x.tar diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/Package-default.bash b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/Package-default.bash new file mode 100644 index 0000000..a7ffa81 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/Package-default.bash @@ -0,0 +1,73 @@ +#!/bin/bash -x + +# +# Generated - do not edit! +# + +# Macros +TOP=`pwd` +CND_CONF=default +CND_DISTDIR=dist +TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging +TMPDIRNAME=tmp-packaging +OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/test2.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +OUTPUT_BASENAME=test2.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +PACKAGE_TOP_DIR=test2.x/ + +# Functions +function checkReturnCode +{ + rc=$? + if [ $rc != 0 ] + then + exit $rc + fi +} +function makeDirectory +# $1 directory path +# $2 permission (optional) +{ + mkdir -p "$1" + checkReturnCode + if [ "$2" != "" ] + then + chmod $2 "$1" + checkReturnCode + fi +} +function copyFileToTmpDir +# $1 from-file path +# $2 to-file path +# $3 permission +{ + cp "$1" "$2" + checkReturnCode + if [ "$3" != "" ] + then + chmod $3 "$2" + checkReturnCode + fi +} + +# Setup +cd "${TOP}" +mkdir -p ${CND_DISTDIR}/${CND_CONF}/package +rm -rf ${TMPDIR} +mkdir -p ${TMPDIR} + +# Copy files and create directories and links +cd "${TOP}" +makeDirectory ${TMPDIR}/test2.x/bin +copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755 + + +# Generate tar file +cd "${TOP}" +rm -f ${CND_DISTDIR}/${CND_CONF}/package/test2.x.tar +cd ${TMPDIR} +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/package/test2.x.tar * +checkReturnCode + +# Cleanup +cd "${TOP}" +rm -rf ${TMPDIR} diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/configurations.xml b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/configurations.xml new file mode 100644 index 0000000..b07dc94 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/configurations.xml @@ -0,0 +1,160 @@ + + + + + + + + + newmain.c + + + Makefile + + + Makefile + + + + localhost + ATtiny10 + + + + XC8 + 2.10 + 2 + + + + + + + + + + + + + false + false + + + + + + + false + + false + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/private/configurations.xml b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/private/configurations.xml new file mode 100644 index 0000000..e61d739 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/private/configurations.xml @@ -0,0 +1,25 @@ + + + Makefile + 0 + + + + /opt/microchip/xc8/v2.10/bin + + place holder 1 + place holder 2 + + + + + true + 0 + 0 + 0 + + + + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/private/private.xml b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/private/private.xml new file mode 100644 index 0000000..0eb8ffe --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/private/private.xml @@ -0,0 +1,9 @@ + + + + + + file:/home/dev/Desktop/code/electronics/attiny10_mplab_test/test2.X/newmain.c + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/project.xml b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/project.xml new file mode 100644 index 0000000..d4b3c72 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/nbproject/project.xml @@ -0,0 +1,28 @@ + + + com.microchip.mplab.nbide.embedded.makeproject + + + test2 + test1 + 1f6b2f6c-8c6d-40dd-a737-d73d987b2bef + 0 + c + + + + ISO-8859-1 + + + + + default + 2 + + + + false + + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/newmain.c b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/newmain.c new file mode 100644 index 0000000..e704002 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/test2.X/newmain.c @@ -0,0 +1,31 @@ +/* + * File: newmain.c + * Author: dev + * + * Created on March 23, 2020, 11:48 PM + */ + + +#include +#include +#include + +int main(void) +{ + + //Write CCP + CCP = 0xD8; + //change CLK to 128KHz + CLKMSR = 0b01; + + + // PB2 output + DDRB = 1<<2; + + while(1) + { + // Toggle PB2 + PINB = 1<<2; + //_delay_ms(500); + } +} \ No newline at end of file diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/Makefile b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/Makefile new file mode 100644 index 0000000..fca8e2c --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/Makefile @@ -0,0 +1,113 @@ +# +# There exist several targets which are by default empty and which can be +# used for execution of your targets. These targets are usually executed +# before and after some main targets. They are: +# +# .build-pre: called before 'build' target +# .build-post: called after 'build' target +# .clean-pre: called before 'clean' target +# .clean-post: called after 'clean' target +# .clobber-pre: called before 'clobber' target +# .clobber-post: called after 'clobber' target +# .all-pre: called before 'all' target +# .all-post: called after 'all' target +# .help-pre: called before 'help' target +# .help-post: called after 'help' target +# +# Targets beginning with '.' are not intended to be called on their own. +# +# Main targets can be executed directly, and they are: +# +# build build a specific configuration +# clean remove built files from a configuration +# clobber remove all built files +# all build all configurations +# help print help mesage +# +# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and +# .help-impl are implemented in nbproject/makefile-impl.mk. +# +# Available make variables: +# +# CND_BASEDIR base directory for relative paths +# CND_DISTDIR default top distribution directory (build artifacts) +# CND_BUILDDIR default top build directory (object files, ...) +# CONF name of current configuration +# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) +# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) +# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) +# CND_PACKAGE_DIR_${CONF} directory of package (current configuration) +# CND_PACKAGE_NAME_${CONF} name of package (current configuration) +# CND_PACKAGE_PATH_${CONF} path to package (current configuration) +# +# NOCDDL + + +# Environment +MKDIR=mkdir +CP=cp +CCADMIN=CCadmin +RANLIB=ranlib + + +# build +build: .build-post + +.build-pre: +# Add your pre 'build' code here... + +.build-post: .build-impl +# Add your post 'build' code here... + + +# clean +clean: .clean-post + +.clean-pre: +# Add your pre 'clean' code here... +# WARNING: the IDE does not call this target since it takes a long time to +# simply run make. Instead, the IDE removes the configuration directories +# under build and dist directly without calling make. +# This target is left here so people can do a clean when running a clean +# outside the IDE. + +.clean-post: .clean-impl +# Add your post 'clean' code here... + + +# clobber +clobber: .clobber-post + +.clobber-pre: +# Add your pre 'clobber' code here... + +.clobber-post: .clobber-impl +# Add your post 'clobber' code here... + + +# all +all: .all-post + +.all-pre: +# Add your pre 'all' code here... + +.all-post: .all-impl +# Add your post 'all' code here... + + +# help +help: .help-post + +.help-pre: +# Add your pre 'help' code here... + +.help-post: .help-impl +# Add your post 'help' code here... + + + +# include project implementation makefile +include nbproject/Makefile-impl.mk + +# include project make variables +include nbproject/Makefile-variables.mk diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/build/default/production/main.o b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/build/default/production/main.o new file mode 100644 index 0000000000000000000000000000000000000000..0d4262d1568bb06d7028985bab37de89598ff8e3 GIT binary patch literal 2808 zcma)7&2QX96rZs-$>yV>X&{PPB(_l0qGCInhO{cp$2Mt0q?SZ&3P>QiUaxo8>e^n} z-jEiFqV`aP5FB#gQaB;;A?_8NKCYw!<;@VIN};pq$DKj<7K{%6{9tzsc_Xa_5gbm95pS+SUW>FYEHn zU+w!V<2Uzj{ceaI94)N z5U^hFgl_6bp^P)S@XlZl`|W#rE{X z#6ZI}BJdqM5!t{T%Nor*ktt$A3^NkKg7!8;su|nf5UzKEhutjt=U@1I0_dBm4s2 z+Y8MhHaIv7A?j<4>BWLm}fCi zouEQC(=^#dkAqJk(%1^k{O{obhUTHHxfQijE9jQjhI_(VpF~+%D5z}sq1)=zJjTQ; zV^fmWaDiqs@3@{U4SkO5v;FX^7y5^w&i$X$oyN^mu zRDo?@T(w`bZI*#^Ik<3UDFX`&tJ#_cZ9DcF8NTMlkzlg6fj>H(jw4W(69PYvm3WSl zCwh-MNF3`H;o)32QLv2Bz13tSL2Q&*dfR$E_J(%n*z%{fb1ari83X&tBZhDf2ZJ& zYMT5}`$>PdfK`8G_}hd`lGNRRK=ro>kmO-TkT#U=U*L(T7N<^Je9E%PI+rt~xHzK2Yb%#T*3JlGL9ScUKz X$mz`FkM5n`M)kLWdRc}{lJxfv*1wG5 literal 0 HcmV?d00001 diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/build/default/production/main.o.d b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/build/default/production/main.o.d new file mode 100644 index 0000000..a491c02 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/build/default/production/main.o.d @@ -0,0 +1,55 @@ +build/default/production/main.o.d build/default/production/main.o: main.c \ + /opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/xc.h \ + /opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/cci.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/io.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/sfr_defs.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/inttypes.h \ + /opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/stdint.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/stdint.h \ + /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/include/avr/iotn10.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/portpins.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/common.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/version.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/xmega.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/fuse.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/lock.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/util/delay.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/util/delay_basic.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/math.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/interrupt.h + +/opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/xc.h: + +/opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/cci.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/io.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/sfr_defs.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/inttypes.h: + +/opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/stdint.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/stdint.h: + +/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/include/avr/iotn10.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/portpins.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/common.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/version.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/xmega.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/fuse.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/lock.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/util/delay.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/util/delay_basic.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/math.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/interrupt.h: diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/dist/default/production/memoryfile.xml b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/dist/default/production/memoryfile.xml new file mode 100644 index 0000000..be71962 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/dist/default/production/memoryfile.xml @@ -0,0 +1,17 @@ + + + + + bytes + 1024 + 94 + 930 + + + bytes + 32 + 0 + 32 + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/dist/default/production/tests7_timer_6000hz.X.production.elf b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/dist/default/production/tests7_timer_6000hz.X.production.elf new file mode 100755 index 0000000000000000000000000000000000000000..893bb0b8ebc733eeebd3718fc2977f078324fe66 GIT binary patch literal 5828 zcmbW5ZDTR<+=si%!4*oOP(xb+M{)np z?v6B`=0oY=oq3+$^UORmvoo_JzcMvDttblPNo5(vwGqI9U5ph_j<68;FzaRAu06{u zp!|yew4hY+bkxt(PuEY?Pu7R)L-iB&&;fEW4e*EO)hmRg=k6Hccn_C+j z_dmJM9zS~j=d4}uH<4K*Es{eZZC((+)&NNGlIXJ+ zqRBdtI%@GwL;Fx zK`NNHig|M^=Qzd6omdnkZ&hken9Si~C0w35q3{9%uB@zA z@=npJglnc-*1+8Gg6;;dIre(qfwi_~*-qH3te44my;3W#R?I>e=ZG!pIAd0dW~oqP zU1gjwdY(1Ao-}JW9jhA2TLm*>mJr#tD#d&)!e_!LS4+8N!!c`4gtFQN!zq?c+Zc^T zqic8d8}19_*@qBRrPb?5h&sZw^w0L#?6#*L4C#QE4Y@zf-6Y59}fEsj|J@b|HpJa>M;7x&Ku4-97wm zFqJJ(zHML;tLj9`jRXF6{$k|TSsd&U9O>>;tmI4U1(PxVoJ9*Yr+_0&U-RyyEh?Qp z+PI=!ZO4RR2D)HS1B#|SLuwOx%6d?73kmM840eUoA7HNOYDkG1rQ2G(TYI3!y8~}) z@$S~i9RuiBxKv!uhv)+oW&9+jGB%1MIi8$bx`8|~OIaoz_lilDOeND%76=}dNdHqGX*yBZa9Nw&C<&XU{G z6hb7^lWZ|Hj|_B@O{EfuKb4xxTthw$uLKC?u1q+aNTj22ubA|T1d91=lr6Xx$|o7B zMOl^_qGB4#4Ao>`OlGNPG+DH2gcN{G_g`ARxR-ktzzIkpPjhqZ74JRrucKglmZ*8& zXy=}5*08L^q~XpYCe6R%bEYx+MbbPzQ*v0 z6OzWT&5>w|C~0hmKLSq=u+1&1L3_+g3hUz{O0pk7Iox0hJK2yudldTB2HV`C-xOnl zJ_*_TRY7ob>l*SaB)VyHD}$2uf|oY83<$kkg?~eYK>aD9>VK0f@S*zOg)Y|rK6KhI zl*s=fbg}=BpwoQNdDMsX^GB)vN6;ty{Xq5q0iCB1bR2No;&ouKV*K5F@Tf%fk3tvY zM+LJZ8a1(Sjoy2(00y7EaMjL{FZIRnBhh@%t`??8PCQIw3=F&H)f~i zXR=hyGQqQn6yzc)O-!-lpc45elCh)3(>Eq&GX@1@gm>!sH08 zY%`vtdgx@$@7(M{;u`OT(7E)2+v~+SV_|waGnI9_=FKP{00UJ_>JJZzcN%zQk%l%9GQ?y%_?_-^7ZcX>B%ek-yAbp9sp$ zC%25!vAuGQOYU3N-ROGWDwj?Cl+z0)eqI|nJ6BmXYg{c>RxB>(mX~ew7T0LqaCrr5 zprIfL=e#X9UX1A#%Q5xU%DRp#4&u>|cP{`r=ozht7=m2nvbs^C2*j>03vM{35R8Wn|-aUWY87;t7%9CvKzfA(zQS_w1B# zHQ+Y-R&tsAUc_}FDqJzR?Mss1U0f4N+$h*^lik+dUpnajsLd4cMO*S4z$Ib#Gur!x z^uS14^R3E9BrO-oJODQ+KF6darZ`5SIsU vo9+?9bg|`r#(oaQ6CV +#include +#include + +#include +//#include +//#include +//#include + + + +//tests5 tested and works (at ~950hz). unplug cable to programmer to see pin 4 active. +//however... +//tests6 DEADEND +//never worked right. giving up and using delay. + +//reference: https://www.avrfreaks.net/forum/sample-project-attiny10 +//https://blog.podkalicki.com/attiny13-blinky-with-timer-compa/ +//watchdog is too slow and inaccurate to get 6000Hz + +//ISR(TIM0_COMPA_vect) +//{ +// // Toggle PB2 Hi/Low depending on current state +// PINB = 1<<2; +// TIFR0 |= 1< 256? (test) + + //520 about 950hz, 25us wide pulse + //OCR0A = 520; // with one timer, ever 166.667hz we want to count once (3000hz) + + //OCR0A = 1; //475hz + + //this goes to 475hz (pulses). doesn't make sense. +//// OCR0AH = 0xFF; // +//// OCR0AL = 0xFF; + + //attiny10 output compare broken apparently + //this still 960hz, with 100us or so pulse size (high is 100us, low is longer) + //OCR0A = 100; + + + //inline asm to load values into 16 bit register + + //; variables + //; For 1 Hz output, the timer delay has to be 1/2 second (1/2 second on / 1/2 second off) + //; delay = OCR0A * 1024 * 8 / 8000000 + //; for 1/2 second, OCR0A = 488 (0x01E8) + //.EQU OCR0AHigh = 0x01 + //.EQU OCR0ALow = 0xe8 + // in bash type: printf "%x\n" 488 + //.EQU OCR0AHigh = 0x02 + //.EQU OCR0ALow = 0x08 + + // ldi r17, OCR0AHigh //; Sets the output compare register value + //ldi r16, OCR0ALow + + //this asm doesn't work (why?) //perhaps OCR0A is really just 8 bits on attiny10...?) +////// asm volatile( +////// "ldi r17, 0x02" +////// "ldi r16, 0x08" +////// "out OCR0AH, r17" +////// "out OCR0AL, r16" +////// ); + + //this asm works +// asm volatile("nop\n\t" +//"nop\n\t" +//"nop\n\t" +//"nop\n\t" +//::); +//////// +//////// TIMSK0 |= _BV(OCIE0A); // enable Timer CTC interrupt +//////// + // PB2 change to output + DDRB = 1<<2; +//// sei(); + + + int x = 0; + while(1) + { + + //this goes about 60.3KHz. + //experiment FAIL + //will just buy a 6KHz oscillator. + + PINB = 1<<2; + //EDIT: disabled optimization in mplab (level 0) + //and ended up geting much slower IO + //asm("nop;"); + //for(x=0;x<2;x++){ + // asm("nop;""nop;""nop;""nop;""nop;" + //"nop;""nop;"//"nop;""nop;"//"nop;""nop;" + // ); + //}//just this asm block is about 121.22KHz + + } +} + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-default.mk b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-default.mk new file mode 100644 index 0000000..f492a37 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-default.mk @@ -0,0 +1,158 @@ +# +# Generated Makefile - do not edit! +# +# Edit the Makefile in the project folder instead (../Makefile). Each target +# has a -pre and a -post target defined where you can add customized code. +# +# This makefile implements configuration specific macros and targets. + + +# Include project Makefile +ifeq "${IGNORE_LOCAL}" "TRUE" +# do not include local makefile. User is passing all local related variables already +else +include Makefile +# Include makefile containing local settings +ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk" +include nbproject/Makefile-local-default.mk +endif +endif + +# Environment +MKDIR=mkdir -p +RM=rm -f +MV=mv +CP=cp + +# Macros +CND_CONF=default +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +IMAGE_TYPE=debug +OUTPUT_SUFFIX=elf +DEBUGGABLE_SUFFIX=elf +FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/tests7_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +else +IMAGE_TYPE=production +OUTPUT_SUFFIX=hex +DEBUGGABLE_SUFFIX=elf +FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/tests7_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +endif + +ifeq ($(COMPARE_BUILD), true) +COMPARISON_BUILD= +else +COMPARISON_BUILD= +endif + +ifdef SUB_IMAGE_ADDRESS + +else +SUB_IMAGE_ADDRESS_COMMAND= +endif + +# Object Directory +OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE} + +# Distribution Directory +DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE} + +# Source Files Quoted if spaced +SOURCEFILES_QUOTED_IF_SPACED=main.c + +# Object Files Quoted if spaced +OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/main.o +POSSIBLE_DEPFILES=${OBJECTDIR}/main.o.d + +# Object Files +OBJECTFILES=${OBJECTDIR}/main.o + +# Source Files +SOURCEFILES=main.c + + + +CFLAGS= +ASFLAGS= +LDLIBSOPTIONS= + +############# Tool locations ########################################## +# If you copy a project from one host to another, the path where the # +# compiler is installed may be different. # +# If you open this project with MPLAB X in the new host, this # +# makefile will be regenerated and the paths will be corrected. # +####################################################################### +# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build +FIXDEPS=fixDeps + +.build-conf: ${BUILD_SUBPROJECTS} +ifneq ($(INFORMATION_MESSAGE), ) + @echo $(INFORMATION_MESSAGE) +endif + ${MAKE} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/tests7_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} + +MP_PROCESSOR_OPTION=ATtiny10 +# ------------------------------------------------------------------------------------ +# Rules for buildStep: compile +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +${OBJECTDIR}/main.o: main.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/main.o.d + @${RM} ${OBJECTDIR}/main.o + ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -g -DDEBUG -gdwarf-2 -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10" -Wl,--gc-sections -O0 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -MD -MP -MF "${OBJECTDIR}/main.o.d" -MT "${OBJECTDIR}/main.o.d" -MT ${OBJECTDIR}/main.o -o ${OBJECTDIR}/main.o main.c + +else +${OBJECTDIR}/main.o: main.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/main.o.d + @${RM} ${OBJECTDIR}/main.o + ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10" -Wl,--gc-sections -O0 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -MD -MP -MF "${OBJECTDIR}/main.o.d" -MT "${OBJECTDIR}/main.o.d" -MT ${OBJECTDIR}/main.o -o ${OBJECTDIR}/main.o main.c + +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: assemble +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +else +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: assembleWithPreprocess +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +else +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: link +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +dist/${CND_CONF}/${IMAGE_TYPE}/tests7_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} + ${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=dist/${CND_CONF}/${IMAGE_TYPE}/tests7_timer_6000hz.X.${IMAGE_TYPE}.map -D__DEBUG=1 -DXPRJ_default=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10" -gdwarf-2 -Wl,--gc-sections -O0 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields -Wall -gdwarf-3 $(COMPARISON_BUILD) -Wl,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml -o dist/${CND_CONF}/${IMAGE_TYPE}/tests7_timer_6000hz.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o dist/${CND_CONF}/${IMAGE_TYPE}/tests7_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1 + @${RM} dist/${CND_CONF}/${IMAGE_TYPE}/tests7_timer_6000hz.X.${IMAGE_TYPE}.hex + +else +dist/${CND_CONF}/${IMAGE_TYPE}/tests7_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} + ${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=dist/${CND_CONF}/${IMAGE_TYPE}/tests7_timer_6000hz.X.${IMAGE_TYPE}.map -DXPRJ_default=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10" -Wl,--gc-sections -O0 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields -Wall -gdwarf-3 $(COMPARISON_BUILD) -Wl,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml -o dist/${CND_CONF}/${IMAGE_TYPE}/tests7_timer_6000hz.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o dist/${CND_CONF}/${IMAGE_TYPE}/tests7_timer_6000hz.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group + ${MP_CC_DIR}/avr-objcopy -O ihex "dist/${CND_CONF}/${IMAGE_TYPE}/tests7_timer_6000hz.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "dist/${CND_CONF}/${IMAGE_TYPE}/tests7_timer_6000hz.X.${IMAGE_TYPE}.hex" +endif + + +# Subprojects +.build-subprojects: + + +# Subprojects +.clean-subprojects: + +# Clean Targets +.clean-conf: ${CLEAN_SUBPROJECTS} + ${RM} -r build/default + ${RM} -r dist/default + +# Enable dependency checking +.dep.inc: .depcheck-impl + +DEPFILES=$(shell "${PATH_TO_IDE_BIN}"mplabwildcard ${POSSIBLE_DEPFILES}) +ifneq (${DEPFILES},) +include ${DEPFILES} +endif diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-genesis.properties b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-genesis.properties new file mode 100644 index 0000000..77f7799 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-genesis.properties @@ -0,0 +1,10 @@ +# +#Wed Jul 15 02:31:35 EDT 2020 +default.Pack.dfplocation=/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10 +default.languagetoolchain.dir=/opt/microchip/xc8/v2.10/bin +configurations-xml=0eecc53d82e1a001c204dd2d47a4259e +com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=6e453b0cf7f7da72a932cfdb2f655401 +default.languagetoolchain.version=2.10 +host.platform=linux +conf.ids=default +default.com-microchip-mplab-nbide-toolchainXC8-XC8LanguageToolchain.md5=23d12c447ed4f9462f01e2202bc2f36a diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-impl.mk b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-impl.mk new file mode 100644 index 0000000..b2822c5 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-impl.mk @@ -0,0 +1,69 @@ +# +# Generated Makefile - do not edit! +# +# Edit the Makefile in the project folder instead (../Makefile). Each target +# has a pre- and a post- target defined where you can add customization code. +# +# This makefile implements macros and targets common to all configurations. +# +# NOCDDL + + +# Building and Cleaning subprojects are done by default, but can be controlled with the SUB +# macro. If SUB=no, subprojects will not be built or cleaned. The following macro +# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf +# and .clean-reqprojects-conf unless SUB has the value 'no' +SUB_no=NO +SUBPROJECTS=${SUB_${SUB}} +BUILD_SUBPROJECTS_=.build-subprojects +BUILD_SUBPROJECTS_NO= +BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}} +CLEAN_SUBPROJECTS_=.clean-subprojects +CLEAN_SUBPROJECTS_NO= +CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}} + + +# Project Name +PROJECTNAME=tests7_timer_6000hz.X + +# Active Configuration +DEFAULTCONF=default +CONF=${DEFAULTCONF} + +# All Configurations +ALLCONFS=default + + +# build +.build-impl: .build-pre + ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf + + +# clean +.clean-impl: .clean-pre + ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf + +# clobber +.clobber-impl: .clobber-pre .depcheck-impl + ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean + + + +# all +.all-impl: .all-pre .depcheck-impl + ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build + + + +# dependency checking support +.depcheck-impl: +# @echo "# This code depends on make tool being used" >.dep.inc +# @if [ -n "${MAKE_VERSION}" ]; then \ +# echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \ +# echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \ +# echo "include \$${DEPFILES}" >>.dep.inc; \ +# echo "endif" >>.dep.inc; \ +# else \ +# echo ".KEEP_STATE:" >>.dep.inc; \ +# echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \ +# fi diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-local-default.mk b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-local-default.mk new file mode 100644 index 0000000..62e3bb2 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-local-default.mk @@ -0,0 +1,36 @@ +# +# Generated Makefile - do not edit! +# +# +# This file contains information about the location of compilers and other tools. +# If you commmit this file into your revision control server, you will be able to +# to checkout the project and build it from the command line with make. However, +# if more than one person works on the same project, then this file might show +# conflicts since different users are bound to have compilers in different places. +# In that case you might choose to not commit this file and let MPLAB X recreate this file +# for each user. The disadvantage of not commiting this file is that you must run MPLAB X at +# least once so the file gets created and the project can be built. Finally, you can also +# avoid using this file at all if you are only building from the command line with make. +# You can invoke make with the values of the macros: +# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ... +# +PATH_TO_IDE_BIN=/opt/microchip/mplabx/v5.25/mplab_platform/platform/../mplab_ide/modules/../../bin/ +# Adding MPLAB X bin directory to path. +PATH:=/opt/microchip/mplabx/v5.25/mplab_platform/platform/../mplab_ide/modules/../../bin/:$(PATH) +# Path to java used to run MPLAB X when this makefile was created +MP_JAVA_PATH="/opt/microchip/mplabx/v5.25/sys/java/jre1.8.0_181/bin/" +OS_CURRENT="$(shell uname -s)" +MP_CC="/opt/microchip/xc8/v2.10/bin/xc8-cc" +# MP_CPPC is not defined +# MP_BC is not defined +MP_AS="/opt/microchip/xc8/v2.10/bin/xc8-cc" +MP_LD="/opt/microchip/xc8/v2.10/bin/xc8-cc" +MP_AR="/opt/microchip/xc8/v2.10/bin/xc8-ar" +DEP_GEN=${MP_JAVA_PATH}java -jar "/opt/microchip/mplabx/v5.25/mplab_platform/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar" +MP_CC_DIR="/opt/microchip/xc8/v2.10/bin" +# MP_CPPC_DIR is not defined +# MP_BC_DIR is not defined +MP_AS_DIR="/opt/microchip/xc8/v2.10/bin" +MP_LD_DIR="/opt/microchip/xc8/v2.10/bin" +MP_AR_DIR="/opt/microchip/xc8/v2.10/bin" +# MP_BC_DIR is not defined diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-variables.mk b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-variables.mk new file mode 100644 index 0000000..a38ba2d --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Makefile-variables.mk @@ -0,0 +1,13 @@ +# +# Generated - do not edit! +# +# NOCDDL +# +CND_BASEDIR=`pwd` +# default configuration +CND_ARTIFACT_DIR_default=dist/default/production +CND_ARTIFACT_NAME_default=tests7_timer_6000hz.X.production.hex +CND_ARTIFACT_PATH_default=dist/default/production/tests7_timer_6000hz.X.production.hex +CND_PACKAGE_DIR_default=${CND_DISTDIR}/default/package +CND_PACKAGE_NAME_default=tests7timer6000hz.x.tar +CND_PACKAGE_PATH_default=${CND_DISTDIR}/default/package/tests7timer6000hz.x.tar diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Package-default.bash b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Package-default.bash new file mode 100644 index 0000000..d885e1c --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/Package-default.bash @@ -0,0 +1,73 @@ +#!/bin/bash -x + +# +# Generated - do not edit! +# + +# Macros +TOP=`pwd` +CND_CONF=default +CND_DISTDIR=dist +TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging +TMPDIRNAME=tmp-packaging +OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/tests7_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +OUTPUT_BASENAME=tests7_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +PACKAGE_TOP_DIR=tests7timer6000hz.x/ + +# Functions +function checkReturnCode +{ + rc=$? + if [ $rc != 0 ] + then + exit $rc + fi +} +function makeDirectory +# $1 directory path +# $2 permission (optional) +{ + mkdir -p "$1" + checkReturnCode + if [ "$2" != "" ] + then + chmod $2 "$1" + checkReturnCode + fi +} +function copyFileToTmpDir +# $1 from-file path +# $2 to-file path +# $3 permission +{ + cp "$1" "$2" + checkReturnCode + if [ "$3" != "" ] + then + chmod $3 "$2" + checkReturnCode + fi +} + +# Setup +cd "${TOP}" +mkdir -p ${CND_DISTDIR}/${CND_CONF}/package +rm -rf ${TMPDIR} +mkdir -p ${TMPDIR} + +# Copy files and create directories and links +cd "${TOP}" +makeDirectory ${TMPDIR}/tests7timer6000hz.x/bin +copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755 + + +# Generate tar file +cd "${TOP}" +rm -f ${CND_DISTDIR}/${CND_CONF}/package/tests7timer6000hz.x.tar +cd ${TMPDIR} +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/package/tests7timer6000hz.x.tar * +checkReturnCode + +# Cleanup +cd "${TOP}" +rm -rf ${TMPDIR} diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/configurations.xml b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/configurations.xml new file mode 100644 index 0000000..5255745 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/configurations.xml @@ -0,0 +1,160 @@ + + + + + + + + + main.c + + + Makefile + + + Makefile + + + + localhost + ATtiny10 + + + + XC8 + 2.10 + 2 + + + + + + + + + + + + + false + false + + + + + + + false + + false + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/private/configurations.xml b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/private/configurations.xml new file mode 100644 index 0000000..e61d739 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/private/configurations.xml @@ -0,0 +1,25 @@ + + + Makefile + 0 + + + + /opt/microchip/xc8/v2.10/bin + + place holder 1 + place holder 2 + + + + + true + 0 + 0 + 0 + + + + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/private/private.xml b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/private/private.xml new file mode 100644 index 0000000..85e1734 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/private/private.xml @@ -0,0 +1,9 @@ + + + + + + file:/home/dev/Desktop/code/electronics/attiny10_mplab_test/tests7_timer_6000hz.X/main.c + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/project.xml b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/project.xml new file mode 100644 index 0000000..e3ec1ac --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests7_timer_6000hz.X/nbproject/project.xml @@ -0,0 +1,35 @@ + + + com.microchip.mplab.nbide.embedded.makeproject + + + tests7_timer_6000hz + tests6_timer_6000hz + tests5_timer_6000hz + tests4_timer_6000hz + tests3 + tests2 + tests1 + test2 + test1 + 1f6b2f6c-8c6d-40dd-a737-d73d987b2bef + 0 + c + + + + ISO-8859-1 + + + + + default + 2 + + + + false + + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/Makefile b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/Makefile new file mode 100644 index 0000000..fca8e2c --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/Makefile @@ -0,0 +1,113 @@ +# +# There exist several targets which are by default empty and which can be +# used for execution of your targets. These targets are usually executed +# before and after some main targets. They are: +# +# .build-pre: called before 'build' target +# .build-post: called after 'build' target +# .clean-pre: called before 'clean' target +# .clean-post: called after 'clean' target +# .clobber-pre: called before 'clobber' target +# .clobber-post: called after 'clobber' target +# .all-pre: called before 'all' target +# .all-post: called after 'all' target +# .help-pre: called before 'help' target +# .help-post: called after 'help' target +# +# Targets beginning with '.' are not intended to be called on their own. +# +# Main targets can be executed directly, and they are: +# +# build build a specific configuration +# clean remove built files from a configuration +# clobber remove all built files +# all build all configurations +# help print help mesage +# +# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and +# .help-impl are implemented in nbproject/makefile-impl.mk. +# +# Available make variables: +# +# CND_BASEDIR base directory for relative paths +# CND_DISTDIR default top distribution directory (build artifacts) +# CND_BUILDDIR default top build directory (object files, ...) +# CONF name of current configuration +# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) +# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) +# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) +# CND_PACKAGE_DIR_${CONF} directory of package (current configuration) +# CND_PACKAGE_NAME_${CONF} name of package (current configuration) +# CND_PACKAGE_PATH_${CONF} path to package (current configuration) +# +# NOCDDL + + +# Environment +MKDIR=mkdir +CP=cp +CCADMIN=CCadmin +RANLIB=ranlib + + +# build +build: .build-post + +.build-pre: +# Add your pre 'build' code here... + +.build-post: .build-impl +# Add your post 'build' code here... + + +# clean +clean: .clean-post + +.clean-pre: +# Add your pre 'clean' code here... +# WARNING: the IDE does not call this target since it takes a long time to +# simply run make. Instead, the IDE removes the configuration directories +# under build and dist directly without calling make. +# This target is left here so people can do a clean when running a clean +# outside the IDE. + +.clean-post: .clean-impl +# Add your post 'clean' code here... + + +# clobber +clobber: .clobber-post + +.clobber-pre: +# Add your pre 'clobber' code here... + +.clobber-post: .clobber-impl +# Add your post 'clobber' code here... + + +# all +all: .all-post + +.all-pre: +# Add your pre 'all' code here... + +.all-post: .all-impl +# Add your post 'all' code here... + + +# help +help: .help-post + +.help-pre: +# Add your pre 'help' code here... + +.help-post: .help-impl +# Add your post 'help' code here... + + + +# include project implementation makefile +include nbproject/Makefile-impl.mk + +# include project make variables +include nbproject/Makefile-variables.mk diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/build/default/production/main.o b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/build/default/production/main.o new file mode 100644 index 0000000000000000000000000000000000000000..322d739ca8021cc8c4887d6448c252bc1c1d7632 GIT binary patch literal 4028 zcma)8TZ|i58UD|V?e(smy@jR~Enr|v!o_2662dBETW@xAt5Oou6ord4vB$H!Lu`-b z8HXfD1finxh^VT*RM4swY7y{&kV;V@c|b@3oJI!Qsd677-CKsZ9wKd$psM$)|&9n*B4lhPQxZF(BsCRjhUP0VT z(kj)}s8{U|;*DbK57pm=Ouw2`WyI~EEHLn|N_I)an+QU&Wh=a|jUt2lLSpM44 z)3v=`-P1w4!Em{GaX>|-y3zhrbFg0BSE-&tY3u95UXVs{ubPCqPr&K)nXyiuq=R9Q zLYr*HgR~m3)|ITvpL9)TT!|mg`IXH;&xaI zJIFkUdr^?o>`eIGey7>;(=bVEd?ZVL8g;{gf1qBkZ(i}v=}FH%990+KoFh~rF*c|FeMJ8^HLLaamV+shcAdzCSA6Iyq>LviFV_Hv3N ztN%33`R%aNyzCDXac(L1i;hU%AB~6$zMppcs8rcegq8K%fjD{fE99S0zTX-~9W0}d z)ilw9%RwhZ!~!?HlgqW^VXG5LQE}2m9aY~2kKaht(`xdPsAox1ran1DPIZI0R7Dk5 z)Jp|y>~h0UJ1jqa(lFB>8(YuZ=J?}TI_2Q7GWMFI7pTu3o~K)b(bSx}zqqsH7Vj-S zT9{L3)NBDSupp(<10Zp(c8Oa&So&b;#7_8nYBbngu9Osrd_JQs>>myCG@bC|!Ll~a z(^#bFDMOTYmrv|`T$Sh4ylPB6b+{}tXsSt#!w@&!u3g zc5yFmof>wiZc#7j3~|bbY1EN7YAs@}45ZM9#@pl`PSQ3GCa|tNub=J@MY--IN^x_O zIXsJ#4xT0bJfs=RQ@evq&T)S&lLY|fK7Vzx2wrK+8G1qc6X9?Y%Z9f+wz_(-vS;NZ zXZ$4}mzs}@-ai}19o#cGiTk_*-adcvz=3yDH*b9a zfH6k$`g*qa4E3Yz##E2T2Vaw}%xo*Q9?O*xS8(z&;tGy&MqJ4r8|K@tjApLP%bKz0 z+|F}Pn+@dqkDT_8`@U#!asS^8M-t`CJhQ?RIL2L&421Pu5R#3wGfZu`U z09Vj2pt->BLjN9v>*)DyL7TnkmkhrPJ>OE9jqqtKxH8l9IPo-;kQcG36?`e*FqrT3 zJz_JBHw@2QKQ;KRz&|&b_59x0H-P_?vH5ex=5NME|C!>pXZ$|wOT?&w@n;NX4V4VP zkl~@y_Os}@Gw93r<*Qmu9Wm#O^GVD)D+Y6J_hc}~v|-+c!FiT*adXh@ZQ!#d8{!UBC+dYZDykAMh`Zeo-)33A^+B^6^1a@u+zUe-x$&*T^O_av zC~rq2##Yzz-|Tin%XR*Lc8joieO|lgn84=cnsPri&?sjS{5X1^De`RGODkyB2T*!w zhinlU-67y?yr&WG7vSujWaB-Y@d1>tA=cjsjM!Y~F}9eh=MdoY1V*gx;}~c2rnvTB z0LQ%i2e5hjz}5#)_T)t>1V*gx0>;^R{H$64$9O!BHr`{v)(23IBOcG26|1`nA{(!P zcsw(V$E(@KdkWb40LnSU`v-v$tNRkh*?8v=@7v%Qk5{*i_Z+bG0hBYmFfw9w-vmd@ zb4{V0#T-+|_KNAzX?YBG3wD5>c_}ZUW$PW5+_Z6><%r=rb>~4UwV(Vj% hzmT!KfV}5H-VNq1G{)n+bFH)Sir9ZAz*({J{td1U2XO!Z literal 0 HcmV?d00001 diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/build/default/production/main.o.d b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/build/default/production/main.o.d new file mode 100644 index 0000000..a491c02 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/build/default/production/main.o.d @@ -0,0 +1,55 @@ +build/default/production/main.o.d build/default/production/main.o: main.c \ + /opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/xc.h \ + /opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/cci.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/io.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/sfr_defs.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/inttypes.h \ + /opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/stdint.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/stdint.h \ + /home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/include/avr/iotn10.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/portpins.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/common.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/version.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/xmega.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/fuse.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/lock.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/util/delay.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/util/delay_basic.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/math.h \ + /opt/microchip/xc8/v2.10/avr/avr/include/avr/interrupt.h + +/opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/xc.h: + +/opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/cci.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/io.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/sfr_defs.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/inttypes.h: + +/opt/microchip/xc8/v2.10/avr/lib/gcc/avr/5.4.0/include/stdint.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/stdint.h: + +/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10/include/avr/iotn10.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/portpins.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/common.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/version.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/xmega.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/fuse.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/lock.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/util/delay.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/util/delay_basic.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/math.h: + +/opt/microchip/xc8/v2.10/avr/avr/include/avr/interrupt.h: diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/dist/default/production/memoryfile.xml b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/dist/default/production/memoryfile.xml new file mode 100644 index 0000000..002e713 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/dist/default/production/memoryfile.xml @@ -0,0 +1,17 @@ + + + + + bytes + 1024 + 102 + 922 + + + bytes + 32 + 0 + 32 + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/dist/default/production/tests8_timer_6000hz.X.production.elf b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/dist/default/production/tests8_timer_6000hz.X.production.elf new file mode 100755 index 0000000000000000000000000000000000000000..9d0272dbd85e9ac66ddf57ae996332db2d06c0b0 GIT binary patch literal 6532 zcmbW6Yls`y701uaNW0pV_U%Xfie<<4t{)mnwzIJvJ6^5!VcFV8v|85*gsE1V-Bqo} zB8^--rHKiYB=k!lY10oOA#Es>mVPKLX#!VJ~^45QWS+mQfYyNb`tRC+lUItPf{3sga)b4wr52F zSsxV-I(p{`}(Yi{IJ!2Q`_h%{jxEYkd4T6Z-Vl zJGZ8j$ur@R#N~`}%2+B|#`Nr>k*!us`PE#pVw})N^%F*Xbo6lee*L5#quqAn{2GxD z644P{XKcy2DX?(kVHf=;wGXNi(6%E}JAGkfL|bqver*@sB>y3q>;UOFDw91RoyTRe z8zgXACfh-}&dX#kNcV(H*e7^VCTBrHvo_gGT8#M_g69*1PT8}CIcY*-jYc_$o^Y0 z(LwHeUnUWd10Txd7|6jt*~EQ<)#6$-k>$FKiK+SMaXqHnm6r33bGd6ZHiRQ9g|Fvo z%aIe|$Q+usyxgedtzxwjshf6Q2eZRVx*fc3)f#yV*7|C-W<|_Oqs+dIO1-#JF$)oV zM{2T;Z_IMhEEVb$D&q^I=c(QF3A29Hs;))z)q)u{ONd;nR*Lz0RE&gCUMuC649l!r zQNGnr8CJ1u){N0uEVlZ%e#L%(;`RXqRq1dV66S`G)+kmi6e8`3AK|g7Nd z4y3A`EpF>Rf2mqo3A1chapE}F@zf_=hp*GN-B}>u6lj%F1CG~!y84WQS<2lo8g)`P z741398o%LaEO!`&RbE3&6`>XJWQ{_eRKM~e;&&>BvD7G*@E8p|O}DoEjeN;OjUBuw zsXkw!+E^-?6i|53NtsgK1XuX$UBIQhq;y>;lx^>IP2!H)3zelFyLn&=U5fJ*`093SLjV=$63pd9S& z??9sukk%UvJ`}{e)E0dwLC*vq45o(8htzJ2l^1k)L8li4yr9bqy1gLi1tBl!@q%72 z=<|YpFBtHGK`$8cf-PRK)eE+H!FDgW#|w6N!A>vOBv>jitgAnXPEykNf< z+~)-cyx^c09P)x;FBtKH!(MR23yylhF)y$uc3>!|1$G4%I|h`D;!bj&;#vTcd>d&2 zXJ+H2&=p4+4uylt5T?0bvhoyXSAPnYPMyw&9F?7k0=nXY;BY84^t2KhPzIH;?ia^H zL_F2qC@NmE?rv8dz?&c3qr`{U_e$^)J7~yH@ga8W3F5UJgbOCML;7T2qJH+=jn@%V z*by*wA)q<*M_ei$2pE+!istK5Nzs)5 z=Z-RnM}C#RLE762SKz0ew9Dz z+V3!4S{HhXvGd^`u=^FX?`LfyI9q#|_*Cs9>gs@?Xs)XU?7oIT& zv>#D6krYy&JP-=2uc0NFU3TIY@R0z$jg*Q@`7m!dVkA~x&f}w4J`)o&i&t<@runvz zNjTX!O{69=F-icrVlp{T3;4@SPE#^{X$A&l^T_5FlF3Ax7G{zen$KkDa(ae~Wfrni z=?u+Ywl&UXCTM;xlV!KXNrafljMIE-7B|pwnoK1Te=;?*a0&M*cqKvjZp)0b$z&#$ zaI$eHOCp=i#%RvA@O_+6EJj(bh_fju(_E6iGLhw$@xYAXQYrQd=Y06+pu+Qt`Mkml z>}6bRd)=j5bepDZVhw*ykrh)=`qq+vkhq*14=qBd?} zJ86WsKuQ{6{z^$B{zA1!Lu<`q$4R3eTi_Anq*1TiBS-hq#wORmUlS)OINP@q+jl}8 zX(5FUw`AV@Y;4A$Kh$Cyn|!W4C+Ykwos%uYjm=BApJmZb8=DKr`F(WK#-;&bK&bF< zi4Ztm3AyMG*Y^bUg6kAU|DS~{`qK~l3(&)^o%J8PGH0y+8hP7aq4%MS`uj0jd|ngv z_oMz#?yzrc{!6lRd_G~x_3eZ%%Cr5T#~z0+W)-*R0(2U~g~a+}l7ATODL|L&tFphF zxV<-^3&iE077Bd0{P&>C<$nO(*DAlUxei@!|2xomJowcg#Qb^BQ=T{RV|3H5f#ZD+ zU8FE{d}Qy4*Nx7~@wbZ3qY#(h4_%HQ^XO-x^Bm#C^-n-=$5-hKa9O_uyBseM{g7SS z8IQ}*+wnFwmn8cj#%tA6-hwW=$nE_$bTNRe6Q47UVx?%2jO4VEeb?0h`Wn9C# zvsyFaWZ2OSvr+(^NMsWRYE8|}8tKW|>8ukmJ9#B5@LVP}otkyRp?z!BQn6yzMZKnF zUgzqU5DH76S*tbHSZ_DL3FL+!g~^g?xx;vZ%b}5Vw{hvYziUe*O${iT>M^Z@Z;~tn+&BS-uYoL zmU-Rd#C}m*a&BxBc2R~cf5jDM!A-)(Yon0a)CDCWZ4-oz*G(a_-$iU4-jlW;!uE*A zj}I|_5Jt&nN-{+H3>)ABEV#+%<~8I}aoU0{#a0Oj@tYpM!@We`a_its_&p=Z%zp~M z_WIxU`>yN9Ls7uRztM_k1+gW+3|ZbqHBn!Cf6@9h)9di#HgJ9X{CVHNYnn)+Zr*!H v!%ClSCHk#!LN5BjxhTWte@3lj}?4(EEL +#include + +//this req'd for (and before calling) delay +//see delay.h +//compiler optimizations must also be enabled +#define F_CPU 8000000 +#include + +#include +//#include +//#include +//#include + + + + + +//tests5 tested and works (at ~950hz). unplug cable to programmer to see pin 4 active. +//however... +//tests6 DEADEND +//never worked right. giving up and using delay. + +//reference: https://www.avrfreaks.net/forum/sample-project-attiny10 +//https://blog.podkalicki.com/attiny13-blinky-with-timer-compa/ +//watchdog is too slow and inaccurate to get 6000Hz + +//ISR(TIM0_COMPA_vect) +//{ +// // Toggle PB2 Hi/Low depending on current state +// PINB = 1<<2; +// TIFR0 |= 1< 256? (test) + + //520 about 950hz, 25us wide pulse + //OCR0A = 520; // with one timer, ever 166.667hz we want to count once (3000hz) + + //OCR0A = 1; //475hz + + //this goes to 475hz (pulses). doesn't make sense. +//// OCR0AH = 0xFF; // +//// OCR0AL = 0xFF; + + //attiny10 output compare broken apparently + //this still 960hz, with 100us or so pulse size (high is 100us, low is longer) + //OCR0A = 100; + + + //inline asm to load values into 16 bit register + + //; variables + //; For 1 Hz output, the timer delay has to be 1/2 second (1/2 second on / 1/2 second off) + //; delay = OCR0A * 1024 * 8 / 8000000 + //; for 1/2 second, OCR0A = 488 (0x01E8) + //.EQU OCR0AHigh = 0x01 + //.EQU OCR0ALow = 0xe8 + // in bash type: printf "%x\n" 488 + //.EQU OCR0AHigh = 0x02 + //.EQU OCR0ALow = 0x08 + + // ldi r17, OCR0AHigh //; Sets the output compare register value + //ldi r16, OCR0ALow + + //this asm doesn't work (why?) //perhaps OCR0A is really just 8 bits on attiny10...?) +////// asm volatile( +////// "ldi r17, 0x02" +////// "ldi r16, 0x08" +////// "out OCR0AH, r17" +////// "out OCR0AL, r16" +////// ); + + //this asm works +// asm volatile("nop\n\t" +//"nop\n\t" +//"nop\n\t" +//"nop\n\t" +//::); +//////// +//////// TIMSK0 |= _BV(OCIE0A); // enable Timer CTC interrupt +//////// + // PB2 change to output + DDRB = 1<<2; +//// sei(); + + + int x = 0; + while(1) + { + + //this goes about 60.3KHz. + //experiment FAIL + //will just buy a 6KHz oscillator. + + PINB = 1<<2; + //EDIT: disabled optimization in mplab (level 0) + //and ended up geting much slower IO + //asm("nop;"); + //for(x=0;x<10;x++){ + + //note it's _delay_us not delay_us + + //delay_us(1) is 44.3KHz + //_delay_us(8); //9 is 6.4KHz, 8 is roughly 7.2KHz + //delay_us(10) is 5.8KHz + //not much granularity there...) + //so adding the following... + if( x == 3){ + _delay_us(4);//these two are 5.98 or so KHz + x = 0; + goto jump; + } + + //NOTE: the above ends up causing an ugly looking clock. may not matter + //for fpga clocking off of rising edge, BUT, it is ugly, should remove, + //and just do single delay. Will do in part 9. + + x++; + jump: + //in combination with the jump, gives closer to 6KHz + _delay_us(8); + + + + ///below didn't work out, so using osccal + //bit convuluted anyways + /*if( x == 4){ + _delay_us(1); + //x = 0; + goto jump; + } + if( x == 8){ + _delay_us(2); + x = 0; + goto jump; + } + x++; + jump: + //in combination with the jump, gives closer to 6KHz + _delay_us(8);*/ + + + //the above idles at 5.98 - 5.99KHz. + //best so far. + //Now, calibrate oscillator with OSCCAL + + //if more accuracy desired. + //or adjust if clause above + + //tried to make my own delay in ASM, BUT + //compiler keeps optimizing it out (even w/out optimization enabled) + //... some other flag may be culprit. So instead will use delay_us. Two delay + //functions are delay_ms and delay_us. see headers at top and delay.h) + /* __asm__("mov r16, r17;" + "mov r17, r16;" + "inc r16;" + "dec r16;" + "mov r16, r17;" + "mov r17, r16;" + "inc r16;" + "dec r16;" + "clr r16;" + "clr r17;" + "clr r18;" + "clr r19;" + "clr r20;" + "clr r21;" + "clr r22;" + "clr r23;" + "mov r16, r17;" + "mov r17, r16;" + "inc r16;" + "dec r16;" + "mov r16, r17;" + "mov r17, r16;" + "clr r16;" + "clr r17;" + "clr r18;" + "clr r19;" + "clr r20;" + "clr r21;" + "clr r22;" + "clr r23;" + "mov r16, r17;" + "mov r17, r16;" + "inc r16;" + "dec r16;" + "mov r16, r17;" + "mov r17, r16;" + + + );*/ + + + + //mplab delay is: + /** \ingroup util_delay_basic + + Delay loop using an 8-bit counter \c __count, so up to 256 + iterations are possible. (The value 256 would have to be passed + as 0.) The loop executes three CPU cycles per iteration, not + including the overhead the compiler needs to setup the counter + register. + + Thus, at a CPU speed of 1 MHz, delays of up to 768 microseconds + can be achieved. +*/ +//////////void +//////////_delay_loop_1(uint8_t __count) +//////////{ +////////// __asm__ volatile ( +////////// "1: dec %0" "\n\t" +////////// "brne 1b" +////////// : "=r" (__count) +////////// : "0" (__count) +////////// ); +//////////} +////////// +////////// + //ignore below + // asm("nop;""nop;""nop;""nop;""nop;" + //"nop;""nop;"//"nop;""nop;"//"nop;""nop;" + //); + //}//just this asm block is about 121.22KHz + + } +} + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-default.mk b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-default.mk new file mode 100644 index 0000000..52e708c --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-default.mk @@ -0,0 +1,158 @@ +# +# Generated Makefile - do not edit! +# +# Edit the Makefile in the project folder instead (../Makefile). Each target +# has a -pre and a -post target defined where you can add customized code. +# +# This makefile implements configuration specific macros and targets. + + +# Include project Makefile +ifeq "${IGNORE_LOCAL}" "TRUE" +# do not include local makefile. User is passing all local related variables already +else +include Makefile +# Include makefile containing local settings +ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk" +include nbproject/Makefile-local-default.mk +endif +endif + +# Environment +MKDIR=mkdir -p +RM=rm -f +MV=mv +CP=cp + +# Macros +CND_CONF=default +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +IMAGE_TYPE=debug +OUTPUT_SUFFIX=elf +DEBUGGABLE_SUFFIX=elf +FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/tests8_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +else +IMAGE_TYPE=production +OUTPUT_SUFFIX=hex +DEBUGGABLE_SUFFIX=elf +FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/tests8_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +endif + +ifeq ($(COMPARE_BUILD), true) +COMPARISON_BUILD= +else +COMPARISON_BUILD= +endif + +ifdef SUB_IMAGE_ADDRESS + +else +SUB_IMAGE_ADDRESS_COMMAND= +endif + +# Object Directory +OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE} + +# Distribution Directory +DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE} + +# Source Files Quoted if spaced +SOURCEFILES_QUOTED_IF_SPACED=main.c + +# Object Files Quoted if spaced +OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/main.o +POSSIBLE_DEPFILES=${OBJECTDIR}/main.o.d + +# Object Files +OBJECTFILES=${OBJECTDIR}/main.o + +# Source Files +SOURCEFILES=main.c + + + +CFLAGS= +ASFLAGS= +LDLIBSOPTIONS= + +############# Tool locations ########################################## +# If you copy a project from one host to another, the path where the # +# compiler is installed may be different. # +# If you open this project with MPLAB X in the new host, this # +# makefile will be regenerated and the paths will be corrected. # +####################################################################### +# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build +FIXDEPS=fixDeps + +.build-conf: ${BUILD_SUBPROJECTS} +ifneq ($(INFORMATION_MESSAGE), ) + @echo $(INFORMATION_MESSAGE) +endif + ${MAKE} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/tests8_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} + +MP_PROCESSOR_OPTION=ATtiny10 +# ------------------------------------------------------------------------------------ +# Rules for buildStep: compile +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +${OBJECTDIR}/main.o: main.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/main.o.d + @${RM} ${OBJECTDIR}/main.o + ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -g -DDEBUG -gdwarf-2 -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -MD -MP -MF "${OBJECTDIR}/main.o.d" -MT "${OBJECTDIR}/main.o.d" -MT ${OBJECTDIR}/main.o -o ${OBJECTDIR}/main.o main.c + +else +${OBJECTDIR}/main.o: main.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/main.o.d + @${RM} ${OBJECTDIR}/main.o + ${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -MD -MP -MF "${OBJECTDIR}/main.o.d" -MT "${OBJECTDIR}/main.o.d" -MT ${OBJECTDIR}/main.o -o ${OBJECTDIR}/main.o main.c + +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: assemble +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +else +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: assembleWithPreprocess +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +else +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: link +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +dist/${CND_CONF}/${IMAGE_TYPE}/tests8_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} + ${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=dist/${CND_CONF}/${IMAGE_TYPE}/tests8_timer_6000hz.X.${IMAGE_TYPE}.map -D__DEBUG=1 -DXPRJ_default=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10" -gdwarf-2 -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields -Wall -gdwarf-3 $(COMPARISON_BUILD) -Wl,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml -o dist/${CND_CONF}/${IMAGE_TYPE}/tests8_timer_6000hz.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o dist/${CND_CONF}/${IMAGE_TYPE}/tests8_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1 + @${RM} dist/${CND_CONF}/${IMAGE_TYPE}/tests8_timer_6000hz.X.${IMAGE_TYPE}.hex + +else +dist/${CND_CONF}/${IMAGE_TYPE}/tests8_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} + ${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=dist/${CND_CONF}/${IMAGE_TYPE}/tests8_timer_6000hz.X.${IMAGE_TYPE}.map -DXPRJ_default=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields -Wall -gdwarf-3 $(COMPARISON_BUILD) -Wl,--memorysummary,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml -o dist/${CND_CONF}/${IMAGE_TYPE}/tests8_timer_6000hz.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o dist/${CND_CONF}/${IMAGE_TYPE}/tests8_timer_6000hz.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group + ${MP_CC_DIR}/avr-objcopy -O ihex "dist/${CND_CONF}/${IMAGE_TYPE}/tests8_timer_6000hz.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "dist/${CND_CONF}/${IMAGE_TYPE}/tests8_timer_6000hz.X.${IMAGE_TYPE}.hex" +endif + + +# Subprojects +.build-subprojects: + + +# Subprojects +.clean-subprojects: + +# Clean Targets +.clean-conf: ${CLEAN_SUBPROJECTS} + ${RM} -r build/default + ${RM} -r dist/default + +# Enable dependency checking +.dep.inc: .depcheck-impl + +DEPFILES=$(shell "${PATH_TO_IDE_BIN}"mplabwildcard ${POSSIBLE_DEPFILES}) +ifneq (${DEPFILES},) +include ${DEPFILES} +endif diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-genesis.properties b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-genesis.properties new file mode 100644 index 0000000..82f3ca0 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-genesis.properties @@ -0,0 +1,10 @@ +# +#Fri Jul 17 00:42:56 EDT 2020 +default.Pack.dfplocation=/home/dev/.mchp_packs/Microchip/ATtiny_DFP/2.0.10 +default.languagetoolchain.dir=/opt/microchip/xc8/v2.10/bin +configurations-xml=5e854234238a55dafe0eba84ce6d1401 +com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=6e453b0cf7f7da72a932cfdb2f655401 +default.languagetoolchain.version=2.10 +host.platform=linux +conf.ids=default +default.com-microchip-mplab-nbide-toolchainXC8-XC8LanguageToolchain.md5=23d12c447ed4f9462f01e2202bc2f36a diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-impl.mk b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-impl.mk new file mode 100644 index 0000000..54d8514 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-impl.mk @@ -0,0 +1,69 @@ +# +# Generated Makefile - do not edit! +# +# Edit the Makefile in the project folder instead (../Makefile). Each target +# has a pre- and a post- target defined where you can add customization code. +# +# This makefile implements macros and targets common to all configurations. +# +# NOCDDL + + +# Building and Cleaning subprojects are done by default, but can be controlled with the SUB +# macro. If SUB=no, subprojects will not be built or cleaned. The following macro +# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf +# and .clean-reqprojects-conf unless SUB has the value 'no' +SUB_no=NO +SUBPROJECTS=${SUB_${SUB}} +BUILD_SUBPROJECTS_=.build-subprojects +BUILD_SUBPROJECTS_NO= +BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}} +CLEAN_SUBPROJECTS_=.clean-subprojects +CLEAN_SUBPROJECTS_NO= +CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}} + + +# Project Name +PROJECTNAME=tests8_timer_6000hz.X + +# Active Configuration +DEFAULTCONF=default +CONF=${DEFAULTCONF} + +# All Configurations +ALLCONFS=default + + +# build +.build-impl: .build-pre + ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf + + +# clean +.clean-impl: .clean-pre + ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf + +# clobber +.clobber-impl: .clobber-pre .depcheck-impl + ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean + + + +# all +.all-impl: .all-pre .depcheck-impl + ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build + + + +# dependency checking support +.depcheck-impl: +# @echo "# This code depends on make tool being used" >.dep.inc +# @if [ -n "${MAKE_VERSION}" ]; then \ +# echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \ +# echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \ +# echo "include \$${DEPFILES}" >>.dep.inc; \ +# echo "endif" >>.dep.inc; \ +# else \ +# echo ".KEEP_STATE:" >>.dep.inc; \ +# echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \ +# fi diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-local-default.mk b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-local-default.mk new file mode 100644 index 0000000..62e3bb2 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-local-default.mk @@ -0,0 +1,36 @@ +# +# Generated Makefile - do not edit! +# +# +# This file contains information about the location of compilers and other tools. +# If you commmit this file into your revision control server, you will be able to +# to checkout the project and build it from the command line with make. However, +# if more than one person works on the same project, then this file might show +# conflicts since different users are bound to have compilers in different places. +# In that case you might choose to not commit this file and let MPLAB X recreate this file +# for each user. The disadvantage of not commiting this file is that you must run MPLAB X at +# least once so the file gets created and the project can be built. Finally, you can also +# avoid using this file at all if you are only building from the command line with make. +# You can invoke make with the values of the macros: +# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ... +# +PATH_TO_IDE_BIN=/opt/microchip/mplabx/v5.25/mplab_platform/platform/../mplab_ide/modules/../../bin/ +# Adding MPLAB X bin directory to path. +PATH:=/opt/microchip/mplabx/v5.25/mplab_platform/platform/../mplab_ide/modules/../../bin/:$(PATH) +# Path to java used to run MPLAB X when this makefile was created +MP_JAVA_PATH="/opt/microchip/mplabx/v5.25/sys/java/jre1.8.0_181/bin/" +OS_CURRENT="$(shell uname -s)" +MP_CC="/opt/microchip/xc8/v2.10/bin/xc8-cc" +# MP_CPPC is not defined +# MP_BC is not defined +MP_AS="/opt/microchip/xc8/v2.10/bin/xc8-cc" +MP_LD="/opt/microchip/xc8/v2.10/bin/xc8-cc" +MP_AR="/opt/microchip/xc8/v2.10/bin/xc8-ar" +DEP_GEN=${MP_JAVA_PATH}java -jar "/opt/microchip/mplabx/v5.25/mplab_platform/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar" +MP_CC_DIR="/opt/microchip/xc8/v2.10/bin" +# MP_CPPC_DIR is not defined +# MP_BC_DIR is not defined +MP_AS_DIR="/opt/microchip/xc8/v2.10/bin" +MP_LD_DIR="/opt/microchip/xc8/v2.10/bin" +MP_AR_DIR="/opt/microchip/xc8/v2.10/bin" +# MP_BC_DIR is not defined diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-variables.mk b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-variables.mk new file mode 100644 index 0000000..27677a7 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Makefile-variables.mk @@ -0,0 +1,13 @@ +# +# Generated - do not edit! +# +# NOCDDL +# +CND_BASEDIR=`pwd` +# default configuration +CND_ARTIFACT_DIR_default=dist/default/production +CND_ARTIFACT_NAME_default=tests8_timer_6000hz.X.production.hex +CND_ARTIFACT_PATH_default=dist/default/production/tests8_timer_6000hz.X.production.hex +CND_PACKAGE_DIR_default=${CND_DISTDIR}/default/package +CND_PACKAGE_NAME_default=tests8timer6000hz.x.tar +CND_PACKAGE_PATH_default=${CND_DISTDIR}/default/package/tests8timer6000hz.x.tar diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Package-default.bash b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Package-default.bash new file mode 100644 index 0000000..c20d7c7 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/Package-default.bash @@ -0,0 +1,73 @@ +#!/bin/bash -x + +# +# Generated - do not edit! +# + +# Macros +TOP=`pwd` +CND_CONF=default +CND_DISTDIR=dist +TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging +TMPDIRNAME=tmp-packaging +OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/tests8_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +OUTPUT_BASENAME=tests8_timer_6000hz.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +PACKAGE_TOP_DIR=tests8timer6000hz.x/ + +# Functions +function checkReturnCode +{ + rc=$? + if [ $rc != 0 ] + then + exit $rc + fi +} +function makeDirectory +# $1 directory path +# $2 permission (optional) +{ + mkdir -p "$1" + checkReturnCode + if [ "$2" != "" ] + then + chmod $2 "$1" + checkReturnCode + fi +} +function copyFileToTmpDir +# $1 from-file path +# $2 to-file path +# $3 permission +{ + cp "$1" "$2" + checkReturnCode + if [ "$3" != "" ] + then + chmod $3 "$2" + checkReturnCode + fi +} + +# Setup +cd "${TOP}" +mkdir -p ${CND_DISTDIR}/${CND_CONF}/package +rm -rf ${TMPDIR} +mkdir -p ${TMPDIR} + +# Copy files and create directories and links +cd "${TOP}" +makeDirectory ${TMPDIR}/tests8timer6000hz.x/bin +copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755 + + +# Generate tar file +cd "${TOP}" +rm -f ${CND_DISTDIR}/${CND_CONF}/package/tests8timer6000hz.x.tar +cd ${TMPDIR} +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/package/tests8timer6000hz.x.tar * +checkReturnCode + +# Cleanup +cd "${TOP}" +rm -rf ${TMPDIR} diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/configurations.xml b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/configurations.xml new file mode 100644 index 0000000..70bc52a --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/configurations.xml @@ -0,0 +1,160 @@ + + + + + + + + + main.c + + + Makefile + + + Makefile + + + + localhost + ATtiny10 + + + + XC8 + 2.10 + 2 + + + + + + + + + + + + + false + false + + + + + + + false + + false + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/private/configurations.xml b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/private/configurations.xml new file mode 100644 index 0000000..e61d739 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/private/configurations.xml @@ -0,0 +1,25 @@ + + + Makefile + 0 + + + + /opt/microchip/xc8/v2.10/bin + + place holder 1 + place holder 2 + + + + + true + 0 + 0 + 0 + + + + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/private/private.xml b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/private/private.xml new file mode 100644 index 0000000..85e1734 --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/private/private.xml @@ -0,0 +1,9 @@ + + + + + + file:/home/dev/Desktop/code/electronics/attiny10_mplab_test/tests7_timer_6000hz.X/main.c + + + diff --git a/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/project.xml b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/project.xml new file mode 100644 index 0000000..265aedc --- /dev/null +++ b/Attiny_Solar_Energy_Harvest/code/mplab/tests8_timer_6000hz.X/nbproject/project.xml @@ -0,0 +1,36 @@ + + + com.microchip.mplab.nbide.embedded.makeproject + + + tests8_timer_6000hz + tests7_timer_6000hz + tests6_timer_6000hz + tests5_timer_6000hz + tests4_timer_6000hz + tests3 + tests2 + tests1 + test2 + test1 + 1f6b2f6c-8c6d-40dd-a737-d73d987b2bef + 0 + c + + + + ISO-8859-1 + + + + + default + 2 + + + + false + + + +