kwikstik demo 1.4 not compiling

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

kwikstik demo 1.4 not compiling

1,050 Views
michele_novalia
Contributor III

Dear all,

 

I'm just starting with KwikStik K40x256, hosted in Windows 7.

I wanted to recompile the demo lab code (v 1.4) as explained in the supplied guide, but I could not succeed.

 

I've tried with both:

* IAR: I get 58 errors, starting with 'cannot open source file Mk40x256vmd100.h
But having 58 errors I think is easier to try CW

 

* CW 10.1: compilation starts but then I get a
>preprocessor #error directive
 #error  You need to install Code Warrior V10.1 latest compiler patch. The code is unstable if patch is not used.

 

Funny thing is that I am sure I installed the compiler patch and also I did that before installing MQX 3.7

 

Now, I am a beginner on this so it is quite possible I am doing something silly.

I also read other posts about people having problems with this demo, but I didn't find a suitable solution for my case.

 

Does anyone have any idea?

 

Thanks for your help.

 

 

0 Kudos
5 Replies

638 Views
michele_novalia
Contributor III

Update:
a complete clean installation of everything did the trick.

Now sample code compiles and seems to run, although I don't see _anything_ on the LCD...
how annoying!

 

0 Kudos

638 Views
gustavod
Contributor III

Hi,

Have you ever tried our USB CDC working demo for KwikStik kit? (CW 10.1)

 

The link to download is:

http://brtos.googlecode.com/files/BRTOS%201.6x%20K40%20-%20SD%20%2B%20Wave.rar

 

This demo has SD card access with FAT16/32 file system and a terminal trough USB CDC class.

 

Best regards,

Gustavo

0 Kudos

638 Views
michele_novalia
Contributor III

Hi Gustavo,

 

just tried your BRTOS and it seems to be cool.

Can you please point me to a place where to get more infor about it?

Like purpose of the project, target, maintenance etc?

 

Thanks,

Mik

0 Kudos

638 Views
gustavod
Contributor III

Hi Mik,

 

We are glad you enjoyed our project.

There are two places where you can find more info about the project:

The google code site:

http://code.google.com/p/brtos/

 

and the blog, that for now it is just in portuguese (we have only google translate option):

https://brtosblog.wordpress.com/

 

In the google code site we have a manual, but also for now just in portuguese. Due to a lot of requests we intend to make available an english manual.

 

We start the BRTOS development in order to understand how a RTOS works and finally to use in our projects. We note that BRTOS presented good performance and we decided to make it available through a very permissive license. The more people use BRTOS better.

 

Fell free to ask if any doubt came up.

 

Best regards,

Gustavo

0 Kudos

638 Views
michele_novalia
Contributor III

Hi Gustavo,

 

I just gave it a go, but I get the same error I get when compiling the standard demo, which suggest me I have some wrong settings... (I am a beginner)

 

"The provider for target task "Kwikstik_Demo_k40x256_Int_Flash" is "Flash programmer for kinetis".
The expected provider is "Flash Programmer for ARM".

Do you want to skip this task and continue launching?"

I bet I have to solve this first...

0 Kudos