Commit Graph

8236 Commits

Author SHA1 Message Date
Oliver Schmidt
c3d7660480 Merge pull request #148 from oliverschmidt/master
Removed PFS code from C128 WGET.
2013-03-06 05:52:32 -08:00
Oliver Schmidt
49ca10d540 Removed PFS code from C128 WGET.
On the C128 the custom PFS code doesn't add functionality (as it does with IDE64 support on the C64) but is "only" smaller than the POSIX file i/o code in the C library. But the stdio code in the C library (used in WGET for screen i/o) relies on the POSIX file i/o code anyway so there no point in additionally adding the PFS code to the WGET program.
2013-03-06 14:50:51 +01:00
Oliver Schmidt
5ab48453cf Merge pull request #147 from oliverschmidt/master
Added several Web Browser changes and removed some 'register' keywords.
2013-03-06 05:45:02 -08:00
Oliver Schmidt
4d4b796abb Removed useless register keywords.
Modern compilers (especially GCC) ignore the register keyword anyway and the latest cc65 snapshot generates actually larger code with the register keyword at the locations in question.
2013-03-06 14:32:36 +01:00
Mariano Alvira
b72196fe0e Merge pull request #146 from malvira/revert-120
Revert "Merge pull request #120 from Jeff-Ciesielski/stm32_cl"
2013-03-02 05:16:12 -08:00
Mariano Alvira
ab8fe95864 Revert "Merge pull request #120 from Jeff-Ciesielski/stm32_cl"
This reverts commit 029bc0ee27, reversing
changes made to a7b3e99644.

This uses LGPL libopencm3. While the patch doesn't include the code,
the resulting binary would force the release of all code as LGPL.
2013-03-02 08:11:28 -05:00
Nicolas Tsiftes
b3de9a05e7 Merge pull request #141 from cmorty/sky_MOTEID_missing_brace
Add missing brace in sky Makefile
2013-02-24 15:27:23 -08:00
Nicolas Tsiftes
42e4b2b02a Merge pull request #143 from idelamer/master
Bug fix for Issue #88
2013-02-24 15:26:38 -08:00
Mariano Alvira
029bc0ee27 Merge pull request #120 from Jeff-Ciesielski/stm32_cl
Add initial support for STM32F1x Connectivity Line devices
2013-02-24 15:08:57 -08:00
Moritz 'Morty' Strübe
955fbc3c5a Add missing brace in sky Makefile 2013-02-20 19:50:29 +01:00
Oliver Schmidt
d71ce70c54 Made sure that HTML form values get initialized properly. 2013-02-19 21:40:21 +01:00
Oliver Schmidt
d5d646528e Added support for self closing tags.
XHTML requires self closing tags to be used for empty tags, so we need to recognize them.
2013-02-19 00:49:01 +01:00
Oliver Schmidt
374c89be01 Added newline on </div>.
The tag <div> (in contrast to the tag <span>) is normally used to denote content placed on a line by its own. So it makes sense to trigger a newline when </div> is processed.
2013-02-19 00:43:16 +01:00
Oliver Schmidt
4938877dd9 Lifted restrictions on accepted MIME type.
The "normal" web is moving forward quickly reducing the interoperability of the Contiki web browser to nearly zero. The Mobile Web fits the capabilities of the Contiki web browser much better. Modern smartphones don't need the Mobile Web anymore but there are large areas in world with rather low end mobile phones and limited mobile bandwidth where the Mobile Web will be necessary for quite some time.

