This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FOLDERS=' | |
demos/LPC21xx | |
demos/SPC5 | |
demos/STM32 | |
demos/various | |
doc | |
ext | |
os/common/abstractions | |
os/common/ext | |
os/ex |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
printf "\nCloning weareleka/chibios to chibios\n" | |
git clone https://github.com/weareleka/chibios --depth=1 | |
printf "\nChanging directory to chibios\n" | |
cd chibios | |
printf "\nChanhing the fetch origin config\n" | |
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" | |
printf "\nFetching the stable branch\n" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Arduino.mk b/Arduino.mk | |
index 50d60ee..c626697 100644 | |
--- a/Arduino.mk | |
+++ b/Arduino.mk | |
@@ -825,6 +825,19 @@ else | |
endif | |
+######################################################################## | |
+# Automatically find the libraries needed to compile the sketch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AVR only; support -C for AVR memory usage | |
Source: http://git.makehackvoid.com/cgi-bin/gitweb.cgi?p=mhvavrtools.git;a=blob_plain;f=mhvavrtools/patches/binutils-001-avr-size.patch;h=e80d28eae46217551d996a2253256c97d10aa4b5;hb=refs/heads/master | |
=========================================================== | |
--- binutils/size.c | |
+++ binutils/size.c | |
@@ -34,10 +34,31 @@ | |
#include "getopt.h" | |
#include "bucomm.h" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ladislas @pc28.home in ~/dev/leka/Bare-Arduino-Project/src/BarProject | |
± |update-arduino-mk ✗| → make | |
------------------------- | |
Arduino.mk Configuration: | |
- [AUTODETECTED] CURRENT_OS = MAC | |
- [USER] ARDUINO_DIR = /Applications/Arduino.app/Contents/Java/ | |
- [USER] ARDMK_DIR = /Users/ladislas/dev/leka/Bare-Arduino-Project/Arduino-Makefile | |
- [AUTODETECTED] ARDUINO_VERSION = 163 | |
- [DEFAULT] ARCHITECTURE = avr | |
- [DEFAULT] VENDOR = arduino |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ladislas @LadBookPro.local in ~ | |
→ brew cask doctor | |
==> OS X Release: | |
10.10 | |
==> OS X Release with Patchlevel: | |
10.10.2 | |
==> Hardware Architecture: | |
intel-64 | |
==> Ruby Version: | |
2.0.0-p481 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### DISCLAIMER | |
### This is an example Makefile and it MUST be configured to suit your needs. | |
### For detailled explanations about all the avalaible options, | |
### please refer to https://github.com/sudar/Arduino-Makefile/blob/master/arduino-mk-vars.md | |
### PROJECT_DIR | |
### This is the path to where you have created/cloned your project | |
PROJECT_DIR = /home/ubuntu/src/github.com/WeAreLeka/Bare-Arduino-Project | |
### AVR_GCC_VERSION |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ttylog - change the install target destination from 'sbin' to 'bin' for homebrew formula | |
=========================================================== | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -22,6 +22,6 @@ SET(ttylog_executable_HDRS | |
ADD_EXECUTABLE(ttylog ${ttylog_executable_SRCS}) | |
# add install targets: | |
-INSTALL(TARGETS ttylog DESTINATION sbin) | |
+INSTALL(TARGETS ttylog DESTINATION bin) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/usr/bin/python | |
import os | |
import re | |
import sys | |
# Set variables | |
USER_LIB_PATH = sys.argv[1] | |
USER_LIBS = [] ; | |
includeRegex = re.compile("(?<=^\#include\s[\<\"])(.*)(?=\.h[\>\"])", re.DOTALL|re.M) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ladislas in ~/dev/leka/moti/src/moti | |
± |dev ✗| → make | |
------------------------- | |
Arduino.mk Configuration: | |
- [AUTODETECTED] CURRENT_OS = MAC | |
- [USER] ARDMK_DIR = /Users/Ladislas/dev/leka/moti/Arduino-Makefile | |
- [USER] ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java | |
- [AUTODETECTED] ARDUINO_VERSION = 105 | |
- [DEFAULT] ARCHITECTURE = | |
- [DEFAULT] VENDOR = arduino |