This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"macros": [ | |
"NDEBUG=1" | |
], | |
"config": { | |
"pin1_name": { | |
"help": "Pin1 for stepper motor controller", | |
"macro_name": "IN1", | |
"required": true | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <mbed.h> | |
#include <wdwalker-mbed/stepper/StepperMotor.h> | |
/** | |
* The fastest we want to go (microseconds/step). If this is too small, | |
* the motor will block. | |
*/ | |
const uint32_t MIN_SLEEP_US = 1000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mbed-os/rtos/* | |
mbed-os/features/FEATURE_CLIENT/* | |
mbed-os/features/FEATURE_COMMON_PAL/* | |
mbed-os/features/FEATURE_UVISOR/* | |
mbed-os/features/frameworks/* | |
mbed-os/features/net/* | |
mbed-os/features/netsocket/* | |
mbed-os/features/storage/* | |
mbed-os/events/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mbed export -m LPC1768 -i gnuarmeclipse | |
Scan: . | |
Scan: FEATURE_BLE | |
Scan: FEATURE_LWIP | |
Scan: FEATURE_ETHERNET_HOST | |
Scan: FEATURE_LOWPAN_BORDER_ROUTER | |
Scan: FEATURE_LOWPAN_HOST | |
Scan: FEATURE_LOWPAN_ROUTER | |
Scan: FEATURE_NANOSTACK | |
Scan: FEATURE_NANOSTACK_FULL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python ~/tmp/BBB/mbed-os/tools/memap.py -d -t GCC_ARM ./BUILD/LPC1768/GCC_ARM/BBB.map | |
+--------------------------------------+-------+-------+------+ | |
| Module | .text | .data | .bss | | |
+--------------------------------------+-------+-------+------+ | |
| Fill | 2 | 0 | 3 | | |
| Misc/crt0.o | 116 | 0 | 0 | | |
| Misc/crtbegin.o | 108 | 8 | 28 | | |
| Misc/crtend.o | 4 | 0 | 0 | | |
| Misc/crti.o | 8 | 0 | 0 | | |
| Misc/crtn.o | 16 | 0 | 0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wwalker$ python mbed-os/tools/memap.py -d -t GCC_ARM BUILD/LPC1768/GCC_ARM/BBB.map | |
+----------------------------------------+-------+-------+------+ | |
| Module | .text | .data | .bss | | |
+----------------------------------------+-------+-------+------+ | |
| Fill | 35 | 0 | 5 | | |
| Misc/crt0.o | 116 | 0 | 0 | | |
| Misc/crtbegin.o | 108 | 8 | 28 | | |
| Misc/crtend.o | 4 | 0 | 0 | | |
| Misc/crti.o | 8 | 0 | 0 | | |
| Misc/crtn.o | 16 | 0 | 0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python mbed-os/tools/memap.py -d -t GCC_ARM BUILD/LPC1768/GCC_ARM/BBB.map | |
+---------------------------------------+-------+-------+------+ | |
| Module | .text | .data | .bss | | |
+---------------------------------------+-------+-------+------+ | |
| Fill | 41 | 4 | 8 | | |
| Misc/crt0.o | 116 | 0 | 0 | | |
| Misc/crtbegin.o | 108 | 8 | 28 | | |
| Misc/crtend.o | 4 | 0 | 0 | | |
| Misc/crti.o | 8 | 0 | 0 | | |
| Misc/crtn.o | 16 | 0 | 0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python mbed-os/tools/memap.py -t GCC_ARM -d BUILD/LPC1768/GCC_ARM/BBB.map | |
+---------------------------------------+-------+-------+------+ | |
| Module | .text | .data | .bss | | |
+---------------------------------------+-------+-------+------+ | |
| Fill | 66 | 4 | 8 | | |
| Misc/crt0.o | 116 | 0 | 0 | | |
| Misc/crtbegin.o | 108 | 8 | 28 | | |
| Misc/crtend.o | 4 | 0 | 0 | | |
| Misc/crti.o | 8 | 0 | 0 | | |
| Misc/crtn.o | 16 | 0 | 0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python mbed-os/tools/memap.py -t GCC_ARM -d ~/work/github/wdwalker/BBB/Release/BBB.map | |
+----------------------------------+-------+-------+------+ | |
| Module | .text | .data | .bss | | |
+----------------------------------+-------+-------+------+ | |
| Misc/crt0.o | 116 | 0 | 0 | | |
| Misc/crtbegin.o | 108 | 8 | 28 | | |
| Misc/crtend.o | 4 | 4 | 0 | | |
| Misc/crti.o | 8 | 0 | 0 | | |
| Misc/crtn.o | 16 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-exit.o) | 40 | 0 | 0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mbed] Detected RBLAB_BLENANO, port /dev/tty.usbmodem14642, mounted /Volumes/DAPLINK | |
[mbed] Supported toolchains for RBLAB_BLENANO | |
+--------+-----------+-----------+-----+---------+-----+ | |
| Target | mbed OS 2 | mbed OS 5 | ARM | GCC_ARM | IAR | | |
+--------+-----------+-----------+-----+---------+-----+ | |
+--------+-----------+-----------+-----+---------+-----+ | |
Supported targets: 0 | |
[mbed] Detected NUCLEO_F042K6, port /dev/tty.usbmodem14623, mounted /Volumes/NODE_F042K6 |
NewerOlder