diff options
Diffstat (limited to 'docs/mbed-cortex-porting.md')
| -rw-r--r-- | docs/mbed-cortex-porting.md | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/mbed-cortex-porting.md b/docs/mbed-cortex-porting.md new file mode 100644 index 000000000..b4b1314e6 --- /dev/null +++ b/docs/mbed-cortex-porting.md | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | ## supported projects | ||
| 2 | ### PS/2 converter | ||
| 3 | Confirmed it works on NXP LPC11U35. | ||
| 4 | - http://developer.mbed.org/platforms/TG-LPC11U35-501/ | ||
| 5 | |||
| 6 | ### Infinity keyboard | ||
| 7 | It runs on Freescale MK20DX128. | ||
| 8 | |||
| 9 | |||
| 10 | |||
| 11 | ## compile error: cstddef | ||
| 12 | Experienced this with arm-none-eabi-gcc (4.8.2-14ubuntu1+6) 4.8.2 on ubuntu 14.04. | ||
| 13 | |||
| 14 | And resolved with 4.9.3 installed from: | ||
| 15 | - https://launchpad.net/gcc-arm-embedded | ||
| 16 | - https://launchpad.net/~terry.guo/+archive/ubuntu/gcc-arm-embedded | ||
| 17 | |||
| 18 | ``` | ||
| 19 | $ make -f Makefile.mbed | ||
| 20 | mkdir -p build/. | ||
| 21 | arm-none-eabi-g++ -include config_mbed.h -mcpu=cortex-m0 -mthumb -c -g -fno-common -fmessage-length=0 -Wall -fno-exceptions -ffunction-sections -fdata-sections -fomit-frame-pointer -fshort-wchar -fno-builtin -MMD -MP -DNDEBUG -Os -DTARGET_LPC11U35_401 -DTARGET_M0 -DTARGET_NXP -DTARGET_LPC11UXX -DTOOLCHAIN_GCC_ARM -DTOOLCHAIN_GCC -D__CORTEX_M0 -DARM_MATH_CM0 -DMBED_BUILD_TIMESTAMP=1399108688.49 -D__MBED__=1 -std=gnu++98 -I. -I../../mbed-sdk/libraries/mbed/targets -I../../mbed-sdk/libraries/mbed/targets/cmsis -I../../mbed-sdk/libraries/mbed/targets/cmsis/TARGET_NXP -I../../mbed-sdk/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX -I../../mbed-sdk/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM -I../../mbed-sdk/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_501 -I../../mbed-sdk/libraries/mbed/targets/hal -I../../mbed-sdk/libraries/mbed/targets/hal/TARGET_NXP -I../../mbed-sdk/libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11UXX -I../../mbed-sdk/libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501 -I../../mbed-sdk/libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11UXX/TARGET_MCU_LPC11U35_501/TARGET_LPC11U35_501 -I../../mbed-sdk/libraries/mbed -I../../mbed-sdk/libraries/mbed/hal -I../../mbed-sdk/libraries/mbed/api -I../../mbed-sdk/libraries/mbed/common -I../../mbed-sdk/libraries/USBDevice -I../../mbed-sdk/libraries/USBDevice/USBHID -I../../mbed-sdk/libraries/USBDevice/USBDevice -I../../mbed-sdk/libraries/USBDevice/USBAudio -I../../mbed-sdk/libraries/USBDevice/USBSerial -I../../mbed-sdk/libraries/USBDevice/USBMSD -I../../mbed-sdk/libraries/USBDevice/USBMIDI -I../../protocol/mbed -I../../common -I../../protocol -o build/./main.o main.cpp | ||
| 22 | In file included from ../../mbed-sdk/libraries/mbed/api/mbed.h:21:0, | ||
| 23 | from main.cpp:1: | ||
| 24 | ../../mbed-sdk/libraries/mbed/api/platform.h:25:19: fatal error: cstddef: No such file or directory | ||
| 25 | #include <cstddef> | ||
| 26 | ^ | ||
| 27 | compilation terminated. | ||
| 28 | make: *** [build/./main.o] Error 1 | ||
| 29 | |||
| 30 | [13:13] noname@desk:/mnt/old_root/home/noname/tmp/tmk_keyboard/converter/ps2_usb | ||
| 31 | $ arm-none-eabi-gcc --version | ||
| 32 | arm-none-eabi-gcc (4.8.2-14ubuntu1+6) 4.8.2 | ||
| 33 | Copyright (C) 2013 Free Software Foundation, Inc. | ||
| 34 | This is free software; see the source for copying conditions. There is NO | ||
| 35 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
| 36 | ``` \ No newline at end of file | ||
