René Kijewski
e073d86845
Merge pull request #877 from Kijewski/shell-utf8
...
shell: fix UTF-8 problem
2014-03-18 11:27:28 +01:00
René Kijewski
97593e9f05
shell: add myself to authors
2014-03-10 18:17:05 +01:00
René Kijewski
a1df6a86bb
shell: don't ignore IO errors
2014-03-10 13:48:00 +01:00
René Kijewski
3f289760bf
shell: accept UTF8 input
2014-03-10 13:47:33 +01:00
Ludwig Ortmann
063a15ce9b
Change reboot signature.
...
Change from `void reboot(void)` to `int reboot(int mode)`.
Move reboot definition to core, rename architecture implementations
from reboot to reboot_arch.
Declare reboot mode(s) in kernel.h, reboot_arch in kernel_internal.h
Currently only one reboot mode is handled, its use is enforced.
Rationale:
A reboot function is already defined in <unistd.h> on BSD systems.
(See: http://www.openbsd.org/cgi-bin/man.cgi?query=reboot&sektion=2 )
This patch not only allows native to build sensibly on these systems
but also streamlines RIOTs compatability with existing software.
2014-03-10 11:14:27 +01:00
Martin Lenders
58fb30b8a7
Fix address output of net_if shell command
2014-03-09 08:45:03 +00:00
René Kijewski
a3076c9726
shell: remove clutter from shell's Makefile
...
Remove clutter that was put into centralized Makefile.includes.
2014-03-04 21:12:17 +01:00
Christian Mehlis
eb0ceeb773
Merge pull request #794 from Kijewski/shell-args-escape
...
shell: Allow escaped characters in shell
2014-03-03 18:14:00 +01:00
Martin Lenders
00acab920b
Let IPv6 and ICMP use new 6LoWPAN layer (+fixes)
2014-03-01 15:08:18 +01:00
Martin Lenders
4a6495987e
Add shell commands for interface configuration
2014-03-01 00:48:42 +01:00
Martin Lenders
848ac70f90
Implement net_if module
2014-02-28 23:13:22 +01:00
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