From that perspective it is reasonable to increase the Contiki web browser's interoperability with the Mobie Web - namely WAP 2.0 aka XHTML MP. XHTML MP is delivered as MIME types 'application/vnd.wap.xhtml+xml' or 'application/xhtml+xml'. Therefore we (try to) parse the document if the MIME type contains the substring 'html' (which is true 'text/html' too).
2013-02-19 00:25:36 +01:00
Oliver Schmidt
15fb63ba9a Harmonized ststus texts and and added status on wrong MIME type. 2013-02-18 23:08:05 +01:00
Nicolas Tsiftes
a7b3e99644 Merge pull request #91 from JelmerT/z1-mac
Added support for motelist and uploading to Z1 motes under Mac OSX
2013-02-17 09:28:49 -08:00
Nicolas Tsiftes
ebacb91e57 Merge pull request #98 from JelmerT/hotfix-z1-i2cmaster
Bugfix z1 i2cmaster
2013-02-17 09:21:18 -08:00
Oliver Schmidt
6e8e9ffeae Merge pull request #136 from oliverschmidt/master
The new POSIX directory access in the CBM C library comes with a d_blocks field too.
2013-02-16 16:06:10 -08:00
Oliver Schmidt
9970a3631a The new POSIX directory access in the CBM C library comes with a d_blocks field too. 2013-02-17 01:03:51 +01:00
Oliver Schmidt
f6f9ccc87d Merge pull request #132 from oliverschmidt/master
loader.system is now official part of the cc65 Apple II support.
2013-02-16 15:33:27 -08:00
Oliver Schmidt
010d495e03 loader.system is now official part of the cc65 Apple II support. 2013-02-17 00:30:55 +01:00
Oliver Schmidt
c6620e47aa Merge pull request #131 from oliverschmidt/master
Two minor retro-specific changes.
2013-02-16 15:12:52 -08:00
Oliver Schmidt
d4433a7498 Replaced 10.1.1.1/8 with 192.168.0.0/24. 2013-02-16 23:04:55 +01:00
Oliver Schmidt
61b90c0126 We actually need PROJECT_OBJECTFILES and PROJECT_LIBRARIES for retro builds too. 2013-02-16 22:57:50 +01:00
Nicolas Tsiftes
2eb3c2a492 Merge pull request #94 from alignan/master
Fixes Issue #93
2013-02-16 13:46:09 -08:00
Ivan Delamer
c22838b9d3 Enable Timer1 on Raven so that interrupts coming from radio, which are
connected to input capture, fire again.
2013-02-15 16:08:37 -07:00
Oliver Schmidt
90186b035d Merge pull request #123 from oliverschmidt/master
Without anybody putting in a veto in the meantime it seems appropriate to merge now...
2013-02-14 07:02:23 -08:00
Oliver Schmidt
9040f83fd4 Reduced program size.
On the C128 the custom PFS code doesn't add functionality (as it does with IDE64 support on the C64) but is "only" smaller than the POSIX file i/o code in the C library. But the POSIX directory access code in the C library relies on the POSIX file i/o code anyway so there no point in additionally adding the PFS code to the FTP program.
2013-02-14 15:57:20 +01:00
Oliver Schmidt
107b79c019 The recent cc65 snapshot yields somewhat small programs so we can move back to the MTU size used before. 2013-02-14 15:45:33 +01:00
Oliver Schmidt
98060c1eab Moved from last cc65 release (2.13.3) to recent cc65 snapshot (2.13.9).
Relevant cc65 changes...

