Open gryzzli opened 3 years ago
It seems our io_328pb.h header file for the A-Star 328PB and the way we use it causes problems for the assembler. It looks like you're using Linux, so that file should be at "/home/gryzzli/.arduino15/packages/pololu-a-star/hardware/avr/4.0.2/variants/a-star328pb/io_328pb.h". Could you try replacing that file with this one: io_328pb.h.txt (you will need to remove the .txt extension) and see if that allows the MySensors programs to compile and work correctly?
I have a compilation error in the MySensors environment.
It's fine on the A-Star 32U4 But there is a bug on the A-star 328PB
Arduino:1.8.15 (Linux), Płytka:"Pololu A-Star 328PB, 3.3V, 8MHz"
/home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S: Assembler messages: /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:102: Error: junk at end of line, first unrecognized character is
(' /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:103: Error: junk at end of line, first unrecognized character is
(' /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:104: Error: junk at end of line, first unrecognized character is `(' /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:162: Error: operand out of range: 93 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:163: Error: operand out of range: 94 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:165: Error: operand out of range: 95 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:167: Error: operand out of range: 93 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:168: Error: operand out of range: 95 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:169: Error: operand out of range: 94 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:214: Error: operand out of range: 93 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:215: Error: operand out of range: 94 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:217: Error: operand out of range: 95 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:219: Error: operand out of range: 93 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:220: Error: operand out of range: 95 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:221: Error: operand out of range: 94 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:272: Error: operand out of range: 93 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:273: Error: operand out of range: 94 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:274: Error: operand out of range: 95 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:278: Error: operand out of range: 93 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:279: Error: operand out of range: 95 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:280: Error: operand out of range: 94 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:402: Error: operand out of range: 93 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:403: Error: operand out of range: 94 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:404: Error: operand out of range: 95 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:408: Error: operand out of range: 93 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:409: Error: operand out of range: 95 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:410: Error: operand out of range: 94 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:466: Error: operand out of range: 93 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:467: Error: operand out of range: 94 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:474: Error: operand out of range: 95 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:476: Error: operand out of range: 93 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:477: Error: operand out of range: 95 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:478: Error: operand out of range: 94 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:873: Error: operand out of range: 95 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:875: Error: operand out of range: 93 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:876: Error: operand out of range: 95 /home/gryzzli/Arduino/libraries/MySensors/hal/crypto/AVR/drivers/SHA256/SHA256.S:877: Error: operand out of range: 94 exit status 1 Błąd kompilacji dla płytki Pololu A-Star 328PB.