On So, 2011-12-25 at 02:36 +0100, Christof Petig wrote:
> The included patch will make a V2 work - at the cost of probably
> destroying V1 serial support.

sorry, evolution insisted on base64 coding it - so it got stripped by
the mailing list. Here it is:

diff --git a/drivers/uif.c b/drivers/uif.c
index ffa0e17..37a8a83 100644
--- a/drivers/uif.c
+++ b/drivers/uif.c
@@ -131,8 +131,9 @@ transport_t uif_open(const char *device, uif_type_t
type)
                break;
 
        case UIF_TYPE_OLIMEX:
-               printc("Trying to open Olimex on %s...\n", device);
-               tr->serial_fd = sport_open(device, B500000, 0);
+               printc("Trying to open Olimex V2 on %s...\n", device);
+               tr->serial_fd = sport_open(device, B115200, 0);
+               sport_set_modem(tr->serial_fd, 0);
                break;
 
        case UIF_TYPE_OLIMEX_ISO:



------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to