@ -4,19 +4,104 @@ Warning: This only works for x86\_64 linux machines atm. Windows development is
As of right now, only the *new* command works. Everything else is not implemented yet. However, *new* does most of the heavy lifting so the other commands will come quickly once it is finished and polished.
### Prerequisites
You need the following things installed for igloo+eSF to work properly:
- openocd
- rust (nightly preferred becuase it's just better)
- toolchains (more below)
In the future, these things will just be bundled with eSF. The problem with some toolchains is dependency matching for various distros.
alias igloo_rls=~/ePenguin-Igloo/target/release/igloo
alias igloo_dbg=~/ePenguin-Igloo/target/debug/igloo
alias igloo=igloo_dbg
# Building
cd ~/ePenguin-Igloo
# Debug build is default
cargo build
# For release build
# cargo build --release
igloo
```
You should see a help menu thrown at you for more instruction.
I've aliased igloo_dbg for igloo, but you can use the release version if you want better performance and faster compile times. It is highly recommended to use the debug version right now, though.
### Generating a new project
```
igloo new <project_name> --target=<mcu>
@ -35,7 +120,7 @@ make
### Instructions for running
I'm not including these steps because openocd releases vary with target configs. I recommend you download a release from https://openocd.org and unzip it there. Downloading via a package manager almost guarantees you're going to be missing target scripts.
In the future, igloo will handle all of this.
At some point in the future, I'm going to fork openocd just so I can make sure default board config scripts are 100% available because right now it's really hit or miss on various distros.
for the e54 xplained
```
@ -51,7 +136,7 @@ If the E54 xplained cfg isn't found for some reason, try this:
```
echo "
#
# Atmel SAMD21 Xplained Pro evaluation kit.
# Atmel SAME54 Xplained Pro evaluation kit.
#
source [find interface/cmsis-dap.cfg]
@ -89,21 +174,50 @@ The framework allows me to add support for mcus pretty rapidly. I can add entire