Dependencies: SDFileSystem TextLCD mbed-rtos mbed wave_player
Revision 0:5d1489eaa51a, committed 2013-11-11
- Comitter:
- ndiaz6
- Date:
- Mon Nov 11 18:34:11 2013 +0000
- Commit message:
- Yes;
Changed in this revision
diff -r 000000000000 -r 5d1489eaa51a SDFileSystem.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SDFileSystem.lib Mon Nov 11 18:34:11 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/SDFileSystem/#c8f66dc765d4
diff -r 000000000000 -r 5d1489eaa51a TextLCD.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TextLCD.lib Mon Nov 11 18:34:11 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/simon/code/TextLCD/#44f34c09bd37
diff -r 000000000000 -r 5d1489eaa51a mbed-rtos.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-rtos.lib Mon Nov 11 18:34:11 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed-rtos/#53e6cccd8782
diff -r 000000000000 -r 5d1489eaa51a mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Nov 11 18:34:11 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/5e5da4a5990b \ No newline at end of file
diff -r 000000000000 -r 5d1489eaa51a setup.s --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/setup.s Mon Nov 11 18:34:11 2013 +0000 @@ -0,0 +1,42 @@ + AREA setup, CODE, READONLY +;--------------------OVERVIEW------------------------ +; This file contains ARM Assembly language functions to +; initialize select registers/memory-locations in the +; LPC1768 to predetermined values. This startup sequence +; will be used to test the integrity of your program, and +; IT SHOULD NOT BE ALTERED BY ANY MEANS. Any student +; attempting to alter this file will be subject to academic +; dishonesty and any disciplinary actions pertaining +; thereto. +;------------------------------------------------------ +; Export function location so that C compiler can find it and link + EXPORT setup_sequence +setup_sequence + ;PUSH LINK REGISTER TO STACK + PUSH {LR} + + ;INIT PINSEL0 + LDR R0, =0x4002C000 ;LOAD ADDRESS OF PINSEL0 REGISTER + LDR R1, =0x40000000 ;LOAD BITMASK FOR PINSEL0 REGISTER + LDR R2, [R0] ;\ + ORR R2, R1 ;- APPLY BITMASK + STR R2, [R0] ;/ + + ;INIT PINSEL1 + LDR R0, =0x4002C004 ;LOAD ADDRESS OF PINSEL1 REGISTER + LDR R1, =0x00054015 ;LOAD BITMASK FOR PINSEL1 REGISTER + LDR R2, [R0] ;\ + ORR R2, R1 ;- APPLY BITMASK + STR R2, [R0] ;/ + + ;INIT PINSEL3 + LDR R0, =0x4002C00C ;LOAD ADDRESS OF PINSEL3 REGISTER + LDR R1, =0x00004510 ;LOAD BITMASK FOR PINSEL4 REGISTER + LDR R2, [R0] ;\ + ORR R2, R1 ;- APPLY BITMASK + STR R2, [R0] ;/ + + ;RETURN TO MAIN + POP {LR} + BX LR + END \ No newline at end of file
diff -r 000000000000 -r 5d1489eaa51a wave_player.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wave_player.lib Mon Nov 11 18:34:11 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/sravet/code/wave_player/#acc3e18e77ad