Fscking Pointers.

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Fscking Pointers.
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.sys.raspberry-pi
Date : 26. Mar 2025, 20:11:24
Autres entêtes
Organisation : A little, after lunch
Message-ID : <vs1jgs$2co6s$3@dont-email.me>
User-Agent : Mozilla Thunderbird
It seems C has caught the disease of 'we will modify your code according to what WE think it means'..
..my pointers to 254 byte structures are going haywire when I add 256 bytes to them...I have to add one instead...
..add that to the fact that to write to flash RAM you need to specify the *offset* from flash RAM base, but to read it you need to use the actual hardware address...
sigh.
What is the generic type for a simple pointer to presumably bytes, in ARM C?
Or should I resign myself to doing everything in 256byte chunks? the structure to be read and written from Flash  is exactly that big for obvious hardware reasons...
--
It is the folly of too many to mistake the echo of a London coffee-house for the voice of the kingdom.
Jonathan Swift

Date Sujet#  Auteur
26 Mar 25 * Fscking Pointers.8The Natural Philosopher
26 Mar 25 +- Re: Fscking Pointers.1Lawrence D'Oliveiro
26 Mar 25 +* Re: Fscking Pointers.3Andy Burns
27 Mar 25 i`* Re: Fscking Pointers.2Theo
27 Mar 25 i `- Re: Fscking Pointers.1The Natural Philosopher
26 Mar 25 `* Re: Fscking Pointers.3David Higton
27 Mar 25  +- Re: Fscking Pointers.1Lawrence D'Oliveiro
27 Mar 25  `- Re: Fscking Pointers.1The Natural Philosopher

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal