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
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
> 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
___
-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
-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 =
-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
-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,
-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
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
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
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;
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
.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
: 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
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
. 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
.
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
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
--)
{
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
-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
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
21 matches
Mail list logo