Re: [fpc-devel] Implementing SHA256 Unit.

2016-03-19 Thread Garry Wood
>I'm trying to write a sha256 implementation in pure pascal like sha1 and md5 >units. >With negative results. >Someone can helpme with this? I recently ported the implementation from LibTimCrypt / wpa_supplicant (which are both from public domain implementations), you can find the unit here: h

Re: [fpc-devel] STM32F407 fun

2016-03-19 Thread Andrew Haines
On 03/19/2016 09:20 AM, Michael Ring wrote: OK, seems you are not using trunk or an outdated version of trunk as there are quite a number of units for stm32f4 available in current trunk: stm32f401xx.pp stm32f407xx.pp stm32f411xe.pp stm32f429xx.pp stm32f446xx.pp So I'd recomment to either upgra

Re: [fpc-devel] STM32F407 fun

2016-03-19 Thread Michael Ring
Aehm, and yes, I meant 128kb, not 128MB ;-) Michael Am 19.03.16 um 14:20 schrieb Michael Ring: OK, seems you are not using trunk or an outdated version of trunk as there are quite a number of units for stm32f4 available in current trunk: stm32f401xx.pp stm32f407xx.pp stm32f411xe.pp stm32f429x

Re: [fpc-devel] STM32F407 fun

2016-03-19 Thread Michael Ring
OK, seems you are not using trunk or an outdated version of trunk as there are quite a number of units for stm32f4 available in current trunk: stm32f401xx.pp stm32f407xx.pp stm32f411xe.pp stm32f429xx.pp stm32f446xx.pp So I'd recomment to either upgrade to current trunk or at least copy the uni

Re: [fpc-devel] STM32F407 fun

2016-03-19 Thread Andrew Haines
On 03/19/2016 07:36 AM, Michael Ring wrote: Re-reading your initial mail I am kind of wondering what you actually did ? When using -WpSTM32F407VG you will automagially use stm32f407xx.pp unit which is the correct one for your chip and also stack should be correct as ram size is set to 128MB.

Re: [fpc-devel] STM32F407 fun

2016-03-19 Thread Andrew Haines
On 03/19/2016 04:19 AM, Jeppe Johansen wrote: On 03/19/2016 04:47 AM, Andrew Haines wrote: I'm guessing there is some define I have to use and everything will start working :) Where do I go from here? You need to remove classes from your used units. It needs a thread manager to work. The defa

Re: [fpc-devel] Bug 29760 on FPC 3.0 Win64

2016-03-19 Thread LacaK
If you find it useful add it please to "tests/test" and/or replace "tw28748.pp" (as it is subset of this) Or give mee feedback what should be changed, added or so. tests/test/cg/taddcurr.pp contains already most of those tests in a systematic way. this test was added after FPC 3.0 release ?

Re: [fpc-devel] STM32F407 fun

2016-03-19 Thread Michael Ring
Re-reading your initial mail I am kind of wondering what you actually did ? When using -WpSTM32F407VG you will automagially use stm32f407xx.pp unit which is the correct one for your chip and also stack should be correct as ram size is set to 128MB. How/why did you use STM32F429 unit for the c

Re: [fpc-devel] STM32F407 fun

2016-03-19 Thread Michael Ring
Are you sure about RAM? I checked in cpuinfo, it is set to 128MB, this matches what is written in the user manual, (Page 70) http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00037051.pdf or are the last 16k for some special use? Could not find a hint while q

[fpc-devel] Bootstrapping aarch64

2016-03-19 Thread Alfred
1: ok; I will put a bootstrapper for aarch64 on fpcup github, for as long as needed. 2a: you're right, there is a nice ppca64 (no exe) available ! 2b: you talk about 3.0.0; I was not able to compile 3.0.0 for aarch64-linux; am I mistaken ? 3: I will do so.___

Re: [fpc-devel] Bootstrapping aarch64

2016-03-19 Thread Sven Barth
Am 19.03.2016 08:26 schrieb "Alfred" : > > After a successful install (with fpclazup) of FPC/Lazarus 64bit on an Odroid-C2 running Arch Linux 64 bit, I have a few questions. > > The initial (bootstrap) compiler was build by cross-compiling (trunk) from Win32 to Aarch64. > Only trunk supports aarch6

Re: [fpc-devel] STM32F407 fun

2016-03-19 Thread Jeppe Johansen
On 03/19/2016 04:47 AM, Andrew Haines wrote: I'm guessing there is some define I have to use and everything will start working :) Where do I go from here? You need to remove classes from your used units. It needs a thread manager to work. The default thread manager simply halts the program if

[fpc-devel] Bootstrapping aarch64

2016-03-19 Thread Alfred
After a successful install (with fpclazup) of FPC/Lazarus 64bit on an Odroid-C2 running Arch Linux 64 bit, I have a few questions. The initial (bootstrap) compiler was build by cross-compiling (trunk) from Win32 to Aarch64. Only trunk supports aarch64. So, bootstrap version is 3.1.1. But trun