1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

2592 Commits

Author SHA1 Message Date
Mattia Antonini
3f18bf0eb4 IoTivity Pkg for RIOT-OS 2016-12-05 10:41:07 +01:00
Francisco Acosta
84d0d61279 Merge pull request #5608 from gebart/pr/xtimer-ticks
xtimer: Allow arbitrary timer frequency, second attempt
2016-11-29 23:00:31 +01:00
Joakim Nohlgård
7c48c891a0 xtimer: Update xtimer usage to match API changes 2016-11-29 20:44:31 +01:00
smlng
076df5b5e2 pkg/oonf_api: fix cflags for macos 2016-11-23 17:16:26 +01:00
smlng
e10776ff9e pkg/relic: fix for macOS 2016-11-14 13:22:15 +01:00
smlng
9d743abbc9 pkg/nanocoap: update pkg version 2016-11-10 13:23:37 +01:00
Martine Lenders
21c4cb41ff tinydtls: fix for build system fix 2016-11-04 16:20:53 +01:00
Cenk Gündoğan
5afad87000 micro-ecc: require hardware RNG 2016-11-02 09:55:00 +01:00
Martine Lenders
91b70ac23e nanocoap: add POSIX include path
Since nanocoap uses `arpa/inet.h` for the address family name defintions
this needs to be in the include path. In RIOT this resides in
`sys/posix/include`.
2016-10-31 14:59:43 +01:00
Martine Lenders
c958dd89b8 Merge pull request #5972 from kaspar030/add_pkg_nanocoap
pkg: add nanocoap
2016-10-31 14:04:44 +01:00
Raul Fuentes
cf64aba1c8 TinyDTLS: integration into RIOT (without sockets)
Support for TinyDTLS (0.8.6) is added together an example at 'examples/dtls-echo'.
2016-10-30 18:05:25 +01:00
ae1f362802 pkg: nanocoap: initial commit 2016-10-29 19:50:57 +02:00
Hauke Petersen
bc232a5642 Merge pull request #5524 from miri64/gnrc_netreg/api/helper-macro
gnrc_netreg: introduce helper macro/function for entry init
2016-10-25 21:21:25 +02:00
Martine Lenders
dc45cd2610 gnrc: use new netreg helper functions everywhere 2016-10-25 18:47:30 +02:00
Martine Lenders
3225f020e5 Merge pull request #5964 from kaspar030/make_fix_appdir_bindir
make: remove trailing slash from BINDIR and APPDIR variables
2016-10-24 14:33:40 +02:00
Martine Lenders
bef0231133 Merge pull request #5891 from kaspar030/improve_module_deps
make: improve module dependencies
2016-10-19 12:50:37 +02:00
998b7d7975 pkg: cmsis-dsp: bump to new upstream
(newest upstream commit adapts to changed BINDIR)
2016-10-19 08:11:13 +02:00
560a509036 make: remove trailing slash from BINDIR variable 2016-10-18 23:27:59 +02:00
Joakim Nohlgård
d6c3ced630 Merge pull request #5903 from keestux/i2c-char-to-uint8
periph/i2c: convert char to uint8_t where applicapable
2016-10-06 07:50:56 +02:00
Francisco Acosta
b412d1179a Merge pull request #5670 from astralien3000/dev-aversiveplusplus
Added Aversive++ package.
2016-10-05 17:11:27 +02:00
Kees Bakker
bac5cda1e3 periph/i2c: convert char to uint8_t where applicapable
In general, data transferred through I2C are bytes and thus should have
type uint8_t, not char.

