testing
Dependencies: mbed tinyshell X_NUCLEO_IHM02A1
Revision 23:073b26366d03, committed 2017-03-09
- Comitter:
- Davidroid
- Date:
- Thu Mar 09 15:35:35 2017 +0000
- Parent:
- 22:e81ccf73bc5d
- Child:
- 24:d1f487cb02ba
- Commit message:
- Added support for the Nucleo-F429ZI board.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Mar 01 17:53:04 2017 +0000
+++ b/main.cpp Thu Mar 09 15:35:35 2017 +0000
@@ -136,7 +136,11 @@
/*----- Initialization. -----*/
/* Initializing SPI bus. */
+#ifdef TARGET_STM32F429
+ DevSPI dev_spi(D11, D12, D13);
+#else
DevSPI dev_spi(D11, D12, D3);
+#endif
/* Initializing Motor Control Expansion Board. */
x_nucleo_ihm02a1 = new X_NUCLEO_IHM02A1(&init[0], &init[1], A4, A5, D4, A2, &dev_spi);
--- a/mbed.bld Wed Mar 01 17:53:04 2017 +0000 +++ b/mbed.bld Thu Mar 09 15:35:35 2017 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/87f2f5183dfb \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/e1686b8d5b90 \ No newline at end of file