cancel
Showing results for 
Search instead for 
Did you mean: 

Import example CocoxIDE to SW4STM32

Sabas Sabas
Associate II
Posted on January 24, 2018 at 22:54

The original post was too long to process during our migration. Please click on the attachment to read the original post.
17 REPLIES 17
Posted on January 24, 2018 at 23:07

So a lot of '

undefined reference' errors from the linker.

So you need to find where they should have been defined, and see why they haven't.

Are you sure all the source files were actually compiled OK?

And are all the necessary libraries supplied?

Does SW4STM32 claim to be able to import CooCox projects?

Posted on January 24, 2018 at 23:29

So issues where you have multiple source files providing the same function, pick one. Others where you are missing source or include files, check include paths. And others missing library code.

Consider if the project is buildable under Eval version of Keil (32KB or less).

Looks like an interesting board/project, unfortunately don't have one here.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on January 24, 2018 at 23:19

I guess this is your Ticket: 

https://github.com/RAKWireless/RAK811_BreakBoard/issues/3

  ?

Note that there already is a Keil Project there.

http://www.rakwireless.com/

  and the documentation download page appear to be dead.

Perhaps you might have more luck with the ST/muRata LoRa Discovery kit:

http://www.st.com/en/evaluation-tools/b-l072z-lrwan1.html

 
Posted on January 24, 2018 at 23:39

Clive One wrote:

So issues where you have multiple source files providing the same function, pick one. Others where you are missing source or include files, check include paths. And others missing library code.

Possibly wrong or missing project defines could cause (some of) that.

There does appear to be a Cortex-M0 version of the module - so code for that should be buildable with the free Keil for STM32F0/L0

Do you have CoIDE to see how it should build ... ?

(CooCox seems to have died, but there do seem to be some 3rd-party sites with downloads still available - if you trust them)

Sabas Sabas
Associate II
Posted on January 25, 2018 at 00:49

CoIDE build

0690X00000609UAQAY.png0690X00000609UTQAY.png0690X00000609UYQAY.png
Posted on January 25, 2018 at 00:00

Didn't see your responses earlier, and oddly say the question was asked 43 mins ago, with the first answer 47!! OP must have edited.

Interestingly RaK has an eBay store now, but S&H costs seem very high compared to other vendors in China

https://www.ebay.com/sch/rakwireless/m.html

 

The original RAK811 had an L151 looking at Google Images.

I would port to the current LRWAN tree if I had samples.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on January 25, 2018 at 00:28

Returning home I will take some screenshot of the cocox configuration

Posted on January 25, 2018 at 01:26

Does it build successfully in CoIDE?

If it does, then you just need to go through all the settings, and make sure that you have the same in SW4STM32