Reply to comment

user warning: Unknown column 'i18n.language' in 'where clause' query: SELECT DISTINCT b.* FROM blocks b LEFT JOIN blocks_roles r ON b.module = r.module AND b.delta = r.delta LEFT JOIN i18n_blocks i18n ON (b.module = i18n.module AND b.delta = i18n.delta) WHERE (i18n.language ='en' OR i18n.language ='' OR i18n.language IS NULL) AND ( b.theme = 'garland' AND b.status = 1 AND (r.rid IN (1) OR r.rid IS NULL) )ORDER BY b.region, b.weight, b.module in /var/alternc/html/o/orangeseeds/usr/drupal-6/modules/block/block.module on line 456.

Patch too old

Normally you just need to save the file to directory containing the wiring.c and go to that dir using the cd command. Then you should just need to run:

patch < wiring.c_attiny13.patch_.txt

BUT I tested it with the latest version of the Arduino's wiring.c file and it fails:

patching file wiring.c
Hunk #1 FAILED at 127.
Hunk #2 FAILED at 140.
Hunk #3 FAILED at 152.
Hunk #4 FAILED at 189.
4 out of 4 hunks FAILED -- saving rejects to 
      file wiring.c.rej

This means the wiring.c file has changed and the patch is thus too old. I would recommend you try to do it "by hand" by looking at the patch and the new wiring.c file and patching it. It basically involves just making some specific settings for the ATtiny.

Reply

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.