Recent

Author Topic: ARM embedded fpu  (Read 3405 times)

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1315
ARM embedded fpu
« on: June 14, 2019, 04:23:58 pm »
The wiki says: "The compiler does not yet support the cortex-m* FPU", but the different types (fputype) exist and the registers are initialized in the code.

Is the wiki still correct, and/or where in the code can I find it?


Laksen

  • Hero Member
  • *****
  • Posts: 802
    • J-Software
Re: ARM embedded fpu
« Reply #1 on: June 14, 2019, 07:42:39 pm »
It should work. Report it if it doesn't  :)

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1315
Re: ARM embedded fpu
« Reply #2 on: June 15, 2019, 09:15:24 am »
Ok, thanks. I will.

Thaddy

  • Hero Member
  • *****
  • Posts: 18729
  • To Europe: simply sell USA bonds: dollar collapses
Re: ARM embedded fpu
« Reply #3 on: June 15, 2019, 10:24:18 am »
@Laksen:
Can you correct the wiki? I can confirm it works. I am not qualified enough on the subject.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

Thaddy

  • Hero Member
  • *****
  • Posts: 18729
  • To Europe: simply sell USA bonds: dollar collapses
Re: ARM embedded fpu
« Reply #4 on: June 26, 2019, 11:44:23 pm »
The wiki says: "The compiler does not yet support the cortex-m* FPU", but the different types (fputype) exist and the registers are initialized in the code.

Is the wiki still correct, and/or where in the code can I find it?

Just to be sure: How do you bootstrap your code?
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1315
Re: ARM embedded fpu
« Reply #5 on: June 27, 2019, 09:01:14 pm »
It looks like fpc calls Startup() from cortexm4f_start.inc. (Or at least, it should, but I haven't tested that yet.)

After that I have to configure the clocks and peripherals myself. I'm now busy porting the USB code for a virtual COM port from a github C project.

I'll post everything when it works.

 

TinyPortal © 2005-2018