Open mikes-spindance opened 11 years ago
I tried using kconfig-conf instead of kconfig-mconf. What should BT_CONFIG_BSP_DIR be set to? What procedure should set BT_CONFIG_BSP_DIR?
Hi, thanks for trying this out. I'm away at the moment, but will be back over the weekend. I'll be around to help you get this working then.
Which platform are you using?
I'm targeting a STM32F4xx with arm-none-eabi-gcc on linuxmint-15-mate-dvd-32bit.iso
Yann E. MORIN helped me out on getting kconfig-mconf:
I needed libncurses5-dev (see below).
I still have the BT_CONFIG_BSP_DIR challenge.
cd
git clone http://ymorin.is-a-geek.org/git/kconfig-frontends
cd kconfig-frontends/
sudo apt-get install gperf
sudo apt-get install flex
sudo apt-get install bison
sudo apt-get install libncurses5-dev
./bootstrap
./configure
make
sudo make install
sudo /sbin/ldconfig -v
Hi Mike,
So the BSP_DIR variable defines where to build from, this is normally set by a BSP config (within the BitThunder bsp folders) or externally via a user project.
You can take a look at bootthunder which sets this (as an example of an external project): https://github.com/BitThunder/bootthunder
See the folder bsp/Kconfig
In that case it is set to ../bsp/ (which really means 1-up from the bitthunder root, and into the bsp folder).
I'll add a new repository with a blank working example, and I'll create a script that generates a new project. Its a little clunky I guess, but once you get it working it works well.
Currently I haven't written any drivers for that platform, but support for the basic scheduler should be really easy to get going as it should use the normal NVIC and SysTick drivers.
As you've already seen there's not so much documentation on all this, but I'll try to help as you go along.
How did you find bitthunder? If you are interested it would be great to have you as the official STM32 maintainer. I have a few stm32 boards lying around, but don't get much time to actually do stuff with them, its a nice platform.
James
Thanks, the blank working example would be helpful!
I think I found the project by googling freertos kconfig.
Regarding maintainer, let me successfully build first.
-Mike
On Aug 12, 2013, at 3:53 AM, James Walmsley notifications@github.com wrote:
Hi Mike,
So the BSP_DIR variable defines where to build from, this is normally set by a BSP config (within the BitThunder bsp folders) or externally via a user project.
You can take a look at bootthunder which sets this (as an example of an external project): https://github.com/BitThunder/bootthunder
See the folder bsp/Kconfig
In that case it is set to ../bsp/ (which really means 1-up from the bitthunder root, and into the bsp folder).
I'll add a new repository with a blank working example, and I'll create a script that generates a new project. Its a little clunky I guess, but once you get it working it works well.
Currently I haven't written any drivers for that platform, but support for the basic scheduler should be really easy to get going as it should use the normal NVIC and SysTick drivers.
As you've already seen there's not so much documentation on all this, but I'll try to help as you go along.
How did you find bitthunder? If you are interested it would be great to have you as the official STM32 maintainer. I have a few stm32 boards lying around, but don't get much time to actually do stuff with them, its a nice platform.
James
— Reply to this email directly or view it on GitHub.
Hi Mike,
I created an example, and also fixed up the STM32 code to actually compile. See:
https://github.com/BitThunder/example-project
In case bitthunder isn't automatically checked out, be sure to do a:
git submodule update --init
James
Hi Mike,
Don't know if you've had time to have a go with BitThunder, I've added some "basic" documentation and API overview to the website now.
See http://bitthunder.org/docs/home/
James
Thanks!
Mike Stitt Engineer - SpinDance, Inc. - mikes@spindance.com - m:616.498.6598 - o:616-355-7000
On Aug 19, 2013, at 10:19 AM, James Walmsley notifications@github.com wrote:
Hi Mike,
Don't know if you've had time to have a go with BitThunder, I've added some "basic" documentation and API overview to the website now.
See http://bitthunder.org/docs/home/
James
— Reply to this email directly or view it on GitHub.
How do you get kconfig-mconf?
Here's what I tried...