Main Site Documentation

Project - EmBlocks template for RLP in G120


#1

I just posted EmBlocks template for RLP in G120 on Codeshare. Feel free to discuss and make suggestions here.


#2

Thanks Simon. That is really useful.


#3

@ Simon - is it possible to upload a demo/example to show how to use the template? It would useful for users new to RLP like me writing one for the first time


#4

I think there is a sample RLP function in the project.
For the C# part, just follow any RLP sample in the GHI Documentation or codeshare.
Here is one with 4.2 for G120 (C part was made with yagarto)
https://www.ghielectronics.com/community/codeshare/entry/843


#5

I have updated Codeshare and uploaded:

  • EmBlocks templates for every GHI offering: EMX, G120, G400, Cerberus and Hydra (this one is untested, though)
  • Sample VisualStudio projects to get started with.

Finally, μVision can go to the Museum of Badly Designed Software.

Extensive RLP tutorial is also coming…


#6

What’s the address of the museum, will send mine too :wink:

Although for RLP i use VS2010 with resharper c++ EAP version. http://www.jetbrains.com/resharper/features/cpp.html

Was using uVision for 8bit MCU project only, but this week replaced by Silabs Simplicity IDE.

Thanks for your contribution!


#7

@ simon - Looking forward to the tutorial


#8

Thanks @ Simon for the contribution. I don’t know if I will ever need RLP but I have installed the toolset and was able to successfully get the G400 example working on my Raptor the first time! So now everything is in place if I ever come up with something that needs it.


#9

If I would like to setup template for DL40 (Cortex M0), then all I have to change is memory.ld file, Device* to cortex-m0 and include LPC11xx.h?


#10

Nice to hear :slight_smile:


#11

Actually, no. RLP is a very stripped-down version of embedded development, so it lacks many necessary files (like startup, full memory configuration and others). Your best option is probably to create a completely new project. Go to File->New->Project, follow the wizard, select LPC11xx as target, and you [em]almost [/em]good to go. Almost, because:

  • The wizard includes file startup_LPC11xx.s, which it cannot compile. However, it is not needed, just delete it.
  • edit gcc_arm.ld file to reflect your actual memory size (don’t remember what does LPC1114 has).

#12

I notice that there is problem with startup file. Thanks for info.