Does the RF24 library (from TMRh20) work on STM32F103?

Can someone help me port this library?
User avatar
mrburnette
Posts: 2024
Joined: Mon Apr 27, 2015 12:50 pm
Location: Greater Atlanta
Contact:

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by mrburnette » Tue Jan 26, 2016 6:24 pm

Maybe this is worth a view, I have not downloaded as yet.
https://github.com/LostGuard/RF24plus

Ray

zmemw16
Posts: 1584
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by zmemw16 » Tue Jan 26, 2016 7:25 pm

it's in SPL, good for a browse though

tiger762
Posts: 25
Joined: Tue Jan 26, 2016 11:40 pm

I'm definitely interested in RF24 being ported to STM32F103

Post by tiger762 » Wed Jan 27, 2016 12:31 am

What would be great is if it were added to the Arduino_STM32 project

User avatar
RogerClark
Posts: 7541
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by RogerClark » Wed Jan 27, 2016 5:03 am


zmemw16
Posts: 1584
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by zmemw16 » Wed Jan 27, 2016 4:10 pm

interesting, what's nice is the details of the changes he made.
srp

User avatar
primateio
Posts: 61
Joined: Sun Sep 20, 2015 11:17 pm
Location: Midland, Tx
Contact:

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by primateio » Wed Jan 27, 2016 4:13 pm

RogerClark wrote:Did you see this ?

https://maniacbug.wordpress.com/2011/12 ... n-maple-3/

I couldn't get that to work. Something with the changes made to the stm32duino core made it not work. But I don't remember the specifics.

User avatar
primateio
Posts: 61
Joined: Sun Sep 20, 2015 11:17 pm
Location: Midland, Tx
Contact:

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by primateio » Wed Jan 27, 2016 4:34 pm

Here is my modified version of the Maniacbug RF24 library that I got working with the STM32f103 on the STM32duino platform. I got it working, but the range wasn't there for the project I needed it on, so I didn't debug very much. Feel free to submit changes if you find any bugs. I am starting a new project that I will be using the nrf25l01, so I will probably be committing more changes in the weeks to come. But, it worked for me at the time I wrote it. If I remember right, the printf function in the examples and the library didn't work, so I changed all the serial prints to just Serial.print and Serial.println in the library itself. You will probably have to do this in the examples as well.

https://github.com/jaretburkett/RF24-STM

User avatar
mrburnette
Posts: 2024
Joined: Mon Apr 27, 2015 12:50 pm
Location: Greater Atlanta
Contact:

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by mrburnette » Wed Jan 27, 2016 5:11 pm

@primateio

Last I remember, printf is not implemented but sprintf is implemented.

Ray

User avatar
RogerClark
Posts: 7541
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by RogerClark » Wed Jan 27, 2016 7:14 pm

mrburnette wrote:@primateio

Last I remember, printf is not implemented but sprintf is implemented.

Ray
That's correct

It would be nice to have printf() as long as it didn't cause a increase in code size . I have got very used to using it on the ESP8266 and I currently use sprintf() on the STM32 if I want similar functionality

User avatar
martinayotte
Posts: 1234
Joined: Mon Apr 27, 2015 1:45 pm

Re: Does the RF24 library (from TMRh20) work on STM32F103?

Post by martinayotte » Wed Jan 27, 2016 10:24 pm

@Roger, maybe you didn't remember, but you had started the job awhile ago, not in our github, but probably even before on leaflab github. ;)
https://github.com/rogerclarkmelbourne/ ... .h#L66-L69

Post Reply