Also convert uint8_t ptrs to void ptrs
2016-10-04 20:26:39 +02:00
a77f051f22 Merge pull request #5871 from miri64/pkg/fix/lwip-some-fixes
pkg: lwip: some fixes
2016-09-30 22:52:51 +02:00
Loïc Dauphin
c4d3ebe5da Aversive++: initial import 2016-09-30 15:39:54 +02:00
af5afeadec pkg: emb6: move dependencies to pkg Makefile.dep 2016-09-29 15:41:13 +02:00
e8d9589d8c pkg: ccn-lite: move CFLAGS to pkg Makefile.include 2016-09-29 15:41:13 +02:00
444054041c pkg: move module dependencies to pkg/libcoap/Makefile.dep 2016-09-29 15:41:12 +02:00
Martine Lenders
07f8148432 pkg: lwip: remove timeout timer
In case of no timeout this timer is not removed, leading to the
re-addition in a later call. This fix removes it properly.
2016-09-29 13:09:35 +02:00
Oleg Hahm
b428979a1d debug: add missing line breaks 2016-09-27 23:38:41 +02:00
Martine Lenders
b81ac9ca0e pkg: lwip: do not re-set values already set in netif_add
lwip_netdev2_init() is called by netif_add, which already sets these
values to an according value.
2016-09-27 17:27:25 +02:00
d0079d2b2b Merge pull request #5829 from basilfx/bugfix/u8g2_pins
pkg: u8g2: don't toggle unused pins.
2016-09-23 15:30:26 +02:00
597409574d Merge pull request #5801 from miri64/pkg/enh/lwip-mbox-port
lwip: port mboxes to core_mbox
2016-09-08 13:36:29 +02:00
Bas Stottelaar
597035602f pkg: u8g2: don't toggle unused pins. 2016-09-06 19:14:05 +02:00
Bas Stottelaar
716ab1ce36 pkg: u8g2: upgrade package to latest version.
New version introduces better support for the different SPI modes.
2016-09-05 16:48:43 +02:00
42a50faaa6 Merge pull request #5814 from makomi/nordic_softdevice_ble
pkg/nordic_softdevice_ble: gnrc_nordic_ble_6lowpan: fix nullPointer error (cppcheck)
2016-09-05 15:58:30 +02:00
Martine Lenders
f20715bc54 Merge pull request #5810 from makomi/emb6
pkg/emb6: emb6_conn_udp: fix nullPointer error (cppcheck)
2016-09-05 13:08:15 +02:00
Matthias Kolja Miehl
318bc53671 pkg/emb6: emb6_conn_udp: fix nullPointer error 2016-09-05 02:17:34 +02:00
Matthias Kolja Miehl
906b22699d pkg/nordic_softdevice_ble: gnrc_nordic_ble_6lowpan: fix nullPointer error 2016-09-05 02:16:42 +02:00
Martine Lenders
9b2cff9a7b lwip: port mboxes to core_mbox 2016-09-02 15:04:18 +02:00
Mathias Tausig
1e5195722a tiny-asn1: Created new package tiny-asn1 2016-09-01 13:57:35 +02:00
Oleg Hahm
813a6fa86c pkg ccn-lite: update documentation and prototype 2016-08-18 16:24:39 +02:00
Oleg Hahm
bf65a08d63 pkg: update to newest ccn-lite version 2016-08-18 16:24:37 +02:00
Oleg Hahm
32479b58f0 pkg ccn-lite: introduce new message types 2016-08-18 16:23:53 +02:00
Oleg Hahm
d4577b9f5e pkg ccn-lite: set alternative caching strategies 2016-08-18 16:23:53 +02:00
Oleg Hahm
49a76ba3b5 pkg ccn-lite: maximum prefix string length 2016-08-18 16:23:53 +02:00
Martine Lenders
cc6b123758 lwip: initialize link-local address correctly
lwIP does some weird byte-swapping in netif_create_ip6_linklocal_address()
with non-ethernet-addresses, so I rather initialize it like in GNRC, so it is
compatible to both GNRC and emb6.
2016-08-02 16:33:35 +02:00
Martine Lenders
971697947a Merge pull request #5640 from lebrush/pkt-lwip-fixes
pkt/lwip: minor fixes
2016-07-18 08:30:35 +02:00
Martine Lenders
4ac7d81420 Merge pull request #5634 from kaspar030/nordic_softdevice
nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice
2016-07-16 16:57:29 +02:00
Victor Arino
9528b22209 pkg/lwip: remove duplicated line in netdev2 wrapper 2016-07-14 16:46:10 +02:00
Victor Arino
25120bae0f pkt/lwip: fix guard comments in lwipopts 2016-07-14 16:45:44 +02:00
Bas Stottelaar
ddd89c5c9e pkg: u8g2: smaller patches + comments. 2016-07-13 21:23:36 +02:00
Bas Stottelaar
746b586feb pkg: u8g2: updated U8g2, improved patches and documentation. 2016-07-13 21:23:36 +02:00
Bas Stottelaar
6bb108c054 pkg: u8g2: add u8g2 graphics library. 2016-07-13 21:23:36 +02:00
e012df1bac nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice 2016-07-13 17:06:57 +02:00
d68f425d32 Revert "nrf52dk: add 6lowpan over BLE support using Nordic's softdevice" 2016-07-13 16:58:11 +02:00
0182bbd6fd nrf52dk: add BLE/6lowpan support utilizing Nordic's SoftDevice 2016-07-13 16:17:46 +02:00
7718f114cb all: remove pointer casts for msg.content.ptr 2016-06-02 23:13:42 +02:00
15d9ce4963 pkg: lwip: adapt to changed netdev2->event_callback signature 2016-06-02 11:11:40 +02:00
575ee23679 pkg: emb6: adapt to removed netdev2 callback_event arg 2016-06-02 11:11:40 +02:00
af5914bafa pkg: lwip: adapt t renamed netdev2->isr_arg 2016-06-02 11:11:40 +02:00
6032ffe7f3 Merge pull request #5400 from miri64/pkg/enh/non-concurrent
pkg: split patch and download rule
2016-06-01 22:02:04 +02:00
Martine Lenders
0fb50ebeda pkg: do not build concurrently 2016-06-01 17:25:50 +02:00
Peter Kietzmann
8cf11d3206 Merge pull request #5404 from miri64/pkg/enh/lwip-mld
lwip: introduce MLD as pseudo-module and deactivate by default
2016-06-01 00:59:02 +02:00
Oleg Hahm
595dec37ae Merge pull request #5465 from OlegHahm/ccnl_local_producer
pkg ccn-lite: callbacks for on-the-fly content creation
2016-05-31 23:17:59 +02:00
Oleg Hahm
e443d3a0ff pkg tlsf: undefined left-shifting of neg. values 2016-05-27 14:49:15 +02:00
Oleg Hahm
16daabbcfb Merge pull request #5418 from OlegHahm/tlsf_stats
pkg tlsf: statistics
2016-05-27 14:06:15 +02:00
Oleg Hahm
d4732952b2 pkg tlsf: add usage statistics 2016-05-27 13:48:06 +02:00
Oleg Hahm
8f49e8f9d3 pkg ccn-lite: add prototypes for producer function 2016-05-26 18:12:51 +02:00
Oleg Hahm
33088f5c66 pkg ccn-lite: update revision 2016-05-26 18:12:51 +02:00
Martine Lenders
ee41b98ee9 libmathfix: move to git repository and adapt 2016-05-12 16:39:18 +02:00
Martine Lenders
b605852638 lwip: introduce MLD as pseudo-module and deactivate by default 2016-04-28 12:22:42 +02:00
Cenk Gündoğan
1c73e7a49d pkg/openwsn: prevent build loop 2016-04-07 08:22:40 +02:00
Martine Lenders
d9dd1f5802 Merge pull request #5219 from kaspar030/fix_pkg_minusB_build
make: pkg: remove pkg source dir before checkout
2016-04-01 15:29:44 +02:00
29e7ea454a make: pkg: remove pkg source dir before checkout 2016-03-31 23:09:23 +02:00
Martine Lenders
0ab8aae529 emb6: add conn_udp wrapper 2016-03-30 18:56:02 +02:00
Martine Lenders
0b0d3b18c1 emb6: add netdev2 wrapper 2016-03-30 18:55:00 +02:00
Martine Lenders
518f645779 emb6: provide minimal HAL wrapper 2016-03-30 18:52:21 +02:00
Martine Lenders
aecb8ef15b emb6: initial import 2016-03-30 18:51:42 +02:00
Martine Lenders
4dbc26fd4e Merge pull request #3551 from authmillenon/pkg/port/lwip
lwIP: Initial import
2016-03-30 18:22:10 +02:00
Martine Lenders
5431df6a7e lwip: initial import of conn_udp wrapper 2016-03-30 17:35:51 +02:00
Martine Lenders
410f44f07d lwip: initial import of conn_ip wrapper 2016-03-30 17:35:50 +02:00
e7f13218ea pkg: add jsmn minimal JSON parser 2016-03-30 14:35:36 +02:00
Martine Lenders
7f475573e6 lwip_netdev2: initial import of a lwIP netdev2 wrapper 2016-03-30 00:10:58 +02:00
Martine Lenders
b0347527fd lwip: map lwIP modules to RIOT modules 2016-03-30 00:10:42 +02:00
Martine Lenders
932bec50ed lwip: add port for RIOT 2016-03-30 00:10:38 +02:00
Martine Lenders
29515a7bb9 pkg: initial import of lwIP package 2016-03-30 00:10:05 +02:00
Yonezawa-T2
1ce140d910 debug: fix compilation error for %p formatter 2016-03-29 11:46:29 +09:00
b3c5446209 pkg: tlsf: build in board directory 2016-03-25 14:28:04 +01:00
bec43ac340 pkg: move pkgdir to $BINDIRBASE/pkg/$BOARD/$PKG_NAME, do proper clean 2016-03-25 14:28:04 +01:00
Oleg Hahm
37879d515f pkg ccn-lite: set CCNL_RIOT define in Makefile 2016-03-24 18:48:08 +01:00
Oleg Hahm
5db537fbab ccn-lite: add shell function to remove FIB entry 2016-03-24 18:48:08 +01:00
Oleg Hahm
08a15b3920 pkg ccn-lite: update documentation 2016-03-24 18:48:08 +01:00
Oleg Hahm
587a435a71 pkg ccn-lite: adapt to updated CCN-Lite version 2016-03-24 18:48:08 +01:00
Oleg Hahm
8ef719b42c pkg ccn-lite: update ccn-lite version 2016-03-24 18:48:08 +01:00
Martine Lenders
8e360aa97f pkg: clarify that current download target is only for git 2016-03-24 00:57:14 +01:00
0cacc8b1f9 pkg: adapt Makefile.git to pkg.mk 2016-03-23 15:39:48 +01:00
5187484804 pkg: wakaama: adapt to use pkg.mk 2016-03-23 15:39:47 +01:00
7bff96c487 pkg: relic: adapt to use pkg.mk 2016-03-23 15:39:47 +01:00
4266453f5f pkg: openwsn: adapt to use pkg.mk 2016-03-23 15:39:47 +01:00
a6547ee9c6 pkg: oonf_api: adapt to use pkg.mk 2016-03-23 15:39:47 +01:00
5586d8f1bc pkg: microcoap: adapt to use pkg.mk 2016-03-23 15:39:47 +01:00
d03d83a7f6 pkg: micro-ecc: adapt to use pkg.mk 2016-03-23 15:39:47 +01:00
190e2b4bb2 pkg: libcoap: adapt to use pkg.mk 2016-03-23 15:39:47 +01:00
b69941f334 pkg: cmsis-dsp: adapt to use pkg.mk 2016-03-23 15:39:47 +01:00
b98f97e985 pkg: ccn-lite: adapt to use pkg.mk 2016-03-23 15:39:47 +01:00
19cf3ed293 pkg: remove obsolete .gitignore files 2016-03-23 14:35:08 +01:00
5673c51729 pkg: add unified package git checkout makefile 2016-03-23 14:35:08 +01:00
cef984bcdf pkg: move patches to patches/ subdirs 2016-03-23 14:35:08 +01:00
DipSwitch
5b5810ab7b Merge pull request #5109 from DipSwitch/pr/fix_core_inc_irq
core: Fix/refactor function naming in core/incude/irq.h
2016-03-22 08:12:24 +01:00
Oleg Hahm
16a3f131a3 Merge pull request #5112 from kaspar030/use_git_cache
make: pkg: introduce git-cache
2016-03-21 22:32:33 +01:00
812da2f0e7 pkg: adapt to use git-cache 2016-03-21 21:22:33 +01:00
DipSwitch
0bb4748a94 core: Fix/refactor function naming in core/incude/irq.h 2016-03-20 16:47:34 +01:00
Cenk Gündoğan
2e752f2995 pkg/oonf_api: use new repo url 2016-03-19 23:06:30 +01:00
DipSwitch
e159ee741d make: Remove stray board/Makefile.include's to avoid loops like: CFLAGS += CFLAGS 2016-03-17 22:16:13 +01:00
Joakim Nohlgård
0124a76153 pkg/cmsis-dsp: Update to DSP Lib v1.4.5a (CMSIS 4.5 release) 2016-03-14 23:10:11 +01:00
Mathias Tausig
7a28927fa4 micro-ecc: Updated to current version 2016-03-14 10:13:46 +01:00
069bbceccd pkg: micro-ecc: build in BINDIR 2016-03-10 21:40:14 +01:00
c63a924778 pkg: adapt to RIOTPKG 2016-03-05 03:05:32 +01:00
c05348ede6 pkg: ccn-lite: change git repo URL 2016-02-29 23:07:29 +01:00
Hauke Petersen
c4ae555f5c pkg/micro-ecc: adapted patch files to hwrng changes 2016-02-14 12:59:47 +01:00
Oleg Hahm
25c6d1f187 pkg relic: pin to a specific version 2016-02-04 14:13:02 +01:00
Oleg Hahm
3b5f1f949f pkg tlsf: use pkg directory for sources
The TLSF package was the only one using the $(BINDIR) instead of a subdirectory of pkg/. This commit changes this.
2016-01-31 14:33:08 +01:00
Oleg Hahm
69044dbb15 pkg: ccn-lite: reset origin remote before fetching 2016-01-29 08:16:05 +01:00
Oleg Hahm
4ca418cee9 pkg: ccn-lite: always fetch upstream repository
fixes #4610
2016-01-29 08:16:05 +01:00
Martine Lenders
4dc851244d pkg: unify git paradigms for packages 2016-01-26 23:22:47 +01:00
Oleg Hahm
a87927ed1a pkg tlsf: change URL for upstream TLSF archive 2016-01-26 12:23:18 +01:00
Cenk Gündoğan
c644f8328f Merge pull request #4278 from cgundogan/pr/oonf_api/Makefile_refactoring
oonf_api: adjust Makefile
2016-01-14 21:41:32 +01:00
Cenk Gündoğan
ab81348b83 oonf_api: adjust Makefile 2016-01-13 09:10:56 +01:00
Oleg Hahm
aa08f5ed31 pkg: ccn-lite: always rebuild
fixes #4611 by always re-building the ccn-lite library
2016-01-07 18:02:02 +01:00
Martine Lenders
d62ffae52a pkg: oonf_api: move source 2016-01-06 16:21:36 +01:00
Oleg Hahm
42b11fcb50 pkg: ccn-lite: pin to upstream commit 2016-01-04 19:08:33 +01:00
Oleg Hahm
f22cac2ceb Merge pull request #4289 from authmillenon/doc/enh/pkg
doc: move pkg/PORTING.md and pkg/USING.md to doxygen
2015-12-18 18:01:50 +01:00
Oleg Hahm
60e283e6a2 pkg tlsf: add tlsf initialization function
The init function was patched out, but is actually required to compile without warnings with -pedantic enabled.

