I'm in the process of adding support to mbed for building and exporting of WifiDipcortex projects to LPCExpresso.
So, what I hope should happen, is that once this is complete, it should be possible to export WifiDipcortex projects (such as the kitchen sink demo) to LPCXpresso from the online compiler. It should also be possible to use the offline mbed tools and the compiler provided by LPCXpresso to build the mbed SDK and projects for WifiDipcortex projects.
I think I have everything done, other than having a valid startup_LPC13Uxx.cpp file that is supported by the mbed build.
According to the mbed website:
The Silicon Vendor is providing the files for the startup, system initialization, the structures and addressed of the peripherals registers, for a given DEVICE:
startup_DEVICE.s
system_DEVICE.c
system_DEVICE.h
DEVICE.h
Do you have any idea how I would go about getting these files?
I've tried using the cr_startup_lpc13u.c from the kitchen sink demo, but get the following:
- Code: Select all
$ python workspace_tools/make.py -m LPC1347 -t GCC_CR -p 0
Building project BASIC (LPC1347, GCC_CR)
Compile: main.cpp
Compile: test_env.cpp
Link: basic
[ERROR] c:/nxp/lpcxpresso_7.3.0_186/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: warning: cannot find entry symbol Reset_Handler; defaulting to 00000000
f:\mbed\build\mbed\TARGET_LPC1347\TOOLCHAIN_GCC_CR\cr_startup_lpc13u.o: In function `ResetISR':
cr_startup_lpc13u.c:(.after_vectors+0x88): undefined reference to `__data_section_table'
cr_startup_lpc13u.c:(.after_vectors+0x8c): undefined reference to `__data_section_table_end'
cr_startup_lpc13u.c:(.after_vectors+0x90): undefined reference to `__bss_section_table_end'
f:\mbed\build\mbed\TARGET_LPC1347\TOOLCHAIN_GCC_CR\cr_startup_lpc13u.o:(.isr_vector+0x0): undefined reference to `_vStackTop'
c:/nxp/lpcxpresso_7.3.0_186/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/lib/armv7-m\libc.a(lib_a-sbrkr.o): In function `_sbrk_r': sbrkr.c:(.text._sbrk_r+0xc): undefined reference to `_sbrk'
collect2.exe: error: ld returned 1 exit status
BR,
Donal