Presumably this loses the naming you want
foo: investigation_ procedures(); bar:
Presumably this loses the naming you want
foo: investigation_ procedures(); bar:
Hi,
Does any one have a C source code for a master-SPI communication?
I am NOT using any SPI hardware in my uC.
Avital Bar-Shlomo
When you select the file "Start_v2.a66" then look at the bottom of the file just below the horizontal scroll bar and you will find two tabs. Just select the tab "Configuration Wizard"
An interesting article. However, I'm not quite sure that every description is correct. On page 2, right side, it states that the loop
for (i=0; i<BUF_SIZE; i++) buffer[i] = 0;
does not have any side effects - but modifying _any_ object is…
If I have a struct declared like the following:
volatile struct {
uint8_t foo;
int16_t bar[1];
} __attribute__((packed)) foobar;
The code emitted uses LDRSH to access bar[0] and causes a hardfault at runtime. But If I were to declared it…
Use a linker control. Please read the Macro Assembler and Utilities User Guide, chapter 9 for further details.
E.g. if you want to place function foo() in file bar.c at 0x0200, the control is ?PR?foo?bar(0200h).
Thomas
i wish to use the Compact Flash Card for a presure scanner data logging system. i need to know how to interface 8051 & Compact Flash Card. this card i shall leter be inserting into a PC-CF reader & take the data on to a PC.
pls help me with protocols…
You'd do this by sending a CODE() directive to the linker. For instance, if you had a file named BAR.C with a function FOO() in it, you'd specify:
CODE(?PR?FOO?BAR(0xXXXX))
where 0xXXXX is the memory address you want the function located…
I have a problem only on Rx (bar code reader and RF resivier).
At TX we have only RF transmitter
Thanks
The optimizer removed the variable bar since you do not do anything with it. It is initialized but left unused, so all code related to the variable is removed.
You can either