rake_embedded 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -13
- data/rake_embedded/version.rb +1 -1
- data/scripts/prepare_tasks/DefaultTasks.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a2b69a274782f765ff794dc376f4caa218331b2
|
4
|
+
data.tar.gz: '087e86b19f81aa91b7b5cb579dce9c952b5649ea'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60d13bb6970c4fc3cc451699cac93c22b26b0a4f751f2556eda70882d9b4d7d3201f92f19f76e8cfb89c1a06d4203b8b6e28cf7dd4ee23d17dca807820e3aa15
|
7
|
+
data.tar.gz: d4106d5fad7fbeca17f622a124db6f6aed85f642e870a305fc88bb0e866b47ff024bf814009b928285d90bf5d6e1bf7b13f120ac31f2a11ad416fc4df34ca016
|
data/README.md
CHANGED
@@ -21,14 +21,12 @@ REM is a Yocto like buildsystem primarily intended for microcontrollers. It is b
|
|
21
21
|
|
22
22
|
## 1. Install dependencies
|
23
23
|
```Shell
|
24
|
-
sudo apt-get install
|
24
|
+
sudo apt-get install rubygems gcc-arm-none-eabi gcc-avr avr-libc git subversion unzip wget make python sdcc sdcc-libraries cppcheck
|
25
25
|
```
|
26
26
|
|
27
|
-
## 2.
|
27
|
+
## 2. Install REM buildsystem
|
28
28
|
```Shell
|
29
|
-
|
30
|
-
cd rem_build
|
31
|
-
git clone https://github.com/franzflasch/REM.git
|
29
|
+
sudo gem install rake_embedded
|
32
30
|
```
|
33
31
|
|
34
32
|
## 3. Prepare test project
|
@@ -37,14 +35,7 @@ git clone https://github.com/franzflasch/rem_packages.git
|
|
37
35
|
git clone https://github.com/franzflasch/rem_test_project.git
|
38
36
|
```
|
39
37
|
|
40
|
-
## 4.
|
41
|
-
```Shell
|
42
|
-
cd REM
|
43
|
-
export PATH=`pwd`:$PATH
|
44
|
-
cd ..
|
45
|
-
```
|
46
|
-
|
47
|
-
## 5. Start build
|
38
|
+
## 4. Start build
|
48
39
|
|
49
40
|
### Atmel Atmega168
|
50
41
|
```Shell
|
@@ -71,6 +62,11 @@ rem ARCH=mips MACH=pic32mx2 PROJECT_FOLDER=rem_test_project,rem_libopenpic32,rem
|
|
71
62
|
rem ARCH=mips MACH=pic32mz2048 PROJECT_FOLDER=rem_test_project,rem_libopenpic32,rem_packages package:test_project:image[srec]
|
72
63
|
```
|
73
64
|
|
65
|
+
### Native (Build Host) Linux
|
66
|
+
```Shell
|
67
|
+
rem ARCH=native MACH=linux PROJECT_FOLDER=rem_test_project,rem_packages package:test_project:link
|
68
|
+
```
|
69
|
+
|
74
70
|
The image will end up in rem_workdir/#{arch}_#{machine}/deploy
|
75
71
|
It will be either a binary or hex image, depending on what you've chosen to build.
|
76
72
|
|
data/rake_embedded/version.rb
CHANGED
@@ -37,7 +37,7 @@ module DefaultPrepare
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def prepare_checkout_svn
|
40
|
-
execute "svn co #{uri[0].uri} #{pkg_build_dir}"
|
40
|
+
execute "svn co --non-interactive --trust-server-cert #{uri[0].uri} #{pkg_build_dir}"
|
41
41
|
if(uri[0].uri_src_rev != "undefined")
|
42
42
|
# TODO: add possibilty to checkout specific revision
|
43
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_embedded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franz Flasch
|
8
8
|
autorequire:
|
9
9
|
bindir: "."
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02
|
11
|
+
date: 2017-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|