Add support for Raytac MDBT40 module#297
Add support for Raytac MDBT40 module#297nhnifong wants to merge 3 commits intosandeepmistry:masterfrom
Conversation
|
The script builds when I run locally with The relevant error from travis seems to be a linker error. "/home/travis/.arduino15/packages/sandeepmistry/tools/gcc-arm-none-eabi/5_2-2015q4/bin/arm-none-eabi-gcc" "-L/tmp/arduino_build_751411" -Os -Wl,--gc-sections -save-temps "-L/home/travis/Arduino/hardware/sandeepmistry/nRF5/cores/nRF5/SDK/components/toolchain/gcc/" "-L/home/travis/Arduino/hardware/sandeepmistry/nRF5/cores/nRF5/SDK/components/softdevice/{softdevice}/toolchain/armgcc/" "-Tnrf51_{build.chip}.ld" "-Wl,-Map,/tmp/arduino_build_751411/Blink.ino.map" --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m0 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -o "/tmp/arduino_build_751411/Blink.ino.elf" "/tmp/arduino_build_751411/sketch/Blink.ino.cpp.o" "/tmp/arduino_build_751411/core/variant.cpp.o" -Wl,--start-group -lm "/tmp/arduino_build_751411/core/core.a" -Wl,--end-group |
|
It's failing in the Travis CI because you didn't specific a chip type in the config file. |
dlabun
left a comment
There was a problem hiding this comment.
Travis CI config incorrect, does not specify chip type.
|
I've specified the chip for the test. thanks for the help. |
|
@nhnifong @dlabun any thoughts on my comments from: #280 (comment)
|
|
@sandeepmistry Just replied on the #280 thread. |
| */ | ||
|
|
||
| #ifndef _VARIANT_GENERIC_ | ||
| #define _VARIANT_GENERIC_ |
There was a problem hiding this comment.
The above too lines need to be updated.
|
I've made the small change. Sorry for not getting to this for two weeks! |
Copies the generic nrf51 and changes the pinout according to the spec for the MDBT40, the module that ships with the XYZrobot 6 DOF Robotic Arm Kit (https://www.pololu.com/product/2743)
I confirmed this allowed me to program one of those modules with an ST-Link V2, flash softdevice 110, and load the serial example. UART communication was working as expected.