Martin Lenders
7f8e2c2991
Add getter and setter of long addresses to transceiver
2014-02-28 23:13:22 +01:00
René Kijewski
03e174ed96
Allow escaped characters in shell
...
Per #708 .
This patch allows escaped characters in the shell, and makes the
apostrophe a quotation mark. The escape character is backslash.
The term "escape character" is used liberally in here: if a backslash is
encountered in the command line, the next character will be taken
verbatim. No escape sequences are understood, i.e. `"\n"` is just the
letter `n`, not a new line.
2014-02-26 18:09:46 +01:00
René Kijewski
a5c0518e0e
Fix _settime_handler
2014-02-26 14:08:54 +01:00
René Kijewski
28c4ef45f7
Do not skip over the null terminator
2014-02-26 13:21:25 +01:00
René Kijewski
829966ee32
Print error message on any quoting error
2014-02-25 17:54:17 +01:00
René Kijewski
c507632e50
Use argc and argv in shell handlers
...
Compare #708 .
Now the tokenization of an input line is done by the shell itself. You
may quote arguments with `"..."`. Empty arguments, supplied by `""` are
preserved. Spaces in between arguments are squasheds; spaces inside
quotes are preserved.
You cannot partially quote an argument. You must not use
- `cmd "abc`,
- `cmd abc"def"`, or
- `cmd "abc"def`.
2014-02-25 17:54:17 +01:00
Ludwig Ortmann
61df6e05a3
ifdef shell _heap_handler for corresponding module
2014-02-25 10:11:04 +01:00
Ludwig Ortmann
3fd73c60c6
build id shell command only for config module
...
closes #777
2014-02-25 10:11:04 +01:00
Christian Mehlis
48f23aa43d
Merge pull request #734 from mehlis/native-c++-fixes
...
C++ compiler warnings (native, core)
2014-02-20 10:27:37 +01:00
Martin Lenders
df83221983
Hotfix for error introduced in #678
2014-02-18 22:44:00 +01:00
Christian Mehlis
0309fecc19
fix warning: invalid suffix on literal
...
C++11 requires a space between
literal and identifier [-Wliteral-suffix]
2014-02-18 17:05:01 +01:00
Oleg Hahm
b42496475a
Merge pull request #724 from rousselk/reboot
...
Reboot
2014-02-18 13:33:49 +01:00
Kévin Roussel
dc6f920f33
Merge remote-tracking branch 'origin/reboot' into reboot
2014-02-17 12:00:19 +01:00
René Kijewski
2349d0806e
"Exterminate } else {
"
2014-02-16 23:29:47 +01:00
Oleg Hahm
6c0482b976
Merge pull request #701 from Kijewski/issue-672
...
Use `filter` instead of `findstring`
2014-02-16 12:33:29 +01:00
Christian Mehlis
4fd6d73125
Merge pull request #678 from mehlis/shell-no-copy
...
shell: remove useless copying of input string
2014-02-14 18:03:14 +01:00
Ludwig Ortmann
523129c1d6
add system calls to the shell
2014-02-14 17:17:25 +01:00
René Kijewski
102dc45382
Eliminate findstring in more places
2014-02-14 14:30:16 +01:00
Thomas Eichinger
17b624e0a4
Merge pull request #681 from OlegHahm/at86rf231_fixes
...
at86rf231: fix includes and shell commands
2014-02-12 09:46:13 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Oleg Hahm
f379eefbd8
fix includes and shell commands for at86rf231
2014-02-11 17:15:03 +01:00
Oleg Hahm
30b6c16512
include cc110x.h instead of deprecated interface.h
2014-02-11 13:36:40 +01:00
Christian Mehlis
33239487bf
shell: remove useless copying of input string
2014-02-10 15:41:04 +01:00
Ludwig Ortmann
062a5b93f4
replace shell commands for different transceivers with one transceiver command
2014-02-07 18:56:04 +01:00
Oleg Hahm
70747d8bb4
streamlined driver include pathes
2014-02-05 18:56:47 +01:00
Christian Mehlis
439b0d2ba5
added LGPL header and doxygen headers
2014-02-03 23:21:41 +01:00
Christian Mehlis
d0680e7bac
shell: added a handler for mersenne twister
2014-01-30 11:52:29 +01:00
René Kijewski
891245cf60
Allow Mac linebreaks in shell
...
QEMU uses Mac style newlines in its UART implementation.
This change allows Unix ("\n"), DOS ("\r\n") and Mac ("\r") style
linebreaks.
2014-01-27 19:25:03 +01:00
Oleg Hahm
775c0dee5c
added missing mute prefixes in nativenet and shell
2014-01-05 16:11:08 +01:00
Oleg Hahm
9df07f9238
muting compiler and binutils optionally
...
Instead of muting all compiler and other binutils output by default,
introduce a variable to make this behaviour configurable.
2014-01-05 16:11:08 +01:00
Oleg Hahm
593ee623b6
simplify and unify include pathes
...
additional:
* exporting include path in sys is mandatory for subfolders
* removed duplicate object file in linker call
2014-01-05 16:11:07 +01:00
Oleg Hahm
e6b354db5d
mute build tools (to be consistent with the rest of the build system)
2014-01-05 16:11:07 +01:00
Ludwig Ortmann
c1c6287ef7
fix nativenet shell comamnd printf
2013-12-21 16:58:51 +01:00
Martin Lenders
68f7b9090e
Make shell buffer size a shell property
2013-12-20 11:10:50 +01:00
Oleg Hahm
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Oleg Hahm
3f983db20a
make compilation of sc_heap module dependent
2013-12-13 18:49:19 +01:00
LudwigOrtmann
1442170d41
Merge pull request #300 from kaspar030/shell_refactor
...
shell: refactor default shell command handling
2013-12-03 04:44:59 -08:00
6634c56830
shell: fix compile warning and add some comments
2013-12-02 17:36:58 +01:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Christian Mehlis
84e73ae324
clean up shell
2013-11-14 10:45:24 +01:00
Christian Mehlis
bb85cb33d9
shell: dont't use malloc on each line
2013-11-14 10:45:24 +01:00
Martin Lenders
d47907ed1a
Refactor net module to one include directory
2013-11-06 13:04:23 +01:00
3be2a3227a
shell: refactor default shell command handling
...
before, we actually duplicated code for handling of shell commands
supplied to shell_init and those hardcoded by MODULE_SHELL_COMMANDS.
This patch refactors shell.c find_handler and print_help so there's
no duplicated code.
2013-11-04 17:06:50 +01:00
Oleg Hahm
94454f455d
use Makefile.base for shell_commands
2013-10-29 10:48:24 +01:00
Oleg Hahm
9ac5a26600
include sc_heap only when building for LPC boards
2013-09-19 13:47:23 +02:00
zkasmi
ceedb9b496
Converting tabs to spaces.
2013-09-18 16:38:14 +02:00
zkasmi
4a614b8a35
add the heap command to the shell command list + coding conventions.
2013-09-18 16:38:14 +02:00
Christian Mehlis
16dbafe319
Merge pull request #182 from LudwigOrtmann/make_clang_happy
...
Fix some clang warnings in native
2013-08-31 00:25:35 -07:00
Ludwig Ortmann
a714597482
fix spelling & warning of _heap_handler parameter
2013-08-30 17:14:56 +02:00
Ludwig Ortmann
c2fcbb787e
Fix some clang warnings in native
...
also cleans up a bit
2013-08-30 17:03:34 +02:00
Ludwig Ortmann
37c3059e1c
clean up nativenet, add src addr
2013-08-29 16:16:46 +02:00
Zakaria Kasmi
c52a24625f
reverted license change from 0634f21542
2013-08-26 11:30:36 +02:00
Zakaria_Kasmi
3ea68ecfc1
add a handler for the heap state
2013-08-26 11:30:17 +02:00
Ludwig Ortmann
708ece68cc
cc1100 -> nativenet
2013-08-15 14:05:26 +02:00
Oleg Hahm
88d2357295
fix warnings from #62
2013-08-08 18:34:51 +02:00
Oliver Hahm
57cc002c67
Merge branch 'wsn430'
...
Conflicts:
core/include/queue.h
core/queue.c
cpu/msp430-common/hwtimer_cpu.c
cpu/msp430x16x/hwtimer_msp430.c
sys/lib/hashtable.c
sys/net/ieee802154/ieee802154_frame.c
sys/shell/commands/sc_cc110x_ng.c
sys/transceiver/transceiver.c
sys/vtimer/vtimer.c
2013-06-25 15:33:40 +02:00
Oliver Hahm
c8bee9e554
fixed coding style (space after most keywords)
2013-06-24 22:37:35 +02:00
Oliver Hahm
5c52e1ce2e
coding conventions for most of system libraries
2013-06-22 05:11:53 +02:00
Rene Kijewski
0212ab36a7
Use inttypes.h in sc_cc110x_ng.c
2013-06-18 17:46:18 +02:00
Oliver Hahm
fdd1d21e8d
Merge branch 'master' into wsn430
2013-06-14 19:41:23 +02:00
Christian Mehlis
57e70a659c
Remove undefined variables from Makefiles
...
The following variables are included in various Makefiles but never
defined.
$(BOARDINCLUDE)
$(PROJECTINCLUDE)
$(CPUINCLUDE)
2013-06-13 21:41:24 +02:00
Milan Babel
db1fc96ffe
added driver for cc2420
...
also added cc2420 to transceiver and added cc2420 shell commands
2013-06-06 08:35:17 +02:00
Milan Babel
edb34b73c0
fixes for the wsn430
...
fixed vtimer for the msp430
added spi module for the wsn430 v1.3b
changed some variables to uintXX_t, fixes overflow on msp430
2013-06-06 08:35:17 +02:00
Ludwig Ortmann
dfeae74661
lose > before output, prompt when ready for input
2013-03-18 15:37:32 +01:00
Oliver Hahm
0d06e1bc18
Merge branch 'master' of github.com:RIOT-OS/RIOT
2013-03-10 16:46:46 +01:00
Oliver Hahm
7a4dec1830
* replaced new Makefile name in Makefiles
2013-03-09 23:47:21 +01:00
Oliver Hahm
5ffe5a9c27
* renamed makefiles to Makefile
2013-03-09 23:45:56 +01:00
Oleg Hahm
2277b366b2
* removed outdated occurrences of (u|µ)kleos and FeuerWare
2013-03-07 20:51:26 +01:00
Oleg Hahm
d31ee82518
* removed legacy projects folder and Jamfiles
2013-02-27 19:08:16 +01:00
Oleg Hahm
5df0bd0cc4
* updated and integrated makefiles
...
* added some auto dependencies
2013-02-08 17:37:02 +01:00
Oleg Hahm
3791039974
* integrated makefiles
...
* fixed some prototypes
* restructured sys
2013-02-06 13:20:21 +01:00
Oliver Hahm
92281753ad
Merge branch 'stable'
...
Conflicts:
core/sched.c
sys/auto_init.c
2012-11-05 19:15:57 -05:00
Oliver Hahm
06da73c9c3
* cosmetics
2012-11-05 18:55:05 -05:00
Oliver Hahm
984e2e5dde
Merge branch 'mac'
2012-11-05 14:25:52 -05:00
Oliver Hahm
f978260656
[drivers cc110x] [sys shell] [sys transceiver]
...
* cretaed transceiver interface for old cc1100 driver (with csma/ca)
2012-03-01 22:12:25 +01:00
Oliver Hahm
551d684155
Merge branch 'master' of ssh://ukleos.org:2222/home/git/ukleos
2012-02-24 14:49:58 +01:00
Oliver Hahm
0d6d3e2c43
[board msba2-common] [sys chardev_thread] [sys shell] [driver cc110x_ng] [core msg]
...
* some cosmetics and cleanups
2012-02-16 21:33:41 +01:00
Oliver Hahm
961b4df179
[core cib] [projects default] [sys shell]
...
* fixed some minor issues found by splint
2012-02-14 14:49:45 +01:00
Oliver Hahm
e89dc07a05
core/
2011-12-28 11:41:33 +01:00
Oliver Hahm
012adcf28b
[sys shell disk]
...
* removed wrong casting
2011-12-12 18:29:22 +01:00
Oliver Hahm
7b1b145b4f
[cpu lpc2387]
...
* added mci driver
[sys shell]
* added commands for memory card access
2011-12-12 17:50:22 +01:00
Oliver Hahm
3a4c88c637
[sys shell shell_commands]
...
* added missing function prototype
2011-10-05 15:28:25 +02:00
Oliver Hahm
90ad73e0f8
[sys shell shell_commands]
...
* added missing header include
2011-04-14 13:49:18 +02:00
Oliver Hahm
0661ce2f7f
[sys shell]
...
* fixed some shell commands
2011-04-06 11:11:03 +02:00
Stephan Zeisberg
5abef6daf2
changed types irq_callback, hashtable, posix_io, s_display_flags, seq_buffer_entry, tcb, toprint to type_t"
2011-03-08 11:43:21 +01:00
Stephan Zeisberg
6a96de0d2f
changed msg to msg_t
2011-03-08 10:54:40 +01:00
Oliver Hahm
ddcbd10a03
[RTC]
...
* added a general RTC header
* added RTC support to chronos
2010-12-13 01:29:46 +01:00
Oliver Hahm
6be1cf2a76
[board/chronos board/msb-430h board/msba2-common drivers/cc110x_ng sys/shell
...
sys/transceiver]
* renamed all occurrences of cc1100 to cc110x as in fact all driver parts should
work for cc1100 and cc110x as well
[driver/cc110x_ng]
* added some documentation
* introduced a new register function to access rxfifo (fixing the of-by-one
problem on chronos platform
2010-12-11 12:09:20 +01:00
Oliver Hahm
ec6a794143
[cc110x_ng]
...
* fuxed transceiver driver for chronos
* some more stuff
2010-12-10 18:00:31 +01:00
Oliver Hahm
e7372b21a9
[board config]
...
* made config optional
2010-12-06 13:19:31 +01:00
Oliver Hahm
1eec8e170e
* introduced flashrom driver for msb430
...
* restructured some files concerning flashrom access
* added some ifdefs to shell commands
2010-12-03 22:22:58 +01:00
Oliver Hahm
4a2c58bbba
[drivers/cc110x_ng sys/transceiver]
...
* updated interface to switch transceiver off and back to rx mode
* removed some debugging stuff
2010-12-02 15:38:28 +01:00
Oliver Hahm
a46cdf189a
* introduced identifiers (include shell commands to get and set)
...
* introduced a system wide configuration
2010-12-01 16:26:48 +01:00
Oliver Hahm
54172b5c86
[sys/shell project/test_cc110x_ng]
...
' moved monitor command from userapp to default shell command set
[sys/transceiver]
' make transceiver_pid "public"
2010-11-27 11:09:42 +01:00
Oliver Hahm
413b2898ec
* missing file from last commit
2010-11-27 10:52:17 +01:00
Oliver Hahm
f5ab5c27bb
[drivers/cc1100_ng sys/transceiver]
...
' added a monitor mode
[sys/shell projects/test_cc1100_ng]
' moved shell commands to get/set channel and address and sending a packet from
userapp to default shell command set
2010-11-27 10:50:18 +01:00
Oliver Hahm
fb784c6628
* fixed units in ltc command
2010-11-09 18:51:04 +01:00
Oliver Hahm
37eb17417f
Merge branch 'master' of ssh://ukleos.des-mesh.net/home/git/ukleos
2010-11-09 18:49:25 +01:00
Oliver Hahm
75c0962363
* added get_interval function to ltc4150
...
* fixed date command (problem with leading zeros)
2010-11-09 18:48:45 +01:00
79d2902d2b
* added initial cc1100 shell commands
2010-11-09 17:08:54 +01:00
5df2aa6fb7
* added initial cc1100 shell commands
2010-11-09 17:08:35 +01:00
Oleg
88c0ec84ee
* added set offset shell command for sht11
...
* introduced command separator for pyterm
* some cosmetics
2010-11-07 23:18:41 +01:00
Oleg
9916bd33aa
* missing ltc4150 shell command handler file
2010-11-05 23:44:12 +01:00
Oleg
ac6d4788eb
* added ltc4150 shell command
...
* cosmetics in ltc4150 driver
2010-11-05 23:43:14 +01:00
Oleg
416029d2c0
* changed default project from "hello-world" to "default"
...
* increased main priority to the half of maximum priority
* introduced define for minimum stack size
* decreased stack size for uart0 thread
* merged commands for rtc shell module to one command (date)
* cleanup of header includes
2010-11-05 19:33:45 +01:00
Oliver Hahm
c389518a09
* shell_commands can be added as a module to user defined shell commands
2010-11-04 19:06:46 +01:00
Oliver Hahm
3b218ec24a
* changed API for rtc
...
* added drivers directory to doxygen file
* added missing include to sht11 header
* added rtc and sht11 support to default project
* added rtc to auto_init
* added rtc and sht11 support to shell
2010-11-04 18:16:39 +01:00
07681a1914
* shell: added help,
...
* shell: fixed default shell commands
2010-11-04 15:05:51 +01:00
9a0725369d
* added include to pull in NULL
2010-11-04 14:24:31 +01:00
126304cd48
* shell: strtok workaround
2010-11-03 13:53:11 +01:00
119fced20f
* shell fixes
2010-11-03 13:40:26 +01:00
aa174e886e
* fix shell entry finder
2010-11-03 13:25:45 +01:00
5a4524539d
* misc shell improvements
2010-11-02 17:23:10 +01:00
1e238e4131
* massive name changes
2010-10-28 11:29:03 +02:00
58bf287751
* misc fixes
2010-10-25 15:38:22 +02:00
59d72c7d6a
* shell: removed hashmap dependency. shell is now O(n)
2010-10-01 15:24:43 +02:00
b8ca7edac8
* refactored uart / chardev handling
2010-09-30 15:10:39 +02:00
315f99af16
* shell fixes, refactoring
2010-09-28 13:39:59 +02:00