Hi everyone. I’ve got keil installed and I’ve challenged myself to compile the firmware for the NP2. From there I’ll try and make the changes needed to get it working on an STM32F407IGT6
Here is what I’ve done so far.
Prerequisites:
- Visual Studio 2012 or both .NET Framework 4.0 and Windows SDK for Windows
- .NET Micro Framework Porting Kit 4.3 QFE1
- Netduino 2 Firmware v4.3.1 source
How to build the firmware with Keil;
· Install Keil eval (you need to email them to arrange a trial). Mine installed to C:\keil_v5
· Install .NET Micro Framework Porting Kit 4.3 QFE1 (C:\MicroFrameworkPK_v4_3)
· Make a folder C:\Porting
· Copy C:\MicroFrameworkPK_v4_3 to C:\Porting\PK_v4_3
· Extract Netduino 2 Firmware v4.3.1 source to C:\Porting\NP2_v4_3
· Make a folder C:\Porting\Mixed
· Copy “C:\Porting\PK_v4_3” to “C:\Porting\Mixed” overwrite all.
· Copy “C:\Porting\NP2_v4_3” to “C:\Porting\Mixed” overwrite all.
· Navigate to C:\Porting\Mixed\Solutions\NetduinoPlus2\TinyBooter and make a copy of scatterfile_bootloader_rvds.xml. Rename it to scatterfile_bootloader_mdk.xml. (We might have to make some changes to this later???)
· Launch cmd.exe (note: I can’t use Msbuild in cmd.exe. For some reason I need to launch C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Visual Studio 2012\Visual Studio Tools\ VS2012 x86 Native Tools Command Prompt) I don’t know why?
· Use these commands
cd porting\mixed setenv_base.cmd MDK5.14 PORT C:\keil_v5 Msbuild Solutions\NetduinoPlus2\dotnetmf.proj /T:rebuild /p:flavor=release;tcp_ip_stack=lwip /filelogger
And this is where I’m up to.
Only 2 Errors, (see attached file) I’m appealing to the community to help me finish this guide.
Thanks in advance.