General:
- The compiler generates "extended" dependency info (like gcc) so there's no need for postprocessing whatsoever :-)
- The linker is very pernickety regarding the ordering of cmdline options so a custom linker rule is necessary :-(

Apple2:
- The various memory usage scenarios aren't specified anymore via separate linker configs but via defines overriding default values in the builtin linker config.

Atari:
- The builtin linker config allows to override the start addr so there no more need for a custom linker config.
- The C library comes with POSIX directory access. So there's no more need for for a custom coding.

CBM:
- The C library comes with POSIX directory access. So there's no more need for for a custom coding.
2013-02-14 15:42:43 +01:00
Oliver Schmidt
c385dd1393 Be consistent with tab chars in Makefiles. 2013-02-11 00:28:31 +01:00
Oliver Schmidt
ea4fac679f Allow user to read the result of wget.
Several retro targets clear the screen after program termination so allow user to read the result.
2013-02-11 00:24:51 +01:00
Oliver Schmidt
1af5110946 Merge remote-tracking branch 'refs/remotes/origin/master' 2013-02-10 15:51:04 +01:00
Oliver Schmidt
1eda821a75 Fixed severe bug in PSOCK_READTO (?)
Either I found and fixed a severe bug in PSOCK_READTO() or I misunderstood something completely. To me PSOCK_READTO() is supposed to return if either the supplied character was read or if the user supplied buffer is exhausted - sor far so good.

However if the latter occurs up to now PSOCK_READTO() was continuing to process characters already read from the network (aka present in the uIP buffer) in order to check if the supplied character was found there and adjust the return value accordingly. But this means that the character processed this way were lost forever for the caller as the next call to PSOCK_READTO() would continue to read past the characters processed this way.

Therefore I removed that character processing altogether. So now if the user supplied buffer is exhausted before the supplied character is found the next call to PSOCK_READTO() starts exactly where previous call left off.
2013-02-10 15:41:34 +01:00
Jeff Ciesielski
6b97fa8382 stm32f1x_cl: Fix stm32f107 linker script
This is a critical fix which adds inclusion of the entire data/bss
section to the output ELF file.  Without it, the BSS section will not
be zeroed out
2013-02-09 23:54:14 -08:00
Oliver Schmidt
1895d3a959 Fixed severe bug in PSOCK_READTO (?)
Either I found and fixed a severe bug in PSOCK_READTO() or I misunderstood something completely. To me PSOCK_READTO() is supposed to return if either the supplied character was read or if the user supplied buffer is exhausted - sor far so good.

However if the latter occurs up to now PSOCK_READTO() was continuing to process characters already read from the network (aka present in the uIP buffer) in order to check if the supplied character was found there and adjust the return value accordingly. But this means that the character processed this way were lost forever for the caller as the next call to PSOCK_READTO() would continue to read past the characters processed this way.

Therefore I removed that character processing altogether. So now if the user supplied buffer is exhausted before the supplied character is found the next call to PSOCK_READTO() starts exactly where previous call left off.
2013-02-09 22:22:31 +01:00
Oliver Schmidt
19c8f9ffdd Merge pull request #122 from oliverschmidt/master
There's no point in ctk_restore() for standalone GUI builds.
2013-02-09 12:50:37 -08:00
Oliver Schmidt
45c44e23d7 There's no point in ctk_restore() for standalone GUI builds. 2013-02-09 21:49:00 +01:00
Oliver Schmidt
c7f986faf5 Merge pull request #121 from oliverschmidt/master
Several minor adjustments.
2013-02-08 17:04:04 -08:00
Oliver Schmidt
21b8be3798 Use plain ASCII chars for lines on Win32 console CTK. 2013-02-09 02:02:46 +01:00
Oliver Schmidt
b1eeaf31c9 Fixed Win32 'platform build'. 2013-02-09 02:00:35 +01:00
Oliver Schmidt
9938cb6838 Adjusted names. 2013-02-09 01:58:37 +01:00
Nicolas Tsiftes
e929857048 Merge pull request #109 from malvira/use-rtc-factor
Improvments to enable low-power mode on mc1322x
2013-02-08 07:13:54 -08:00
Jeff Ciesielski
222f93f023 stm32f107_basic: Add support for a simple stm32f107 platform
This platform is a basic waveshare stm32f107 devkit which contains a
USART, USB device port, some buttons and some LEDs.  Unfortunately not
enough to bring up networking, but enough to test building and a
simple contiki shell
2013-02-06 15:43:25 -08:00
Jeff Ciesielski
5c6018f0e2 stm32f1x_cl: Add initial support for STM32F1x connectivity line
This currently supports the stm32f107, but support will be added for
the F105 shortly (missing a linker script and I can't properly test
without a devkit).
2013-02-06 15:41:50 -08:00
Oliver Schmidt
d746786709 Merge pull request #118 from oliverschmidt/master
Added Atari 800k (MyDOS 4.53/4) floppy image.
2013-02-05 14:10:55 -08:00
Oliver Schmidt
5ed35d5c25 Added Atari 800k (MyDOS 4.53/4) floppy image. 2013-02-05 23:06:48 +01:00
Oliver Schmidt
4f337c75fc Merge pull request #117 from oliverschmidt/master
Added Apple II 3.5" floppy image.
2013-02-05 12:09:21 -08:00
Oliver Schmidt
7760b6baac Added Apple II 3.5" floppy image. 2013-02-05 21:07:54 +01:00
Oliver Schmidt
13c842f8e3 Merge pull request #115 from oliverschmidt/master
Reorganized retro distro Makefile (and added telnetd).
2013-02-04 14:30:54 -08:00