Commit graph

8389 commits

Author SHA1 Message Date
Adam Dunkels
59a8df14a8 Merge pull request #189 from sieben/markdown
Update to markdown
2013-05-16 00:24:25 -07:00
Oliver Schmidt
223083d192 Merge pull request #216 from lebrush/printf-leftovers
Corrects some leftover uncapitalized printfs
2013-05-15 12:50:20 -07:00
lebrush
82d498f3a1 Removed undef 2013-05-15 16:25:34 +02:00
lebrush
071cfaf1cb Corrects some leftover uncapitalized printfs which may cause some platforms
to crash.
2013-05-15 12:21:15 +02:00
Oliver Schmidt
8451a4198d Merge pull request #209 from karlp/kill-twitter
Replace twitter app with generic http-post-auth
2013-05-10 07:42:16 -07:00
Karl Palsson
7345579ad6 Replace twitter app with generic http-post-auth
Twitter removed http basic auth from the api in august 2010, but this
underlying code is a good example of doing http basic auth in contiki.

The app has been renamed, and some fixes applied to make it build
cleanly.
2013-05-04 12:17:18 +00:00
Oliver Schmidt
96e85cc69a Merge pull request #203 from mmuman/cleanup-and-fixes-002
Cleanup and fixes 002
2013-04-22 04:51:44 -07:00
François Revol
95eb505345 win32: Fix cygwin build
size_t is declared in sys/types.h
2013-04-20 14:44:27 +02:00
François Revol
b9774989a1 Add missing include
Fix log_message() undefined warning.
2013-04-20 14:43:37 +02:00
François Revol
7967779e6c tapdev: Fix using an uninitialized buffer 2013-04-20 14:42:19 +02:00
Adam Dunkels
424a7b2c8e Merge pull request #202 from g-oikonomou/cc2538-minor-fixes
CC2538 IEEE address location and documentation fixes
2013-04-17 07:48:57 -07:00
George Oikonomou
704309cfd4 Change the InfoPage Location of the IEEE address 2013-04-17 15:44:01 +01:00
George Oikonomou
8b5b2bd4d8 CC2538 Documentation typo and grammar fixes 2013-04-17 15:41:41 +01:00
Adam Dunkels
c99b62f628 Merge pull request #199 from g-oikonomou/cc253x-cdc-acm-line-state-fix
Improve handling of CDC ACM line state
2013-04-17 07:37:25 -07:00
George Oikonomou
007e113ea9 Improve handling of CDC ACM line state
- For the CC2538, simplify handling of USB_CDC_ACM_LINE_STATE
  events. Ignore the Carrier Control (RTS) bit when receiving
  a SET_CONTROL_LINE _STATE request, we are a full duplex device.
- Improve behaviour of the CC2531 USB stick when there is no
  process on the host to read IN data. Basically, we adopt the
  CC2538 approach and we only send data when a DTE is present
2013-04-16 15:49:05 +01:00
Adam Dunkels
260b004b7e Merge pull request #194 from g-oikonomou/cc2538-forward
New Platform: TI CC2538 Development Kit
2013-04-15 05:38:57 -07:00
George Oikonomou
40f49948e6 New Platform: TI CC2538 Development Kit
This commit adds cpu, platform and example files,
providing support for running Contiki on TI's cc2538 DK
2013-04-06 21:07:31 +01:00
Rémy Léone
69d936d94a Update README.md
Minor markdown => md renaming
2013-04-03 14:52:27 +03:00
Oliver Schmidt
d5d8de7372 Merge pull request #181 from mmuman/ctk-ncurses-try4
TODOs:
- Check FreeBSD
- Adjust Makefile.target
2013-03-31 14:36:30 -07:00
François Revol
476be8de7e ctk-curses: style fixes
Thanks tools/contiki-indent
2013-03-31 04:07:03 +02:00
François Revol
a43601b2fc ctk-curses: WITH_GUI also on ftp example for native platform 2013-03-30 23:45:53 +01:00
François Revol
3633c52bcb ctk-curses: whitespace fixes 2013-03-30 23:34:18 +01:00
François Revol
a03334a59d ctk-curses: style fixes 2013-03-30 23:26:22 +01:00
François Revol
8daf2b6659 ctk-curses: remove unused code
The setupterm() call is not needed when using curses.
2013-03-30 23:15:08 +01:00
François Revol
976746f97f ctk-curses: cleanup 2013-03-30 23:07:38 +01:00
François Revol
5a4382a996 ctk-curses: uncomment refresh() calls
I'm not yet sure they are required there but it shouldn't hurt.
2013-03-30 23:03:04 +01:00
François Revol
065c25cfc5 ctk-curses: uncomment nonl() call and fix return key handling 2013-03-30 23:00:44 +01:00
François Revol
f63aada8b6 ctk-curses: make sure gcc finds ncurses headers on cygwin
They are located in /usr/include/ncurses
2013-03-30 18:11:17 +01:00
François Revol
45662ac1ef ctk-curses: add some comments for clarity 2013-03-30 17:57:01 +01:00
Oliver Schmidt
f1f777e162 Merge pull request #185 from g-oikonomou/bug-fixes/cmd-handler-fix
Fix a mismatch between declaration and definition
2013-03-28 15:11:59 -07:00
Rémy Léone
e6bd4f1dde Rename to md 2013-03-26 23:15:37 +01:00
Rémy Léone
7b40a568a6 Update to markdown
- Spellchecking
- Update plain text to github markdown
2013-03-26 16:55:19 +01:00
François Revol
9372a153dd win32: Prefix color names with CTK_
For consistency with ctk-curses, prefix CTK colors with CTK_.

