Some comments:

1. add code to propagate errors:

retval = target_read/write_xxx();
if (retval != ERROR_OK)
return retval;

2. add a timeout to polling loops

3. Delete code in "#if 0"

After you make the changes do:

git add .
git commit --amend
git format-patch origin/master
=> updated patch...

On Wed, Jul 13, 2011 at 4:47 PM, openOCD.fseu
<openocd.f...@de.fujitsu.com> wrote:
> Hi all,
>
> sorry, here is the patch file including the missing drivers.c module and
> the makefile.
>
> Best regards,
> Marc
>
>> -----Original Message-----
>> From: openocd-development-boun...@lists.berlios.de
>> [mailto:openocd-development-boun...@lists.berlios.de] On
>> Behalf Of openOCD.fseu
>> Sent: Mittwoch, 13. Juli 2011 11:46
>> To: openocd-development@lists.berlios.de
>> Subject: [Openocd-development] Fujitsu FM3 Flash drivers
>> forOpenOCDintegration
>>
>> Hi all,
>>
>> please find attached the patch file for the Fujistu CORTEX-M3 MCUs
>> Flash driver.
>>
>> Best regards,
>> Marc Willam
>>
>> Fujitsu Semiconductor GmbH Europe
>>
>
> _______________________________________________
> Openocd-development mailing list
> Openocd-development@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/openocd-development
>
>



-- 
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to