Search found 48 matches

by droll
31 Jan 2017 23:55
Forum: Z-Uno
Topic: Fritzing
Replies: 12
Views: 12584

Re: Fritzing

The Z-Uno Fritzing part file contains indeed only the breadboard view, but not the schematic view and not the PCB view. It would be nice to have a complete Fritzing part file available for Z-Uno.
by droll
22 Jan 2017 11:04
Forum: Z-Uno
Topic: Reduction of stack usage
Replies: 10
Views: 10671

Re: Reduction of stack usage

The first column contains the number of bytes used by the function. It is derived from the stack allocation tables that are added as comments to the generated assembler files; the 'sloc' bytes are therefore taken into account. For system functions or math functions (e.g. mulint, gptrget, 0x002B00) t...
by droll
22 Jan 2017 00:36
Forum: Z-Uno
Topic: Reduction of stack usage
Replies: 10
Views: 10671

Re: Reduction of stack usage

Sorry for not having specified the Python version I am using. I use Python 2.7. The print command is not compatible anymore with Pyton 3.x.
by droll
21 Jan 2017 18:16
Forum: Z-Uno
Topic: Reduction of stack usage
Replies: 10
Views: 10671

Re: Reduction of stack usage

Concerning: From this I understand that there are +11 - (-13) + 2 = 26 byte of stack used. Is that correct? I don't understand where the additional 2 bytes are coming from. The return address is certainly pushed on the stack, but I assume that this address is stored at _bp -0 and _bp -1 . The stack ...
by droll
19 Jan 2017 08:23
Forum: Z-Uno
Topic: What libraries would you want to use with Z-Uno?
Replies: 41
Views: 50256

Re: What libraries would you want to use with Z-Uno?

No problem. I need still a few days to clean up and document things and will contact you then to discuss the project transfer. The project is a radiation monitoring system and I use it to measure the radiation in the cellar due to the infiltration of radon gas (I leave in a radon rich region). Radia...
by droll
19 Jan 2017 01:09
Forum: Z-Uno
Topic: What libraries would you want to use with Z-Uno?
Replies: 41
Views: 50256

Re: What libraries would you want to use with Z-Uno?

Any interest for a library to control the ultra low power Sharp Memory LCD displays, like this one from Adafuit? The library has been written from scratch to be sufficiently resource optimized that it fits into Z-Uno projects. It provides the following functionalities: Communication to the LCD displ...
by droll
18 Jan 2017 23:28
Forum: Z-Uno
Topic: How we made Z-Uno. Deeper insight in the Z-Uno project
Replies: 3
Views: 5277

Re: How we made Z-Uno. Deeper insight in the Z-Uno project

This is very interesting and useful information. Thank you for having shared it with us.
by droll
13 Jan 2017 00:54
Forum: Z-Uno
Topic: Memory management - How storing constants in PRAM space?
Replies: 2
Views: 3858

Re: Memory management - How storing constants in PRAM space?

Adding the data into main.c is indeed ugly, and I encountered some troubles to add it into a .c file and to make the data accessible then from the Arduino main program. But your last suggestion to define it as string seems to work, if the definition is well done in the following way: const char *LuT...
by droll
07 Jan 2017 20:00
Forum: Z-Uno
Topic: Compiler bug: Pointer incorrectly assigned
Replies: 1
Views: 3100

Compiler bug: Pointer incorrectly assigned

I found a really weird problem with the C compiler that is used for Z-Uno (version 2.0.7)! Let's have a look at the function below. It contains the pointer variable FontPtr that points to the element of the array Font5x8 defined by the argument 'c'. Important to note is that the argument can be modi...
by droll
31 Dec 2016 16:51
Forum: Z-Uno
Topic: Memory management - How storing constants in PRAM space?
Replies: 2
Views: 3858

Memory management - How storing constants in PRAM space?

How can I store constants (mainly big tables) into the program memory space to keep the 2kB data RAM available for the stack and variables? Background information about my question: I use in my application a large constant lookup table (a font table) that is placed by the compiler into the variable ...