Compare commits
5 commits
bb853bb48b
...
121b48707d
Author | SHA1 | Date | |
---|---|---|---|
|
121b48707d | ||
|
0abc4a3b67 | ||
|
bc21f4619a | ||
|
4ad5346bb9 | ||
|
3e26e90b67 |
5 changed files with 69 additions and 7 deletions
23
.gitignore
vendored
Normal file
23
.gitignore
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
#
|
||||
# NOTE! Don't add files that are generated in specific
|
||||
# subdirectories here. Add them in the ".gitignore" file
|
||||
# in that subdirectory instead.
|
||||
#
|
||||
# NOTE! Please use 'git ls-files -i --exclude-standard'
|
||||
# command after changing this file, to see if there are
|
||||
# any tracked files which get ignored after the change.
|
||||
#
|
||||
# Normal rules
|
||||
#
|
||||
*.o
|
||||
*.d
|
||||
*.bin
|
||||
*.elf
|
||||
*.map
|
||||
*/objs/*
|
||||
*.zip
|
||||
*.svg
|
||||
*.dump
|
||||
*.img
|
||||
*.bak
|
||||
tags
|
31
README
Normal file
31
README
Normal file
|
@ -0,0 +1,31 @@
|
|||
This repository provides example code for the RF-Sub1GHz modules made by
|
||||
Techno-Innov.
|
||||
|
||||
Example applications are created in this directory, with one subdirectory
|
||||
for each example application. These are (and must stay) independent.
|
||||
|
||||
More usefull stuff is up to you. Creating an app is *very* simple. Copy one of
|
||||
the examples to the name you want and start coding.
|
||||
** Please, no spaces (or special characters) in the directory names ! **
|
||||
|
||||
Refer to the main README file (at the root of the core support git repository)
|
||||
for more information about building and flashing.
|
||||
|
||||
|
||||
If you did not get it yet, the core lpc122x support can be cloned from our
|
||||
server:
|
||||
git clone git://git.techno-innov.fr/soft/lpc122x/core
|
||||
You should then move this repository to the apps sub-directory of the core
|
||||
support repository.
|
||||
|
||||
|
||||
System Reference Manual and electronics sources for the modules can be found
|
||||
- on our server under this directory :
|
||||
http://techdata.techno-innov.fr/Modules/RF-Sub1G/
|
||||
- on our Wiki :
|
||||
http://wikifr.techno-innov.fr/index.php/Products/Module_RFSub1G
|
||||
- on our git :
|
||||
http://git.techno-innov.fr/?p=elec/base (elec libraries for KiCaD)
|
||||
http://git.techno-innov.fr/?p=elec/modules/rfsub1g (schematics RF Sub-1GHZ boards)
|
||||
http://git.techno-innov.fr/?p=docs/rfsub1g (documentation)
|
||||
|
|
@ -1,13 +1,21 @@
|
|||
# Makefile for "rf_sub1G" apps
|
||||
# This includes all apps for the RF-sub1GHz Modules.
|
||||
# Makefile for apps
|
||||
|
||||
MODULE = $(shell basename $(shell cd .. && pwd && cd -))
|
||||
NAME = $(shell basename $(CURDIR))
|
||||
|
||||
# Add this to your ~/.vimrc in order to get proper function of :make in vim :
|
||||
# let $COMPILE_FROM_IDE = 1
|
||||
ifeq ($(strip $(COMPILE_FROM_IDE)),)
|
||||
PRINT_DIRECTORY = --no-print-directory
|
||||
else
|
||||
PRINT_DIRECTORY =
|
||||
LANG = C
|
||||
endif
|
||||
|
||||
.PHONY: $(NAME).bin
|
||||
$(NAME).bin:
|
||||
@make -C ../../.. --no-print-directory NAME=$(NAME) MODULE=$(MODULE) apps/$(MODULE)/$(NAME)/$@
|
||||
@make -C ../../.. ${PRINT_DIRECTORY} NAME=$(NAME) MODULE=$(MODULE) apps/$(MODULE)/$(NAME)/$@
|
||||
|
||||
clean mrproper:
|
||||
@make -C ../../.. --no-print-directory $@
|
||||
@make -C ../../.. ${PRINT_DIRECTORY} $@
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ Copyright 2013 Nathael Pajani <nathael.pajani@ed3l.fr>
|
|||
/* ****************************************************************************
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
|
@ -36,7 +36,7 @@
|
|||
#include "extdrv/tmp101_temp_sensor.h"
|
||||
|
||||
|
||||
#define MODULE_VERSION 0x02
|
||||
#define MODULE_VERSION 0x03
|
||||
#define MODULE_NAME "RF Sub1G - USB"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue