Search found 1794 matches

by victor_pv
Fri May 08, 2015 2:11 am
Forum: Libraries & Hardware
Topic: FreeRTOS
Replies: 30
Views: 6895

FreeRTOS

I just tested the FreeRTOS library from the "untested" folder, with a simple blinking sketch, and seems to work fine out of the box.

When I have time I will see if I can setup a couple of different tasks and see how it goes.
by victor_pv
Thu May 07, 2015 1:52 pm
Forum: Builds and Announcements
Topic: Saving RAM used for PIN_MAP
Replies: 52
Views: 3690

Re: Saving RAM used for PIN_MAP

Rick,

Is that the only file you get warnings on? I am very new to C and C++ and didn't know you only need to declare extern in the header, one more thing I learnt today :) I may have done the same thing with extern in some of the other files I had to modify for PIN_MAP.
by victor_pv
Thu May 07, 2015 1:43 pm
Forum: Code snipplets
Topic: Saving RAM used for PIN_MAP
Replies: 28
Views: 1967

Re: Saving RAM used for PIN_MAP

Yeah my repo is a bit outdated, that's why I didn't want to send a pull request to yours and end up reverting the latest changes you did. I need to update to yours, but I want to finish with the SPI dma functions first, so if something fails I know what changes I have made. Once that is ready, I'll ...
by victor_pv
Thu May 07, 2015 4:39 am
Forum: Code snipplets
Topic: Saving RAM used for PIN_MAP
Replies: 28
Views: 1967

Re: Saving RAM used for PIN_MAP

That could be a good solution.
I am still uploading files to that modified repo.

EDIT: I think it is all up. As long as the files listed above are up, that should be all that's needed.
by victor_pv
Thu May 07, 2015 3:48 am
Forum: Code snipplets
Topic: Saving RAM used for PIN_MAP
Replies: 28
Views: 1967

Re: Saving RAM used for PIN_MAP

Roger, I just created a new repo to put my modified files. I did not want to send a pull request to your repo because I am not in sync with you and don't want to mess something up in your or mine, so I just created a new repo with the STM32F1 folder. These are the files I had to edit to make it comp...
by victor_pv
Thu May 07, 2015 2:36 am
Forum: General discussion
Topic: Custom Communitydev board
Replies: 157
Views: 6575

Re: Custom Communitydev board

Straw, what pin mapping are you going to use? same as the official maple ret6 or something different? If I had to decide, I would just follow the same, that way we can use the existing code for the RET6, but I'm sure adapting to a different mapping is not too difficult either if you don't like the m...
by victor_pv
Thu May 07, 2015 2:29 am
Forum: Projects
Topic: My next project is a Laser tag system
Replies: 12
Views: 2349

Re: My next project is a Laser tag system

I think a maple mini (cbt6 mcu) has plenty of resources for that, probably much more than needed.
If I run out of ram, I will see about using an RET6 mcu instead.
by victor_pv
Thu May 07, 2015 2:20 am
Forum: Code snipplets
Topic: Saving RAM used for PIN_MAP
Replies: 28
Views: 1967

Re: Saving RAM used for PIN_MAP

I am still in an older revision of the repo, with IDE 1.6.0, so I still have toggle led. I did a test of a for loop toggling the led for 1 million cycles, and with the PIN_MAP in ram it takes 640ms to complete the loop. With pin_map in Flash 738ms, so about 100ms more, that results in 15% more time ...
by victor_pv
Thu May 07, 2015 12:46 am
Forum: Code snipplets
Topic: Saving RAM used for PIN_MAP
Replies: 28
Views: 1967

Re: Saving RAM used for PIN_MAP

BTW, there is no need to disassemble to see where PIN_MAP goes, our liker options are set to create the .map file automatically, which shows the address for the variables. I.e when PIN_MAP is in RAM: .data.PIN_MAP 0x20000068 0x220 C:\Users\Victor\AppData\Local\Temp\build9195735699750058409.tmp\board...
by victor_pv
Thu May 07, 2015 12:41 am
Forum: Code snipplets
Topic: Saving RAM used for PIN_MAP
Replies: 28
Views: 1967

Re: Saving RAM used for PIN_MAP

Roger, I had verified that the int8 values were there correctly, it was the pointers to TIMER, ADC and GPIO that were missing, even though those pointers themselves were saved in Flash, so they were at a very static position, but still would not show up in PIN_MAP, only 00000000 for those fields. Lo...