This patch also updates ccn-lite and x86 support accordingly.
2015-12-15 16:42:43 +01:00
Martine Lenders
f285bb2349 doc: move pkg/PORTING.md and pkg/USING.md to doxygen 2015-12-09 12:07:28 +01:00
Oleg Hahm
c96679f3d1 doc: include package documentation 2015-12-08 11:27:03 +01:00
Oleg Hahm
f3d16b85a5 ccn-lite: initial import of an example 2015-12-08 11:27:03 +01:00
Oleg Hahm
fc8dd7fdd7 pkg: initial import of ccn-lite package 2015-12-08 11:27:03 +01:00
Tobias Markmann
57b8a24466 Add a RELIC package and unit test that shows how to use it
Add install of cmake to .travis.yml.

Test-Information:

This has been tested on OS X and on Ubuntu for both the native target
and STM32F4Discovery.
2015-12-08 08:58:11 +01:00
41ed5c0dbd pkg: microcoap: add compile warning fix 2015-12-04 11:52:35 +01:00
Thomas Eichinger
72ee60b9d5 scripts: remove hardcoding of bash hashbang
For host systems like FreeBSD, bash binary is found in a different path.
2015-11-25 16:20:56 +01:00
test
9f19fab949 pkg: oonf_api: remove compilation error 2015-11-24 18:10:43 +01:00
Ludwig Knüpfer
eda6328e21 documentation: update my name (Ortmann -> Knüpfer) 2015-09-27 18:58:30 +02:00
Martine Lenders
3536c84844 oonf_api: adapt for new sockets 2015-09-24 02:04:11 +02:00
Cenk Gündoğan
35df5b6857 Merge pull request #3612 from authmillenon/posix/api/inet_ntop_inet_pton
posix: net_help: move inet_pton/inet_ntop completely to POSIX
2015-09-17 11:08:40 +02:00
Martine Lenders
08a3f0baf5 posix: net_help: move inet_pton/inet_ntop completely to POSIX 2015-09-17 02:36:08 +02:00
Cenk Gündoğan
14b1ad3f66 pkg/libcoap: delete unused function check_opt_size 2015-09-16 21:08:46 +02:00
Martine Lenders
a4905b72d4 posix: consolidate include paths 2015-09-07 16:46:48 +02:00
Martine Lenders
ac0e2f4371 net: remove redefinitions and their dependencies throughout the stack 2015-08-24 13:13:53 +02:00
Martine Lenders
64c6d49cbd iot-lab_M3: rename to iotlab-m3 2015-08-19 20:59:06 +02:00
Martine Lenders
d46f542220 iot-lab_M3: rename to iotlab_m3 2015-08-19 18:29:17 +02:00
Darredevil
7b3a3ab5b2 wakaama: fixed errors for bootstrap mode 2015-08-18 13:15:34 +01:00
Darredevil
53ba8e317f added wakaama pkg 2015-08-13 16:27:23 +01:00
Oleg Hahm
733d630e04 libcoap: fix bracketing in PDU parsing w/ debug 2015-08-07 10:03:28 +02:00
Oleg Hahm
1fe0c158f6 libcoap: fix bracketing for option parsing w/ debug 2015-08-07 10:03:28 +02:00
Oleg Hahm
ee44d7367d libcoap: do not misuse NDEBUG macro 2015-08-07 10:03:28 +02:00
Oleg Hahm
6a2e89a015 libcoap: updated patches enumeration 2015-08-07 10:03:11 +02:00
Joakim Gebart
ecf3069e94 pkg/libfixmath: Protect svn checkout with a lock 2015-07-22 08:14:23 +02:00
Oleg Hahm
5ae84cdcb9 libcoap: switched to new "official" Github repo 2015-07-20 19:03:43 +02:00
Oleg Hahm
2f306226de libcoap: switch to the RIOT-OS mirror 2015-07-20 18:02:41 +02:00
Joakim Gebart
723b1d2c10 pkg/libfixmath: Use $(AD) to handle QUIET=0/1 2015-07-15 13:59:07 +02:00
Joakim Gebart
064c78f457 pkg/libfixmath: Add missing dependency on svn-info.xml 2015-07-15 13:49:46 +02:00
Joakim Gebart
3e29dfef93 pkg/libfixmath: Silent checkout 2015-07-15 13:45:45 +02:00
Joakim Gebart
9025a48868 pkg/libfixmath/Makefile: Avoid -a option
-a is an extension which is not supported on the basename version installed on Travis.
2015-07-15 13:45:45 +02:00
Joakim Gebart
bb916cf30d pkg/libfixmath: printf format fixes for unittests 2015-07-14 08:11:15 +02:00
Joakim Gebart
b7905427a6 pkg/libfixmath: use unsigned char for isdigit, isspace
Fixes riot/tests/libfixmath/bin/.../libfixmath-src/fix16_str.c:93:9: error: array subscript has type ‘char’ [-Werror=char-subscripts]
2015-07-14 08:11:15 +02:00
Joakim Gebart
279c4a33e1 pkg/cmsis-dsp: Add package for CMSIS DSP library 2015-06-24 21:51:44 +02:00
Lucas Jenss
426170b064 Improve naming of thread stacksize/priority constants
As discussed in #2725, this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:

* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
Lotte Steenbrink
c9fa18e54c oonf_api: update pkg url 2015-05-15 02:13:03 -07:00
Joakim Gebart
336a450106 pkg: Add .gitattributes to ignore whitespace errors inside some included patch files. 2015-05-09 11:35:15 +02:00
Oleg Hahm
9226eaa619 pkg: updated patching information 2015-04-21 16:50:49 +02:00
Oleg Hahm
7f92ce3829 pkg: added information about creating a patch 2015-04-21 16:32:34 +02:00
Benjamin Valentin
7a2b705a57 pkg/oonf_api: use RIOT_VERSION platform identifier 2015-04-19 00:22:23 +02:00
Lotte Steenbrink
86ce788fbf microcoap: add patch to easily increase MAX_SEGMENTS 2015-03-31 09:05:57 +02:00
kushalsingh007
992d16a2cf Transform existing documentation for PORTING and USING to markdown
- Converted the existing documentation to markdown format.
- Fix for #1458.
- Changes font to bold at some places to improve readability
2015-03-09 19:31:29 +05:30
Fabian Nack
e7cff82c03 pkg/oonf_api: necessary oonf_api patches 2015-02-24 11:50:20 +01:00
Lotte Steenbrink
99731f1cdf microcoap: remove trailing whitespaces 2015-02-18 01:48:36 -08:00
Lotte Steenbrink
6653e5bcdc Merge pull request #2383 from authmillenon/microcoap/feat/initial
microcoap: initial import
2015-02-11 12:21:25 +01:00
Lotte Steenbrink
37437982bd change flag from DEBUG to MICROCOAP_DEBUG 2015-02-10 19:08:15 +01:00
Martine Lenders
d7c5eb650d microcoap: initial import 2015-02-10 19:08:15 +01:00
Martine Lenders
0eb2d78dda doc: use my real name 2015-02-08 18:52:16 +01:00
Ludwig Ortmann
031bed01d3 Merge pull request #2236 from d00616/new_micro-ecc
New package for ECDH and ECDSA
2015-02-08 16:17:05 +01:00
Frank Holtz
f3e1922f9d pkg_micro-ecc: Eliptic curve cryptography from https://github.com/kmackay/micro-ecc 2015-02-07 21:08:06 +01:00
Thomas Eichinger
914aaff8ea boards/fox: define empty orange LED macros 2014-12-31 00:14:40 +01:00
Thomas Eichinger
a9379881cf pkg/openwsn: update to current openwsn version 2014-12-18 13:48:12 +01:00
Thomas Eichinger
82be58e35a pkg/openwsn: remove old openwsn pkg 2014-12-17 16:36:46 +01:00
Ludwig Ortmann
5a21631643 pkg/libcoap: call "$(MAKE)", not make 2014-11-24 15:54:49 +01:00
Oleg Hahm
20ce2aee8b cpu: rename arm_common to arm7_common
To be more accurate with the naming and avoid confusions.
2014-11-21 20:27:19 +01:00
Fabian Nack
07fff37efe drivers - cc110x_ng: rename ng driver to legacy 2014-10-24 09:55:31 +02:00
Lotte Steenbrink
05f43a9e35 Fix oonf_api after destiny to socket_base migration
The include path provided for socket.h did not exist.
2014-10-06 15:49:39 -07:00
Leon George
533e23fab0 pkg/Makefile.http: complete Makefile-example 2014-10-01 21:53:43 +02:00
Leon George
bff3bf72c8 pkg/Makefile.{http,git}: Minor issues resolved.
The were two recipes for clean. One of them is now "dist-clean"
2014-09-28 03:26:32 +02:00
Cenk Gündoğan
710c7e6cf6 transport_layer: Splitting UDP and TCP
Currently, the tcp and udp implementations are bound to each other in a
module called *destiny*. Thus, when using only one of them then the
other one gets also compiled into the binary and initialized,
which results in unnecessary RAM usage and workload for the CPU.

