Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Am finishing an STM32 wizard and need some tips...
oBFusCATed:
OK, seems like less got confused by this patch... I can open it in scite.
Aerodesic:
OK. Posted to sf.net (without stm32 stuff.) Also postted to aerodesic/codeblocks_stm32_wizard on github. First time with github so may not have everything set up ok, but at least I've 'shared' now ;)
Will try to keep the repo up-to-date with changes. Lots to come as I flesh out the other processors and Middleware components.
-Gary
mandrav:
--- Quote from: Aerodesic on April 18, 2016, 06:49:25 pm ---I am about ready to make available a plugin 'wizard' for the STM32 family of ARM devices. This plugin knows about the structure of the STM32 "Cube" libraries which expose the various API's supported by the manufacturer, plus some third-party 'middleware' for extra functionality. The plugin will allow you to (for example) 1) select additional libraries in the cube; 2) enable HAL (hardware abstraction) functionality as needed and perform *some* of the initialization required; 3) enable FreeRTOS and hook up timers etc; 4) build a project containing all of the needed components copied from the CUBE into the user's project directory. It's well enough along I'm currently using it in a limited production basis for build test applications for some new hardware.
--- End quote ---
This is funny :)
I have recently (like, during the last couple of weeks) coded a script for importing a Cube project file (*.gpdsc) to C::B.
In doing so, I also added support for XML parsing (rudimentary, what wxXML provides) in scripts.
I also had to add a "Custom command" (besides serial/network) entry in remote debugger connection settings that allows you to open a pipe to openocd from inside gdb.
All above changes live locally on my disk, not committed yet.
Is what you implemented anywhere accessible so I can have a look?
oBFusCATed:
@mandrav: https://sourceforge.net/p/codeblocks/tickets/341/
Also please don't make changes to the scripting at the moment, because there is a sqplus to scrat migration changes that ought to be applied soon.
Aerodesic:
--- Quote from: mandrav on April 20, 2016, 03:27:12 pm ---
This is funny :)
I have recently (like, during the last couple of weeks) coded a script for importing a Cube project file (*.gpdsc) to C::B.
In doing so, I also added support for XML parsing (rudimentary, what wxXML provides) in scripts.
I also had to add a "Custom command" (besides serial/network) entry in remote debugger connection settings that allows you to open a pipe to openocd from inside gdb.
All above changes live locally on my disk, not committed yet.
Is what you implemented anywhere accessible so I can have a look?
--- End quote ---
Up on github:
https://github.com/aerodesic/codeblocks_stm32_wizard.git
Be aware this is a rather large plugin and it involved adding a bunch of squirrel-to-wx bindings to get
the display elements I needed. Also, many of the processor information tables are incomplete.
(as of course, is the documentation :-)
I am, however, using it in limited production (with my other C::B modifications, so lots of it works.
-Gary
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version