-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathREADME
61 lines (25 loc) · 1.43 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
This is a collection of sample programs, in some respects building
on each other for the mbed (http://mbed.org) platform.
These samples are intended to demonstrate how to use the platform
without using the web compiler or mbed api. This will hopefully
get you kick started into learning to program the hardware directly
using the reference material provided by the vendor(s).
At a minimum you will need some documents, starting at
http://mbed.org
go to the handbook page (Handbook link top right of page)
http://mbed.org/handbook
At the bottom of the page (before the comments start) go to the
hardware page (mbed NXP LPC1768 link)
http://mbed.org/handbook/mbed-NXP-LPC1768
Near the bottom of that page are two documents you need, first
is the schematic
http://mbed.org/media/uploads/chris/mbed-005.1.pdf
The second is the LPC1768 users manual
http://ics.nxp.com/support/documents/microcontrollers/pdf/user.manual.lpc17xx.pdf
Need a place for these, notes to self about building binutils and gcc
from sources:
../configure --target=arm-none-eabi --prefix=/gnuarm --disable-werror?
../configure --target=arm-none-eabi --prefix=/gnuarm --disable-werror --disable-nls
../configure --target=arm-none-eabi --prefix=/gnuarm --disable-libssp --disable-libc --disable-libgcc
important to use make all-gcc and install-gcc instead of just make and make install
Start with the blinker programs, blinker01, blinker02, blinker03, etc.