The approach in this PR defines a common module named *socket_base*,
which contains functions used by the posix layer. Compiled by it's own,
those functions return negative error codes, to symbolize upper layers
that they are not supported. When also including the modules *udp* or
*tcp* respectively, functions from *socket_base* get overwritten with the
correct functionality.

Defining *udp* or *tcp* in a Makefile also includes *socket_base*.
Defining *pnet* in a Makefile also includes *socket_base*.
2014-09-11 20:07:46 +02:00
René Kijewski
a70ee0f022 make: centralize wget/curl & unzip/7z feature test
With many open PRs that could benefit from loading SDKs when needed,
instead adding vast amounts of code to RIOTs master, this PR provides
the "functions" `$(DOWNLOAD_TO_STDOUT)`, `$(DOWNLOAD_TO_FILE)`, and
`$(UNZIP_HERE)`.

The first "function" takes one argument, the URL from where to download
the content. It is then piped to stdout. To be used e.g. with `tar xz`.

The second "function" taken two arguments, the destination file name,
and the source URL. If the previous invocation was interrupted, then the
download gets continued, if possible.

The last "function" takes one argument, the source ZIP file. The file
gets extracted into the cwd, so best use this "function" with
`cd $(SOME_WHERE) &&`.

The clumsy name `$(UNZIP_HERE)` is taken because the program "unzip"
takes the environment variable `UNZIP` as the source file, even if
another file name was given on the command line. The rationale for that
is that the hackers of "unzip" hate their users. Also they sacrifice
hamsters to Satan.
2014-08-21 19:07:52 +02:00
René Kijewski
d7b4f1a5ba pkg: add USEPKG module "libfixmath"
This PR adds the USEPKG module "libfixmath".
It integrates https://code.google.com/p/libfixmath/ into RIOT, cmp. #1457.
2014-08-01 00:04:48 +02:00
Ludwig Ortmann
ccfe6d7bb7 pkg/libcoap: fix copmilation problems
Apparently all that whitespace was needed after all.
Next convert to new-style function declrations.
Also, don't prevent make from noticing a failing patch.
2014-07-15 18:56:52 +02:00
Hauke Petersen
9001e0c2fb core: removed duplicated hwtimer_arch.h 2014-07-09 21:08:13 +02:00
Oleg Hahm
810b8d4479 Merge pull request #1210 from benpicco/fix_oonf_msba2
pkg/oonf_api: fix conflicting types on msba2
2014-06-17 23:43:32 +02:00
René Kijewski
ee02a0f654 x86: fix download script for OSX
Mac OSX does not have `wget`, but `curl`.
It does not understand `tar xJ`, but `tar xj`.
2014-06-03 22:36:00 +02:00
Martin Lenders
2362623490 Fix trailing whitespaces
Fixes #1138
2014-05-26 14:54:23 +02:00
Thomas Eichinger
1e983c9670 s/PROJECT/APPLICATION/g
fixes #548
2014-05-26 13:21:09 +02:00
René Kijewski
054f9fd026 make: fix clean together with TLSF 2014-05-24 19:22:18 +02:00
René Kijewski
88e8915dfe Add TLSF (two level segregated fit) PKG
This is my second take on #669, because I was asked to separate it from #764.

