Compare commits
2 Commits
324174ef55
...
aed4b86b9b
Author | SHA1 | Date |
---|---|---|
Penguin | aed4b86b9b | 2 years ago |
Penguin | 3bcc8b90b1 | 2 years ago |
@ -1,37 +1,3 @@
|
|||||||
# ePenguin-Igloo
|
# ePenguin-Igloo
|
||||||
|
|
||||||
## What is Igloo?
|
Unfortunately this project is abandoned for a bunch of reasons, mainly because the workload grew exponentially as new problems surfaced. If you'd like the name, please email help@crates.io. I consent to the transfer to the first person who asks for it.
|
||||||
|
|
||||||
Igloo was a full on project and package manager. It is no longer that. Igloo is a tool for creating and maintaining projects. It can create bare metal projects (with no framework), and it can also convert and work with ASF4 (Atmel Start) projects.
|
|
||||||
|
|
||||||
Microchip may decide to one day kill atmel start so this project may one day be useless.
|
|
||||||
|
|
||||||
## Why does this exist?
|
|
||||||
|
|
||||||
I use vim and emacs (on and off) as my text editor. I do not use an IDE.
|
|
||||||
|
|
||||||
It aims solves a few problems:
|
|
||||||
- Regenerating atmel start projects after recustomizing the board settings via the web configurator should be as simple as one command. It shouldn't be a whole ordeal where if you regenerate your project you have to re-move your source files back into the new generated project.
|
|
||||||
- Compiling, executing, and debugging your code should be more streamlined than opening a bunch of terminals that just sit idling.
|
|
||||||
- Adding source files to your makefile should be as simple as a command or two. Same with include directories and other configurations.
|
|
||||||
- Automate other miscellaneous operations.
|
|
||||||
|
|
||||||
|
|
||||||
## Prerequisites and Assumptions
|
|
||||||
|
|
||||||
I'm going to assume you know how to get your desired toolchain. It is a prerequisite.
|
|
||||||
|
|
||||||
- [https://github.com/rizsotto/Bear](bear) (OPTIONAL)
|
|
||||||
- [https://github.com/openocd-org/openocd.git](openocd)
|
|
||||||
- [https://www.rust-lang.org/tools/install](rust)
|
|
||||||
|
|
||||||
These things can also be installed by your package manager if you want to install a binary instead of building from source. I'll update the instructions for different distros at some point.
|
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
|
@ -1,31 +1,36 @@
|
|||||||
// #![allow(warnings)]
|
// #![allow(warnings)]
|
||||||
#![allow(non_snake_case)]
|
// #![allow(non_snake_case)]
|
||||||
#![allow(non_camel_case_types)]
|
// #![allow(non_camel_case_types)]
|
||||||
|
//
|
||||||
use igloo_core::Igloo;
|
// use igloo_core::Igloo;
|
||||||
|
//
|
||||||
#[macro_use] extern crate igloo_util;
|
// #[macro_use] extern crate igloo_util;
|
||||||
use igloo_util::IglooDebugSeverity::{self, *};
|
// use igloo_util::IglooDebugSeverity::{self, *};
|
||||||
use igloo_util::IglooStatus::{self, *};
|
// use igloo_util::IglooStatus::{self, *};
|
||||||
use igloo_util::IglooType::{self, *};
|
// use igloo_util::IglooType::{self, *};
|
||||||
use igloo_util::TRACE_LEVEL;
|
// use igloo_util::TRACE_LEVEL;
|
||||||
|
//
|
||||||
|
// fn main()
|
||||||
|
// {
|
||||||
|
// let mut ig = Igloo::new();
|
||||||
|
// let _start_ret = match ig.start()
|
||||||
|
// {
|
||||||
|
// Ok(it) =>
|
||||||
|
// {
|
||||||
|
// match ig.run(it)
|
||||||
|
// {
|
||||||
|
//
|
||||||
|
// IS_GOOD => (),
|
||||||
|
// // this is actually so dumb and should not exist in any language
|
||||||
|
// ANYTHING_ELSE => igloo_debug!(ERROR, ANYTHING_ELSE),
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// Err(e) => println!("Error: {:?}", e),
|
||||||
|
// };
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
|
||||||
fn main()
|
fn main()
|
||||||
{
|
{
|
||||||
let mut ig = Igloo::new();
|
|
||||||
let _start_ret = match ig.start()
|
|
||||||
{
|
|
||||||
Ok(it) =>
|
|
||||||
{
|
|
||||||
match ig.run(it)
|
|
||||||
{
|
|
||||||
|
|
||||||
IS_GOOD => (),
|
|
||||||
// this is actually so dumb and should not exist in any language
|
|
||||||
ANYTHING_ELSE => igloo_debug!(ERROR, ANYTHING_ELSE),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Err(e) => println!("Error: {:?}", e),
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue