Re: avr-crypto-lib

2021-05-29 Thread Nigel Winterbottom
I took a quick look and attempted to compile your Crypto library in Visual Studio. I got nowhere: Probably for good reasons; Microsoft C doesn't allow dynamic array size like this: bigint_word_t d_b[a->length_W + b->length_W]; This is about as far as I'm going to get on this, there is just

Re: error in make

2020-09-26 Thread Nigel Winterbottom
I've seen something similar when building from a "DOS" command prompt. When building from a bash shell, however, as one can after installing Git For Windows" those strange errors disappear.. Another thing you can try is: make --dry-run You can examine the commands that make would generate for any

Re: [avr-gcc-list] Possible minor bug

2016-08-02 Thread Nigel Winterbottom
> struct color { > uint8_t r; > uint8_t g; > uint8_t b; > } color = (struct color){ 255, 255, 255 }; Compiles fine for me using this version: nigel@E3510:~$ avr-gcc --version avr-gcc (AVR_8_bit_GNU_Toolchain_3.5.2_1680) 4.9.2 -- Nigel ___

RE: [avr-gcc-list] Patching EEPROM image for production

2006-10-05 Thread Nigel Winterbottom
-Original Message- From: dimax un For production purposes I need to burn every product with different sn and id. ... Do you see any nicer solution? I have an e-lab ISP programmer which can write a piece of text and a auto-incremented serial number into flash. Yours may allow this

RE: [avr-gcc-list] Int32 Support

2006-09-18 Thread Nigel Winterbottom
-Original Message- From: User Tomdean Sent: Monday, September 18, 2006 9:52 PM To: avr-gcc-list@nongnu.org Subject: Re: [avr-gcc-list] Int32 Support Something I forget: C is a glorified assembly language! # cat xx.c #include stdio.h int main() { uint8_t z =

RE: [avr-gcc-list] Avr-gcc Removing Port Register Access

2006-08-26 Thread Nigel Winterbottom
-Original Message- From: User Tomdean Sent: Saturday, August 26, 2006 5:36 PM To: [EMAIL PROTECTED] Cc: avr-gcc-list@nongnu.org Subject: Re: [avr-gcc-list] Avr-gcc Removing Port Register Access Hello, Tomdean, Here is a reduced application that reproduces the problem. It may

RE: [avr-gcc-list] i2c works on ATMega32 but not on ATMega128

2006-08-05 Thread Nigel Winterbottom
-Original Message- From: Onno van Eijk Thanks for your suggestion, but I'm sure the ATMega128 is running at 16Mhz. Otherwise the usart would not be working eigther. Besides, I think the twi interface would still work, only running at a much slower klockspeed. grz, Onno Hello,

RE: [avr-gcc-list] Casting

2006-03-28 Thread Nigel Winterbottom
-Original Message- From: [EMAIL PROTECTED] Sent: 28 March 2006 12:47 To: AVR-GCC-list@nongnu.org Subject: [avr-gcc-list] Casting I am using a long as a parameter in which I pass various entities, sort of like a mailbox. Mostly they are longs, sometimes integers, and

RE: [avr-gcc-list] Makefile problem with case of filenames.

2006-03-20 Thread Nigel Winterbottom
in the Makefile template would be prudent as exists for assembly sources. Regards Nigel Winterbottom ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] AVR DataFlash

2006-02-17 Thread Nigel Winterbottom
available online? You may be surprised to learn that Atmel www.atmel.com have DataFlash App-Notes. AN-4 (DOC0842.PDF) is an example. There is a wealth of information there. I also suggest searching the AVR-forum at www.avrfreaks.net. Regards, Nigel Winterbottom

RE: [avr-gcc-list] interrupt optimization

2006-02-01 Thread Nigel Winterbottom
Sent: Wednesday, February 01, 2006 2:32 PM Sender: David Bourgeois Subject: [avr-gcc-list] interrupt optimization Hi, I have an interrupt which is called a lot of times but only really do something very rarely: ISR(...) { if (sampling-- == 0) { sampling = 0x7F;

RE: [avr-gcc-list] Missing compiler optimizations?

2006-01-24 Thread Nigel Winterbottom
by default on certain machines, usually those which have no call-preserved registers to use instead. For all machines, optimization level 2 and higher enables this flag by default. Regards Nigel Winterbottom ___ AVR-GCC-list mailing list AVR-GCC

RE: [avr-gcc-list] What is the recommended route to build avr-gccwithsupport for newer processors?

2005-12-05 Thread Nigel Winterbottom
.o I also added the following lines into my Makefile: MCU = atmega32 LDFLAGS += -Tdata 0x800100 Job Done: Memory Map and Stack init all OK. Nigel Winterbottom ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman

RE: [avr-gcc-list] Help, Compiler ignores some part of the function!

2005-12-03 Thread Nigel Winterbottom
: will never be executed Line 69 is, of course: controller = (int) p1*error*PTERM_AMPLIFICATION_MAGNITUDE_V ... Nigel Winterbottom ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

RE: [avr-gcc-list] What is the recommended route to build avr-gcc withsupport for newer processors?

2005-11-25 Thread Nigel Winterbottom
theory. Exceeding SRAM of course, is not allowed because I would then mangle the stack. The header file is, in essence, very similar with only the PCIE/PCIF bits in EIMSK/EIFR different. I did a diff but the files have a totally different layout so almost all lines have changes. Nigel

[avr-gcc-list] What is the recommended route to build avr-gcc with support for newer processors?

2005-11-24 Thread Nigel Winterbottom
. Perhaps a Windows build is such a pig, that this is a deliberate ploy so that he isn't besieged with questions day--night :) Which option do people recommend ? Nigel Winterbottom ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http

RE: [avr-gcc-list] Poll: Who uses itoa() co with base != {2, 8, 10, 16}?

2005-11-22 Thread Nigel Winterbottom
. Bernard If anyone is counting votes then mine is to support Bernard, keep itoa as is but introduce a restricted replacement with a new name. Nigel Winterbottom ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman

RE: [avr-gcc-list] problem with debbuggin with AVRStudio 4.12 and WinAvr

2005-11-15 Thread Nigel Winterbottom
however, I would store the local variable into a global. Regards Nigel Winterbottom ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

RE: [avr-gcc-list] AVR assembly for fast bit bang

2005-11-09 Thread Nigel Winterbottom
--) { CLK_HIGH; if( towrite mask) { SDIO_HIGH; } else { SDIO_LOW; } CLK_LOW; } } Nigel Winterbottom ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

RE: [avr-gcc-list] Digital clock assembler programming problem

2005-09-05 Thread Nigel Winterbottom
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] .org]On Behalf Of Sivakumar Ganesan Sent: 05 September 2005 13:33 To: avr-gcc-list@nongnu.org Subject: [avr-gcc-list] Digital clock assembler programming problem Hi everyone, I am a newbie to AVR microcontroller

RE: [avr-gcc-list] Problems with ATMEGA8 USART

2005-08-17 Thread Nigel Winterbottom
David Kelly wrote: Thats not quite what I meant. I do enable the IRQ for each character. The issue was in finding which UART needed to be enabled without enabling one which would then serve an empty event. Here is the exact code I wrote back in December. Today I'd probably bracket the