This change adds a malloc implementation as a PKG, which uses *TLSF* (two
level segregated fit).

The patch file removes the 64bit capatibilities, debug functions, and the
option to have multiple "control blocks" (a control block holds multiple
memory pools). It wraps `malloc()` and friends in `disableIRQ() … restoreIRQ()`.

The implemention does not support 16bit platforms, yet, but probably only some
constants would need fixing. I limited the maximum size of a memory pool to
2**30 bytes = 1GB.

This PKG is not meant to be used by applicitions directly, but by the boards.
The board's initialition code needs to call
`int tlsf_add_pool(void *mem, size_t bytes)` for every free memory region it
has. If the board in using newlib, then this call needs to happen before the
first call to `puts`, `printf`, and friends, because newlib allocates the
control data IO streams (stdin, stdout, stderr) on the heap. Adding a small
(e.g. 1kB) pool before proper board initialization would be a possible solution.

Please read the additional information in the website of the implementator,
http://tlsf.baisoku.org/:

> TLSF (two level segregated fit) is a relatively new memory
allocator designed for embedded systems. It boasts constant
time O(1) malloc/free response time and a 4-byte block
overhead. Though it typically is slightly slower than other
allocators such as dlmalloc, it has no worst-case behavior.

> The original implementation, which comes alongside the white
paper, is distributed under the GNU GPL/LGPL. The code found
here is an original implementation, released into the public
domain, therefore is not subject to any licensing restrictions.

> Features:
 -  O(1) cost for malloc, free, realloc, memalign
 -  Extremely low overhead per allocation (4 bytes)
 -  Low overhead per pool (~3kB)
 -  Low fragmentation
 -  Compiles to only a few kB of code and data

> Caveats:
 -  Currently, assumes architecture can make 4-byte aligned accesses
 -  Not designed to be thread safe; the user must provide this

> Known Issues:
Due to the internal block structure size and the implementation
details of tlsf_memalign, there is worst-case behavior when requesting
small (<16 byte) blocks aligned to 8-byte boundaries. Overuse of memalign
will generally increase fragmentation, but this particular case will leave
lots of unusable "holes" in the heap. The solution would be to internally
align all blocks to 8 bytes, but this will require significantl changes
to the implementation. Contact me if you are interested.
2014-05-20 03:17:09 +02:00
Benjamin Valentin
1235a0f579 pkg/oonf_api: fix conflicting types on msba2 2014-05-18 22:57:03 +02:00
Thomas Eichinger
ba3088c4bd added iot-lab_M3 and temporarily dropped telosb support; split patch.txt
into separate patch files
2014-05-14 15:06:50 +02:00
Benjamin Valentin
a2dec64b67 fix buildtest with oonf_api
Don't try to checkout oonf_api if it's already present
2014-05-12 16:53:30 +02:00
Hauke Petersen
6c591c8a68 tests/pkg: fixed issues from #919 2014-03-26 15:13:23 +01:00
benpicco
69515edc47 Merge pull request #905 from benpicco/improve_Makefile.git
improve Makefile.git
2014-03-19 16:46:36 +01:00
Oleg Hahm
8c6f9b1e24 Merge pull request #903 from LudwigOrtmann/gitignore-oonf_api
pkg/oonf_api: add .gitignore
2014-03-19 16:46:07 +01:00
Ludwig Ortmann
68afd7e3fe Update PORTING 2014-03-19 16:40:33 +01:00
Benjamin Valentin
ab4d151a6a improve Makefile.git
Change the example Makefile.git as suggested in #895
  abort when a patch fails to apply
  fix build with GNU Make 4.0
  reset git to the specified version instead of checking out a detached head
