Re: [riot-devel] sha256

2016-12-16 Thread Oleg Hahm
Hey Paco! On Fri, Dec 16, 2016 at 06:47:19PM +0100, Francisco Javier Acosta Padilla wrote: > I’m trying the sha256 module on RIOT master and I just realised it returns > always a different value… for now, I’m doing this: > > > sha256_init(); > sha256_update(, (uint8_t*)firmware_bin,

[riot-devel] sha256

2016-12-16 Thread Francisco Javier Acosta Padilla
Hi RIOTers! I’m trying the sha256 module on RIOT master and I just realised it returns always a different value… for now, I’m doing this: sha256_init(); sha256_update(, (uint8_t*)firmware_bin, firmware_size); sha256_final(, metadata.hash); To initialise and store the hash, according to the

[riot-devel] STM32l1xx Internal ADC Channels

2016-12-16 Thread Francisco Molina
Hi, I have been working with the STM32L151RC uc and would like to read two of it's internal ADC channels. The problem is RIOT present implementation por the ADC only takes into account external ADC lines, witch means it require a GPIO assignment. What would be the best way of implementing this? a

Re: [riot-devel] Cortex M0 HardFault

2016-12-16 Thread Joakim Nohlgård
On a related note, I had some trouble with unexplained hard faults when I built newlib using gcc-6.2, but I didn't have time to investigate further at that time and I simply reinstalled newlib built with gcc-5.4 instead. Best regards, Joakim On Dec 15, 2016 5:51 PM, "Kaspar Schleiser"