Also introduce COLOR_BG to make it easier to change the widgets
background at once.
2013-03-26 11:51:58 +01:00
François Revol
5350f36d19 ctk-curses: Revert "ctk-curses: fix build"
This reverts commit 9ffaa96475.

Since we do not include curses.h anymore there shouldn't be any name clash.
2013-03-26 11:40:32 +01:00
François Revol
ada305a3be ctk-curses: Introduce CTK-specific color names
Since ncurses also defines COLOR_BLACK and friends, and we want
to avoid including curses.h in contiki-conf.h, define CTK_COLOR_*
constants and map them to curses colors in ctk-curses.c.
2013-03-26 11:37:10 +01:00
François Revol
56f11e7524 ctk-curses: C89
At least Haiku still uses gcc2 by default.
2013-03-26 08:51:37 +01:00
François Revol
54199d7121 ctk-curses: add CURSES_LIB to TARGET_LIBFILES, not LDFLAGS
It seems TARGET_LIBFILES is used at the end of the link command,
unlike LDFLAGS, which should help when only a static curses lib is
available, like on Haiku.
2013-03-26 08:10:59 +01:00
Nicolas Tsiftes
f8edbbb8d2 Merge pull request #178 from adamdunkels/feature-contiki-default-conf
A first stab at a default configuration system
2013-03-25 20:13:15 -07:00
François Revol
2bb9ced3d6 ctk-curses: Guard ncurses-specific mouse function calls
The mouse support is ncurses-specific so guard it with proper #ifdef.
2013-03-26 02:01:28 +01:00
François Revol
86cb1769f6 ctk-curses: Remove extra mouse events pumping loop
It was added to avoid getting garbage keyboard input in some cases,
however it seems not to happen very often and might be the cause
of hang in OSX. If garbage input happens again we can always try
to pump a single event each time instead of looping anyway.
2013-03-26 01:49:05 +01:00
François Revol
343a7643b7 ctk-curses: Introduce CURSES_LIB makefile variable
This should allow overriding it depending on $(HOST_OS).
2013-03-26 01:12:09 +01:00
George Oikonomou
a82746e72a Fix a mismatch between declaration and definition 2013-03-23 15:07:47 +00:00
François Revol
b7601c3acb ctk-curses: Cleanup 2013-03-20 17:16:37 +01:00
Oliver Schmidt
6ba28bf74f Merge pull request #180 from mmuman/cleanup-and-fixes
Cleanup and fixes
2013-03-20 02:37:24 -07:00
François Revol
1ce1232d0f ctk-curses: Add configuration for various apps 2013-03-20 02:01:05 +01:00
François Revol
06d3c14213 ctk-curses: Enable screensaver 2013-03-20 02:01:05 +01:00
François Revol
9ffaa96475 ctk-curses: fix build
Including curses.h in contiki-conf.h (required for COLOR_* defines)
induced a symbol name clash with neighbor-attr.c on "timeout".

Renamed timeout to neighbor_timeout.
2013-03-20 02:01:05 +01:00
François Revol
1c5d6a9db7 ctk-curses: Cleanup + fixes
* Cleanup
* Fix warnings
* Fix indentation
* Only wait 1ms for keyboard timeout
* Hide text cursor
* Pump mouse events just in case
* Add F9 as menu key since F10 is used as menu trigger by Gnome
2013-03-20 02:00:32 +01:00
François Revol
db982f7b82 ctk-curses: Add mouse support to the ncurses CTK backend. 2013-03-20 01:35:42 +01:00
François Revol
25e3f828aa Ncurses-based CTK backend for the native platform. 2013-03-20 01:35:01 +01:00