2014-03-19 16:19:30 +01:00
Ludwig Ortmann
2df3808969 pkg/oonf_api: add .gitignore 2014-03-19 16:12:50 +01:00
Benjamin Valentin
633f65c062 abort on error when patching oonf_api 2014-03-18 18:53:14 +01:00
Benjamin Valentin
4dfce522df fix oonf_api build with GNU Make 4.0
fixes #884
2014-03-18 14:50:47 +01:00
Benjamin Valentin
86244410b5 remove unnecessary comments from Makefile
remove leftovers from the example Makefile, they are unnededly printed during the build
2014-03-17 21:23:46 +01:00
Benjamin Valentin
068b4746b0 silence git warning about detached head
use reset --hard to check out the desired revision
2014-03-17 21:23:46 +01:00
Benjamin Valentin
740f43cb99 remove trailing whitespaces 2014-03-17 16:14:11 +01:00
Benjamin Valentin
8856cfddb9 make: don't ignore failures in for loops
apply 9b61d95545 to oonf_api
2014-03-17 16:06:46 +01:00
Lotte Steenbrink
2755b69e58 Merge pull request #630 from benpicco/oonf_api
[RFC] add oonf_api to pkg
2014-03-13 18:18:07 +01:00
Ludwig Ortmann
9b61d95545 make: don't ignore failures in for loops
Add `|| exit 1` to all constructs like `@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;`, so that compilation stops on the first error.
2014-03-12 11:09:04 +01:00
Ludwig Ortmann
ac21f3c54c make: couple include path and -I
This is necessary if includes have to be filtered, such as in native
to throw out RIOTs posix includes which interfere with system
includes.
2014-02-27 08:14:33 +01:00
Martin Lenders
2cc4682716 Fix libcoap make 2014-02-26 15:40:41 +01:00
Martin Lenders
24b63bd9f0 Update libcoap 2014-02-23 20:57:17 +01:00
Benjamin Valentin
edea31a21c add oonf_api pkg 2014-02-22 01:41:17 +01:00
Christian Mehlis
cb9c5d00de repace project by application in documentation 2014-02-18 12:28:32 +01:00
René Kijewski
ee6f6830aa Apply @authmillenon's patch 2014-02-12 13:59:39 +01:00
René Kijewski
84cffaa0a0 Use include path convention for PKGs
Packages have to define a Makefile.include target in pkg/%/Makefile.
pkg/%/Makefile.include will be loaded after all other dependencies.
2014-02-12 13:59:39 +01:00
René Kijewski
5906f18a81 Add USEPKG variable for Makefiles
Currently pkg/USING says one should use
`EXTERNAL+=$(RIOTBASE)/pkg/<pkg_name>` to enable PKG modules.
Using this line the PKG will be compiled but not linked.

This change adds a USEPKG variable to be used like
`USEPKG += <pkg_name>`, which looks less clumsy and gets the PKG linked
in the binary.
2014-02-12 13:57:30 +01:00
Ludwig Ortmann
2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Ludwig Ortmann
a594c57bed Merge pull request #578 from LudwigOrtmann/libcoap_makefile
fix libcoap checkout target
2014-01-31 07:21:50 -08:00
lotte steenbrink
fccd2eca5e Fixed some typos & language in pkg/PORTING 2014-01-31 11:24:35 +00:00
Ludwig Ortmann
19e1759ff4 add .gitignore for openwsn pkg 2014-01-29 10:33:02 +01:00
Ludwig Ortmann
6fcf7ec089 fix libcoap checkout target
Fixes the following error:
make[1]: Entering directory '/foo/RIOT/pkg/libcoap'
git clone http://git.code.sf.net/p/libcoap/code /foo/RIOT/pkg/libcoap/libcoap && \
	cd /foo/RIOT/pkg/libcoap/libcoap && git checkout 89acaa6775ca3a4aedea510557e6b9c0c01fa5db
fatal: destination path '/foo/RIOT/pkg/libcoap/libcoap' already exists and is not an empty directory.
Makefile:25: recipe for target '/foo/RIOT/pkg/libcoap/libcoap' failed
2014-01-28 18:52:55 +01:00
Thomas Eichinger
41fca84c09 Merge pull request #508 from thomaseichinger/openwsn-pkg
support openwsn as a pkg
2014-01-20 06:03:12 -08:00
Thomas Eichinger
b290ea0059 fix for those fancy case sensitiv filesystems 2014-01-20 13:19:07 +01:00
Thomas Eichinger
10cf348a6e fixes naming conflict with uart.(c|h) 2014-01-20 12:35:19 +01:00
Thomas Eichinger
d41b92094a fixes downloading the archive with each ``make -B`` 2014-01-20 12:34:07 +01:00
Thomas Eichinger
f25e9f1f79 fixing bug: don't reapply patch 2014-01-17 17:59:43 +01:00
Martin Lenders
55b1c27c38 Add libcoap as BSD ports-like package 2014-01-17 15:54:18 +01:00
Thomas Eichinger
923b6c09af added a README with compatibility information 2014-01-16 21:31:44 +01:00
Thomas Eichinger
5c8838ce3f make script more verbose and deal with CRLF line endings 2014-01-15 16:38:04 +01:00
Thomas Eichinger
a66846ef22 fixes to fit the new silence flag 2014-01-15 16:12:11 +01:00
Thomas Eichinger
c6de59cb28 added possibilty to import openwsn stack as external module 2014-01-15 14:02:28 +01:00
Martin Lenders
cbd3b16fe4 Add package porting infomation 2013-11-25 17:17:00 +01:00