Commit Graph

8608 Commits

Author SHA1 Message Date
Robert Quattlebaum
369591ec1a Merge pull request #130 from darconeous/pull-requests/cpu-native-eeprom
cpu/native: Add file-backed simulated EEPROM to native cpu.
2013-05-18 10:39:43 -07:00
Robert Quattlebaum
b8c0f2de6c cpu/native: Add file-backed simulated EEPROM to native cpu.
This patch removes a defunct EEPROM implementation from the native
platform and provides a new EEPROM implementation for the native cpu.
The previous implementation appears to be vestigal.

This is useful for testing code which uses the EEPROM without running
the code on the actual hardware.

By default the code will create a new temporary file as the EEPROM
backing, reinitializing each time. If you would like to preserve the
EEPROM contents or specify a specific EEPROM file to use, you can set the
`CONTIKI_EEPROM` environment variable to the name of the EEPROM file you
wish to use instead. If it already exists, its contents will be used.
If it does not already exist, it will be created and initialized by
filling it with `0xFF`---just like a real EEPROM.

A new example is also included, which was used to verify the correctness
of the implementation. It can easily be used to verify the EEPROM
implementations of other targets.
2013-05-18 10:29:41 -07:00
George Oikonomou
13e29c7975 Fix 8051 port builds to play nicely with #173 2013-05-17 23:41:36 +01:00
Giovanni evilaliv3 Pellerano
49d861979b remote power switch example updated to use coap version 13 2013-05-17 14:45:13 +02:00
Giovanni evilaliv3 Pellerano
db729eddd2 added remote power switch example for SeedEye board 2013-05-17 14:33:58 +02:00
Giovanni evilaliv3 Pellerano
c33d51e762 pic32 minor cleanups 2013-05-17 14:32:39 +02:00
Adam Dunkels
5af6540980 Merge pull request #197 from sieben/doxygen
Update of doxygen.to 1.8.1.2 using doxygen -u
2013-05-16 00:25:49 -07:00
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
eef6d7a37e Removed undef 2013-05-15 16:49:36 +02:00
lebrush
82d498f3a1 Removed undef 2013-05-15 16:25:34 +02:00
lebrush
9158ff4bf1 Add method to get the first neighbour which is about to expire 2013-05-15 13:44:25 +02:00
lebrush
966e9fc484 Force sicslowpan to use uip-debug rather than an own system 2013-05-15 12:23:21 +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
Joakim Eriksson
a096ace73e fixed bug causing lots of packet loss 2013-05-04 13:13:08 -07:00
Joakim Eriksson
26d3359683 make native border router use ipv6 stack and not rime 2013-05-04 13:12:09 -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
Rémy Léone
838ec3aa20 Update of doxygen.to 1.8.1.2 using doxygen -u 2013-04-14 16:36:05 +02: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