Search found 176 matches

by p0lyg0n1
18 Dec 2016 19:19
Forum: Z-Uno
Topic: Error in <string.h>: Typedef redefinition with different typ
Replies: 2
Views: 1534

Re: Error in <string.h>: Typedef redefinition with different

Hi,
We didn't use string.h in our projects yet. You can try to add string.h to your code and replace our defenition of size_t to its definition in string.h.
by p0lyg0n1
17 Dec 2016 18:35
Forum: Z-Uno
Topic: [2.0.7] DS18B20 lib Error
Replies: 8
Views: 4429

Re: [2.0.7] DS18B20 lib Error

I think I will add a method to set resolution manually. The default value have to be 12bit(factory default). Thank you for your help, Michael.
by p0lyg0n1
16 Dec 2016 23:30
Forum: Z-Uno
Topic: [2.0.7] DS18B20 lib Error
Replies: 8
Views: 4429

Re: [2.0.7] DS18B20 lib Error

Looks like I forgot something. :? A lots of copy-pastes... So, the quick fix is (please test it with real ds18b20 and negative temperature): Modify ZUNO_DS18B20.cpp: line 127: temp = dallas_data[1]; instead of temp = dallas_data[1] & 0x07; remove/comment lines 149,150: // if(dallas_data[1] & 0x80) /...
by p0lyg0n1
16 Dec 2016 23:11
Forum: Z-Uno
Topic: Release candidate for Z-Uno software version 2.0.7
Replies: 22
Views: 9155

Re: Release candidate for Z-Uno software version 2.0.7

You have to roll back to 2.0.6 fist, then you have to delete packages in Z-Uno folder and finally modify URL to http://rus.z-wave.me/files/z-uno/packag ... index.json. If you have the final version from ucxx branch (we publised it 15.12.2016, it's a RC3) it's equal to the release 2.0.7.
by p0lyg0n1
11 Dec 2016 16:57
Forum: Z-Uno
Topic: Release candidate for Z-Uno software version 2.0.7
Replies: 22
Views: 9155

Re: Release candidate for Z-Uno software version 2.0.7

You have to switch to 2.0.6 in the test-ucxx branch and then go back to main branch or wait a little. We try to make a new RC in 2 days.
by p0lyg0n1
11 Dec 2016 14:40
Forum: Z-Uno
Topic: Release candidate for Z-Uno software version 2.0.7
Replies: 22
Views: 9155

Re: Release candidate for Z-Uno software version 2.0.7

Hi, Andreas. Don't worry. :-) We are understanding the problem... and we are working on it: For release we will change behavior to the pervious. So, all user-pointers will be pass as generic pointers (so they can pointing to any memory area, not only to xdata). Specific pointers will use only for "t...
by p0lyg0n1
08 Dec 2016 12:57
Forum: Z-Uno
Topic: Release candidate for Z-Uno software version 2.0.7
Replies: 22
Views: 9155

Re: Release candidate for Z-Uno software version 2.0.7

I can take look to your code if you want. I try to find uCxx problems and fix it fast.
by p0lyg0n1
08 Dec 2016 00:22
Forum: Z-Uno
Topic: Release candidate for Z-Uno software version 2.0.7
Replies: 22
Views: 9155

Re: Release candidate for Z-Uno software version 2.0.7

It have to fail on 2.0.6 too.... Just do it together step by step. There are some very important moments for 8051 that we have to check and discuss. 1. Check the code. "The black box" method. Just create a simple sketch with your code inside: long uP; //defined in .h file char data[8]={79,108,48,00,...
by p0lyg0n1
07 Dec 2016 16:45
Forum: Z-Uno
Topic: Release candidate for Z-Uno software version 2.0.7
Replies: 22
Views: 9155

Re: Release candidate for Z-Uno software version 2.0.7

Hi, Andreas.
Can you, please, check the same code with this:

Code: Select all

static byte bufferSize;
bufferSize = sizeof(buffer_array);
testfunction( &bufferSize);
This code will be 100% work if you create bufferSize in the global area.
by p0lyg0n1
07 Dec 2016 00:56
Forum: Z-Uno
Topic: Reduction of stack usage
Replies: 10
Views: 4631

Re: Reduction of stack usage

The small notes about reduction of stack usage. We have 3 main usage of stack: 1. to pass parameters inside our function. they will be with negative values in assign map, like: ;command Allocated to stack - _bp -3 ;backLen Allocated to stack - _bp -13 2. to make some local varriables: like these: ;s...