From 4dba5457caa16e594c779e4325a1f849759f71a9 Mon Sep 17 00:00:00 2001 From: Penguin Date: Fri, 3 Jul 2020 04:29:19 -0500 Subject: [PATCH] moving around, prepping rs --- testing_rust_again/.gitignore => .gitignore | 0 testing_rust_again/Cargo.lock => Cargo.lock | 2 +- testing_rust_again/Cargo.toml => Cargo.toml | 2 +- README.md.temp | 40 ++++++++++++++++++ build.bat => old/build.bat | 0 build.sh => old/build.sh | 0 {build => old/build}/libcommon.dll | Bin {build => old/build}/libcommon.exp | Bin {build => old/build}/libcommon.lib | Bin {build => old/build}/libcommon.map | 0 {build => old/build}/libcommon.obj | Bin {build => old/build}/libcommon.pdb | Bin {build => old/build}/tests.exe | Bin {build => old/build}/tests.exp | Bin {build => old/build}/tests.lib | Bin {build => old/build}/tests.map | 0 {build => old/build}/tests.obj | Bin {build => old/build}/tests.pdb | Bin {build => old/build}/vc140.pdb | Bin {fwk_test => old/fwk_test}/.gdb_history | 0 {fwk_test => old/fwk_test}/Makefile | 0 {fwk_test => old/fwk_test}/bin/main.elf | Bin .../fwk_test}/build/hal_sam_d2x.d | 0 .../fwk_test}/build/hal_sam_d2x.o | Bin .../fwk_test}/build/hdi_sam_d2x.d | 0 .../fwk_test}/build/hdi_sam_d2x.o | Bin {fwk_test => old/fwk_test}/build/main.d | 0 {fwk_test => old/fwk_test}/build/main.o | Bin {fwk_test => old/fwk_test}/build/mcu.d | 0 {fwk_test => old/fwk_test}/build/mcu.o | Bin .../fwk_test}/conf/epenguin_conf.h | 0 {fwk_test => old/fwk_test}/inc/cmsis | 0 {fwk_test => old/fwk_test}/inc/common | 0 {fwk_test => old/fwk_test}/inc/epenguin.hpp | 0 {fwk_test => old/fwk_test}/inc/hal | 0 {fwk_test => old/fwk_test}/inc/hdi | 0 {fwk_test => old/fwk_test}/ld/ex.ld | 0 .../fwk_test}/scripts/Makelinks.sh | 0 .../fwk_test}/scripts/Removelinks.sh | 0 .../fwk_test}/scripts/openocd.cfg | 0 {fwk_test => old/fwk_test}/src/common | 0 {fwk_test => old/fwk_test}/src/hal | 0 {fwk_test => old/fwk_test}/src/hdi | 0 {fwk_test => old/fwk_test}/src/main.cpp | 0 .../libcommon}/src/libcommon.cpp | 0 {libcommon => old/libcommon}/src/minwindows.h | 0 {libcommon => old/libcommon}/src/shared.cpp | 0 {libcommon => old/libcommon}/src/shared.h | 0 .../libcommon}/src/tokenizer.cpp | 0 {libcommon => old/libcommon}/src/tokenizer.h | 0 {libcommon => old/libcommon}/src/types.h | 0 test => old/test | Bin {tests => old/tests}/src/tests.cpp | 0 {tools => old/tools}/btime | Bin {tools => old/tools}/btime.exe | Bin {tools => old/tools}/build-timer/btime | Bin {tools => old/tools}/build-timer/btime.c | 0 {tools => old/tools}/build-timer/btime.exe | Bin {tools => old/tools}/build-timer/btime.obj | Bin {tools => old/tools}/build-timer/build.bat | 0 {tools => old/tools}/build-timer/build.sh | 0 {tools => old/tools}/shell.sh | 0 src/.#main.rs | 1 + src/main.rs | 3 ++ testing_rust_again/GPATH | Bin 16384 -> 0 bytes testing_rust_again/GRTAGS | Bin 16384 -> 0 bytes testing_rust_again/GTAGS | Bin 16384 -> 0 bytes testing_rust_again/src/main.rs | 38 ----------------- 68 files changed, 46 insertions(+), 40 deletions(-) rename testing_rust_again/.gitignore => .gitignore (100%) rename testing_rust_again/Cargo.lock => Cargo.lock (81%) rename testing_rust_again/Cargo.toml => Cargo.toml (86%) create mode 100644 README.md.temp rename build.bat => old/build.bat (100%) rename build.sh => old/build.sh (100%) rename {build => old/build}/libcommon.dll (100%) rename {build => old/build}/libcommon.exp (100%) rename {build => old/build}/libcommon.lib (100%) rename {build => old/build}/libcommon.map (100%) rename {build => old/build}/libcommon.obj (100%) rename {build => old/build}/libcommon.pdb (100%) rename {build => old/build}/tests.exe (100%) rename {build => old/build}/tests.exp (100%) rename {build => old/build}/tests.lib (100%) rename {build => old/build}/tests.map (100%) rename {build => old/build}/tests.obj (100%) rename {build => old/build}/tests.pdb (100%) rename {build => old/build}/vc140.pdb (100%) rename {fwk_test => old/fwk_test}/.gdb_history (100%) rename {fwk_test => old/fwk_test}/Makefile (100%) rename {fwk_test => old/fwk_test}/bin/main.elf (100%) rename {fwk_test => old/fwk_test}/build/hal_sam_d2x.d (100%) rename {fwk_test => old/fwk_test}/build/hal_sam_d2x.o (100%) rename {fwk_test => old/fwk_test}/build/hdi_sam_d2x.d (100%) rename {fwk_test => old/fwk_test}/build/hdi_sam_d2x.o (100%) rename {fwk_test => old/fwk_test}/build/main.d (100%) rename {fwk_test => old/fwk_test}/build/main.o (100%) rename {fwk_test => old/fwk_test}/build/mcu.d (100%) rename {fwk_test => old/fwk_test}/build/mcu.o (100%) rename {fwk_test => old/fwk_test}/conf/epenguin_conf.h (100%) rename {fwk_test => old/fwk_test}/inc/cmsis (100%) rename {fwk_test => old/fwk_test}/inc/common (100%) rename {fwk_test => old/fwk_test}/inc/epenguin.hpp (100%) rename {fwk_test => old/fwk_test}/inc/hal (100%) rename {fwk_test => old/fwk_test}/inc/hdi (100%) rename {fwk_test => old/fwk_test}/ld/ex.ld (100%) rename {fwk_test => old/fwk_test}/scripts/Makelinks.sh (100%) rename {fwk_test => old/fwk_test}/scripts/Removelinks.sh (100%) rename {fwk_test => old/fwk_test}/scripts/openocd.cfg (100%) rename {fwk_test => old/fwk_test}/src/common (100%) rename {fwk_test => old/fwk_test}/src/hal (100%) rename {fwk_test => old/fwk_test}/src/hdi (100%) rename {fwk_test => old/fwk_test}/src/main.cpp (100%) rename {libcommon => old/libcommon}/src/libcommon.cpp (100%) rename {libcommon => old/libcommon}/src/minwindows.h (100%) rename {libcommon => old/libcommon}/src/shared.cpp (100%) rename {libcommon => old/libcommon}/src/shared.h (100%) rename {libcommon => old/libcommon}/src/tokenizer.cpp (100%) rename {libcommon => old/libcommon}/src/tokenizer.h (100%) rename {libcommon => old/libcommon}/src/types.h (100%) rename test => old/test (100%) rename {tests => old/tests}/src/tests.cpp (100%) rename {tools => old/tools}/btime (100%) rename {tools => old/tools}/btime.exe (100%) rename {tools => old/tools}/build-timer/btime (100%) rename {tools => old/tools}/build-timer/btime.c (100%) rename {tools => old/tools}/build-timer/btime.exe (100%) rename {tools => old/tools}/build-timer/btime.obj (100%) rename {tools => old/tools}/build-timer/build.bat (100%) rename {tools => old/tools}/build-timer/build.sh (100%) rename {tools => old/tools}/shell.sh (100%) create mode 120000 src/.#main.rs create mode 100644 src/main.rs delete mode 100644 testing_rust_again/GPATH delete mode 100644 testing_rust_again/GRTAGS delete mode 100644 testing_rust_again/GTAGS delete mode 100644 testing_rust_again/src/main.rs diff --git a/testing_rust_again/.gitignore b/.gitignore similarity index 100% rename from testing_rust_again/.gitignore rename to .gitignore diff --git a/testing_rust_again/Cargo.lock b/Cargo.lock similarity index 81% rename from testing_rust_again/Cargo.lock rename to Cargo.lock index 1c89607..01c2849 100644 --- a/testing_rust_again/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. [[package]] -name = "testing_rust_again" +name = "ePenguin-igloo" version = "0.1.0" diff --git a/testing_rust_again/Cargo.toml b/Cargo.toml similarity index 86% rename from testing_rust_again/Cargo.toml rename to Cargo.toml index 3811bac..e93f8e4 100644 --- a/testing_rust_again/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "testing_rust_again" +name = "ePenguin-igloo" version = "0.1.0" authors = ["Penguin <...>"] edition = "2018" diff --git a/README.md.temp b/README.md.temp new file mode 100644 index 0000000..6352090 --- /dev/null +++ b/README.md.temp @@ -0,0 +1,40 @@ +# ePenguin-Igloo + +### What is Igloo? + +Igloo is a package and project manager. It is used for bare metal (for now only bare metal) embedded systems. In the embedded world, there is a big gap between how one would write code for embedded systems between manufacturers. As of today, 7/2/20, there is really no easy way to go about writing code for any embedded system from scratch. Most of the time, you need to download headers from some unknown location, figure out your hardware interface, find the proper toolchain, etc. This forces embedded developers and engineers to spend a lot of unnecessary time on DevOps and less time on firmware engineering. Igloo aims to solve this problem. + +### How does Igloo help with this problem? + +This tool allows you to create projects for supported mcus instantly. As long as your hardware is supported, Igloo will just make the project for you. It also allows you to add pre-written software modules, just in case you don't want to write your own. + +### Status Guide +| Icon | Description | +| --- | --- | +| :grey_exclamation: | Not supported | +| :exclamation: | In Development | +| :grey_question: | Unstable | +| :question: | Experimental | +| :heavy_check_mark: | Tentatively Working | +| :white_check_mark: | Stable | + +##### Status Guide Description + - Not Supported: This means it is not currently supported. It does not mean it will never be supported. + - In Development: Yet to be released for use at all. We're working on it. + - Unstable: A version of this is out for public development, but it doesn't work yet. + - Experimental: A version of this is out for public developement and testing. It may or may not work. + - Tentatively Working: Some form of this works. It just may not be working in the right way yet. + - Stable: This works as far as we know. Any bugs are minor and should not interfere with use. +### Supported Platforms + +| Platform | Status | +| --- | --- | +| Windows | :exclamation: | +| Linux | :exclamation: | +| MacOS | :exclamation: | + +### Installation -- TBD + +### Usage -- TBD + +### How to contribute -- TBD diff --git a/build.bat b/old/build.bat similarity index 100% rename from build.bat rename to old/build.bat diff --git a/build.sh b/old/build.sh similarity index 100% rename from build.sh rename to old/build.sh diff --git a/build/libcommon.dll b/old/build/libcommon.dll similarity index 100% rename from build/libcommon.dll rename to old/build/libcommon.dll diff --git a/build/libcommon.exp b/old/build/libcommon.exp similarity index 100% rename from build/libcommon.exp rename to old/build/libcommon.exp diff --git a/build/libcommon.lib b/old/build/libcommon.lib similarity index 100% rename from build/libcommon.lib rename to old/build/libcommon.lib diff --git a/build/libcommon.map b/old/build/libcommon.map similarity index 100% rename from build/libcommon.map rename to old/build/libcommon.map diff --git a/build/libcommon.obj b/old/build/libcommon.obj similarity index 100% rename from build/libcommon.obj rename to old/build/libcommon.obj diff --git a/build/libcommon.pdb b/old/build/libcommon.pdb similarity index 100% rename from build/libcommon.pdb rename to old/build/libcommon.pdb diff --git a/build/tests.exe b/old/build/tests.exe similarity index 100% rename from build/tests.exe rename to old/build/tests.exe diff --git a/build/tests.exp b/old/build/tests.exp similarity index 100% rename from build/tests.exp rename to old/build/tests.exp diff --git a/build/tests.lib b/old/build/tests.lib similarity index 100% rename from build/tests.lib rename to old/build/tests.lib diff --git a/build/tests.map b/old/build/tests.map similarity index 100% rename from build/tests.map rename to old/build/tests.map diff --git a/build/tests.obj b/old/build/tests.obj similarity index 100% rename from build/tests.obj rename to old/build/tests.obj diff --git a/build/tests.pdb b/old/build/tests.pdb similarity index 100% rename from build/tests.pdb rename to old/build/tests.pdb diff --git a/build/vc140.pdb b/old/build/vc140.pdb similarity index 100% rename from build/vc140.pdb rename to old/build/vc140.pdb diff --git a/fwk_test/.gdb_history b/old/fwk_test/.gdb_history similarity index 100% rename from fwk_test/.gdb_history rename to old/fwk_test/.gdb_history diff --git a/fwk_test/Makefile b/old/fwk_test/Makefile similarity index 100% rename from fwk_test/Makefile rename to old/fwk_test/Makefile diff --git a/fwk_test/bin/main.elf b/old/fwk_test/bin/main.elf similarity index 100% rename from fwk_test/bin/main.elf rename to old/fwk_test/bin/main.elf diff --git a/fwk_test/build/hal_sam_d2x.d b/old/fwk_test/build/hal_sam_d2x.d similarity index 100% rename from fwk_test/build/hal_sam_d2x.d rename to old/fwk_test/build/hal_sam_d2x.d diff --git a/fwk_test/build/hal_sam_d2x.o b/old/fwk_test/build/hal_sam_d2x.o similarity index 100% rename from fwk_test/build/hal_sam_d2x.o rename to old/fwk_test/build/hal_sam_d2x.o diff --git a/fwk_test/build/hdi_sam_d2x.d b/old/fwk_test/build/hdi_sam_d2x.d similarity index 100% rename from fwk_test/build/hdi_sam_d2x.d rename to old/fwk_test/build/hdi_sam_d2x.d diff --git a/fwk_test/build/hdi_sam_d2x.o b/old/fwk_test/build/hdi_sam_d2x.o similarity index 100% rename from fwk_test/build/hdi_sam_d2x.o rename to old/fwk_test/build/hdi_sam_d2x.o diff --git a/fwk_test/build/main.d b/old/fwk_test/build/main.d similarity index 100% rename from fwk_test/build/main.d rename to old/fwk_test/build/main.d diff --git a/fwk_test/build/main.o b/old/fwk_test/build/main.o similarity index 100% rename from fwk_test/build/main.o rename to old/fwk_test/build/main.o diff --git a/fwk_test/build/mcu.d b/old/fwk_test/build/mcu.d similarity index 100% rename from fwk_test/build/mcu.d rename to old/fwk_test/build/mcu.d diff --git a/fwk_test/build/mcu.o b/old/fwk_test/build/mcu.o similarity index 100% rename from fwk_test/build/mcu.o rename to old/fwk_test/build/mcu.o diff --git a/fwk_test/conf/epenguin_conf.h b/old/fwk_test/conf/epenguin_conf.h similarity index 100% rename from fwk_test/conf/epenguin_conf.h rename to old/fwk_test/conf/epenguin_conf.h diff --git a/fwk_test/inc/cmsis b/old/fwk_test/inc/cmsis similarity index 100% rename from fwk_test/inc/cmsis rename to old/fwk_test/inc/cmsis diff --git a/fwk_test/inc/common b/old/fwk_test/inc/common similarity index 100% rename from fwk_test/inc/common rename to old/fwk_test/inc/common diff --git a/fwk_test/inc/epenguin.hpp b/old/fwk_test/inc/epenguin.hpp similarity index 100% rename from fwk_test/inc/epenguin.hpp rename to old/fwk_test/inc/epenguin.hpp diff --git a/fwk_test/inc/hal b/old/fwk_test/inc/hal similarity index 100% rename from fwk_test/inc/hal rename to old/fwk_test/inc/hal diff --git a/fwk_test/inc/hdi b/old/fwk_test/inc/hdi similarity index 100% rename from fwk_test/inc/hdi rename to old/fwk_test/inc/hdi diff --git a/fwk_test/ld/ex.ld b/old/fwk_test/ld/ex.ld similarity index 100% rename from fwk_test/ld/ex.ld rename to old/fwk_test/ld/ex.ld diff --git a/fwk_test/scripts/Makelinks.sh b/old/fwk_test/scripts/Makelinks.sh similarity index 100% rename from fwk_test/scripts/Makelinks.sh rename to old/fwk_test/scripts/Makelinks.sh diff --git a/fwk_test/scripts/Removelinks.sh b/old/fwk_test/scripts/Removelinks.sh similarity index 100% rename from fwk_test/scripts/Removelinks.sh rename to old/fwk_test/scripts/Removelinks.sh diff --git a/fwk_test/scripts/openocd.cfg b/old/fwk_test/scripts/openocd.cfg similarity index 100% rename from fwk_test/scripts/openocd.cfg rename to old/fwk_test/scripts/openocd.cfg diff --git a/fwk_test/src/common b/old/fwk_test/src/common similarity index 100% rename from fwk_test/src/common rename to old/fwk_test/src/common diff --git a/fwk_test/src/hal b/old/fwk_test/src/hal similarity index 100% rename from fwk_test/src/hal rename to old/fwk_test/src/hal diff --git a/fwk_test/src/hdi b/old/fwk_test/src/hdi similarity index 100% rename from fwk_test/src/hdi rename to old/fwk_test/src/hdi diff --git a/fwk_test/src/main.cpp b/old/fwk_test/src/main.cpp similarity index 100% rename from fwk_test/src/main.cpp rename to old/fwk_test/src/main.cpp diff --git a/libcommon/src/libcommon.cpp b/old/libcommon/src/libcommon.cpp similarity index 100% rename from libcommon/src/libcommon.cpp rename to old/libcommon/src/libcommon.cpp diff --git a/libcommon/src/minwindows.h b/old/libcommon/src/minwindows.h similarity index 100% rename from libcommon/src/minwindows.h rename to old/libcommon/src/minwindows.h diff --git a/libcommon/src/shared.cpp b/old/libcommon/src/shared.cpp similarity index 100% rename from libcommon/src/shared.cpp rename to old/libcommon/src/shared.cpp diff --git a/libcommon/src/shared.h b/old/libcommon/src/shared.h similarity index 100% rename from libcommon/src/shared.h rename to old/libcommon/src/shared.h diff --git a/libcommon/src/tokenizer.cpp b/old/libcommon/src/tokenizer.cpp similarity index 100% rename from libcommon/src/tokenizer.cpp rename to old/libcommon/src/tokenizer.cpp diff --git a/libcommon/src/tokenizer.h b/old/libcommon/src/tokenizer.h similarity index 100% rename from libcommon/src/tokenizer.h rename to old/libcommon/src/tokenizer.h diff --git a/libcommon/src/types.h b/old/libcommon/src/types.h similarity index 100% rename from libcommon/src/types.h rename to old/libcommon/src/types.h diff --git a/test b/old/test similarity index 100% rename from test rename to old/test diff --git a/tests/src/tests.cpp b/old/tests/src/tests.cpp similarity index 100% rename from tests/src/tests.cpp rename to old/tests/src/tests.cpp diff --git a/tools/btime b/old/tools/btime similarity index 100% rename from tools/btime rename to old/tools/btime diff --git a/tools/btime.exe b/old/tools/btime.exe similarity index 100% rename from tools/btime.exe rename to old/tools/btime.exe diff --git a/tools/build-timer/btime b/old/tools/build-timer/btime similarity index 100% rename from tools/build-timer/btime rename to old/tools/build-timer/btime diff --git a/tools/build-timer/btime.c b/old/tools/build-timer/btime.c similarity index 100% rename from tools/build-timer/btime.c rename to old/tools/build-timer/btime.c diff --git a/tools/build-timer/btime.exe b/old/tools/build-timer/btime.exe similarity index 100% rename from tools/build-timer/btime.exe rename to old/tools/build-timer/btime.exe diff --git a/tools/build-timer/btime.obj b/old/tools/build-timer/btime.obj similarity index 100% rename from tools/build-timer/btime.obj rename to old/tools/build-timer/btime.obj diff --git a/tools/build-timer/build.bat b/old/tools/build-timer/build.bat similarity index 100% rename from tools/build-timer/build.bat rename to old/tools/build-timer/build.bat diff --git a/tools/build-timer/build.sh b/old/tools/build-timer/build.sh similarity index 100% rename from tools/build-timer/build.sh rename to old/tools/build-timer/build.sh diff --git a/tools/shell.sh b/old/tools/shell.sh similarity index 100% rename from tools/shell.sh rename to old/tools/shell.sh diff --git a/src/.#main.rs b/src/.#main.rs new file mode 120000 index 0000000..09ff8d7 --- /dev/null +++ b/src/.#main.rs @@ -0,0 +1 @@ +penguin@penguin-pc.2963:1593735320 \ No newline at end of file diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/testing_rust_again/GPATH b/testing_rust_again/GPATH deleted file mode 100644 index d1b3b58cd107d400dc80c4fddc93a05d575cb283..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16384 zcmeI%O-_SA6bJC}Yvp|qu@3lr0YF{wtIrmhIkk&sd_42^mNkKh4%5D(HL zcnD``u%zNb<3{r*p-gyvZ{GWLcJ=5U*&*W6YaEH(k8l*xoN;MW5T?7U}TJEVH`N=oM(<3xM5uP7;9UW z$y}FqD6^?PA&E$BiF;Sp_)&#+UPJaamNi7m1!Fvq*->!8)%LG4q(5KhL8d fc?JLHygWklJb6B4Kl%9_^{;QvF9+qdW)kua5|qG- diff --git a/testing_rust_again/GRTAGS b/testing_rust_again/GRTAGS deleted file mode 100644 index 604f14859207312a22ef3258bbaf254aa0b9a9e2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16384 zcmeIu!3n}J6b9g^cvB}3(g_4F-ivrB*j7}$3Qo{r9L8ZB#-sv&;(A?O vcE?lIHp5(OLYSv^p8fu|tq)CE@4k!QGyAIfoau{@-^%lSwcMV+a%#N*SSKGs diff --git a/testing_rust_again/GTAGS b/testing_rust_again/GTAGS deleted file mode 100644 index 7a6cfa30866d97f80c94870107aa9b6b8d5085c6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16384 zcmeIuJqp4=5C+gyu~QFVVfF-qjlD<;3x6 println!("! {:?}", why.kind()), - Ok(_) => {}, - } - - println!("We just made a new directory! Printing...\n"); - match fs::read_dir(".") - { - Err(why) => println!("! {:?}", why.kind()), - Ok(paths) => for path in paths - { - println!("> {:?}", path.unwrap().path()); - }, - } - - fs::remove_dir("a").unwrap_or_else(|why| { - println!("! {:?}", why.kind()); - }); - - - println!("We just removed that directory! Printing...\n"); - match fs::read_dir(".") - { - Err(why) => println!("! {:?}", why.kind()), - Ok(paths) => for path in paths - { - println!("> {:?}", path.unwrap().path()); - }, - } - -}