Commit graph

9239 commits

Author SHA1 Message Date
maralvira fe16506d1d increase UIP buffer size to 1300 to allow full size ipv6 packets 2010-07-28 18:51:00 +00:00
maralvira 8dce85c308 don't need BLOCKING_TX anymore with the recent bugfixes 2010-07-28 18:50:07 +00:00
maralvira df9d43ab83 increase the reception time now that tx_packet will advance the timer
as necessary.
2010-07-28 18:49:34 +00:00
maralvira 9a7a2742b3 remove bad call to maca_on()
maca_on() resets the maca and phy, takes a long time, and clobbers any
packet that is currently being transmitted or received. It doesn't
belong in prepare and was the source of a lot of latency and bad
packet transmissions.

Make sure the maca is on somewhere else.
2010-07-28 18:48:51 +00:00
maralvira a3b9c2adb0 in tx_packet, force an interrupt if the maca isn't doing anything so
that the transmit starts. Or if the maca is in a reception cycle,
advance the softclock timeout to now so that transmission starts as
soon as possible (immediately if a packet isn't being received or
right after reception finishes).
2010-07-28 18:48:03 +00:00
maralvira 593a50c38f make the debug prints in check_maca more specific 2010-07-28 18:47:35 +00:00
maralvira 422d05003f use 32 packets in the pool by default 2010-07-28 18:47:05 +00:00
maralvira eb0e3b7989 fix long standing bug where the last pages of NVM were not erased
properly.
2010-07-28 18:43:04 +00:00
oliverschmidt c602c61468 Activated Platform-specific File System (PFS) for the C64/C128 by default for all programs with R/W CFS access. 2010-07-22 10:30:12 +00:00
oliverschmidt e53c34770a Integrated latest enhancements contributed by Kajtar Zsolt:
- Use cc65 C library _filetype for writing instead of fixed 'p'.
- Support for fake O_TRUNC through SCRATCH.
2010-07-22 10:16:58 +00:00
oliverschmidt 9c0f5d857c Updated API for uiplib and resolv to use uip_ipaddr_t instead of uint16_t. 2010-07-21 22:35:59 +00:00
oliverschmidt 05f938e7c1 Converting the last screen line from ASCII to PETSCII as it was done up to now almost never makes sense. Either the conent to be converted is not the last screen line or the last screen line was already converted (and is incorrectly converted back). Therefore now only a partial line not already converted before gets converted. 2010-07-21 21:03:06 +00:00
oliverschmidt 8a6f7a1dcf The cc65 C64 memory layout offers enough memory for larger URLs so have a nice scrolling URL text entry field. 2010-07-20 22:47:42 +00:00
oliverschmidt 89f6235c13 Using wherex() to determine the length of the string printed with cputsn() fails if the right edge of the screen was reached as wherex() then returns 0.
Therefore we rather count the chars actually printed in cputsn() and return that value thus avoiding usage of wherex() in those scenarios altogether.
2010-07-20 22:19:23 +00:00
oliverschmidt cb929a3e5c Adjusted assembler to reference uip_aligned_buf instead of uip_buf. 2010-07-20 20:42:25 +00:00
Mariano Alvira 7f6c99cf9b increase the reception time now that tx_packet will advance the timer
as necessary.
2010-07-14 14:45:14 -04:00
Mariano Alvira e60190eb11 Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x 2010-07-14 14:01:54 -04:00
Mariano Alvira 7d60dd7a6d in tx_packet, force an interrupt if the maca isn't doing anything so
that the transmit starts. Or if the maca is in a reception cycle,
advance the softclock timeout to now so that transmission starts as
soon as possible (immediately if a packet isn't being received or
right after reception finishes).
2010-07-14 13:59:28 -04:00
Mariano Alvira 6db3b903d2 make the debug prints in check_maca more specific 2010-07-14 13:58:47 -04:00
Mariano Alvira d75d193762 use 32 packets in the pool by default 2010-07-14 13:55:55 -04:00
maralvira 5b44d6a29a properly drop characters when buffer is full
fix by David Kopf
2010-07-06 13:39:34 +00:00
Mariano Alvira 7e5ebe88f7 properly drop characters when buffer is full
fix by David Kopf
2010-07-06 09:34:23 -04:00
fros4943 3fc00a8bed minor fix to allow adding mote interfaces from configuration 2010-07-05 16:48:55 +00:00
nvt-se 11760059d3 The second predicate is not needed. 2010-07-03 23:52:02 +00:00
fros4943 7712b7e1ed fixed nogui-argument 2010-07-01 11:14:00 +00:00
nifi 3e6113be72 removed debug output 2010-06-30 09:03:20 +00:00
nvt-se 007d4a4001 Improved logic for processing DIOs 2010-06-28 14:51:23 +00:00
nifi c44cf73e4f Adapted to new SPI and CC2420 naming 2010-06-24 11:25:55 +00:00
nifi f609cb0f7c Added macro to read from CC2420 RAM 2010-06-24 11:25:07 +00:00
nifi 30db4eff52 Made QUEUEBUF_STATS configurable 2010-06-24 09:48:21 +00:00
nifi 49a2ca6b1e Fixed naming of CC2420 macros 2010-06-24 09:28:38 +00:00
nifi fb3c2e75cf removed obsolete definitions 2010-06-24 09:28:12 +00:00
nifi c6b6b6625c removed obsolete header file for CC2420 2010-06-24 09:20:28 +00:00
joxe 0c5390339f updated to new cc2420 spi naming 2010-06-23 10:44:41 +00:00
joxe 857883558b adapted to the new spi and cc2420 naming - and split config file 2010-06-23 10:25:54 +00:00
joxe 705f8cc451 fixed naming of SPI and CC2420 related code 2010-06-23 10:19:15 +00:00
joxe 80942abaf7 split hw config into platform-conf and adapted to new SPI and CC2420 naming 2010-06-23 10:18:05 +00:00
joxe f7a82a9145 split SPI code into generic and CC2420-related and renamed constants in CC2420 2010-06-23 10:15:28 +00:00
dak664 898c00b812 Remove usually extra avr-size command 2010-06-22 17:11:38 +00:00
dak664 08897e1c1f Add explicit queuebuf and packetbuf to build 2010-06-22 17:10:24 +00:00
dak664 e45b1c042b TIMER2 uses TIMER2 interrupt vector! 2010-06-22 16:17:24 +00:00
joxe 365db27f92 moved CC2420 configuration into the conf file 2010-06-22 06:48:43 +00:00
joxe 47053c2cdb added LOOP count configuration for cc2420dbk 2010-06-22 06:39:44 +00:00
joxe f758f6569e moved cc2420 config to platform config 2010-06-21 19:57:18 +00:00
joxe 80ec597f75 moved config from cc2420 to micaz 2010-06-21 19:53:58 +00:00
joxe bc398ca546 removed platform dependent loop-count from cc2420 - moved to platform config instead 2010-06-21 19:48:00 +00:00
joxe a5d7b197eb added support for the Z1 platform and its 8Mhz 2010-06-21 19:09:35 +00:00
joxe 1f0a43bf01 fixed timer bug - did not do equality comparison 2010-06-21 19:07:24 +00:00
nifi 2ca32f9c76 Enabled 32-bit clock ticks to allow longer timeouts. 2010-06-21 15:15:10 +00:00
joxe 546504516b changed timer comparison to avoid crashing mspgcc4 2010-06-21 09:41:49 +00:00