mbed w/ spi bug fig
Fork of mbed-src by
Revision 231:e72bc43fb91c, committed 2014-06-15
- Comitter:
- mbed_official
- Date:
- Sun Jun 15 12:00:08 2014 +0100
- Parent:
- 230:b37c24245c0d
- Child:
- 232:1e593fe58241
- Commit message:
- Synchronized with git revision 8d5ef96c67f485d001e02b43f4133e2372514da6
Full URL: https://github.com/mbedmicro/mbed/commit/8d5ef96c67f485d001e02b43f4133e2372514da6/
[LPC2368][GCC_ARM] Added export functionality
Changed in this revision
--- a/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/vector_functions.s Thu Jun 12 15:00:08 2014 +0100 +++ b/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/vector_functions.s Sun Jun 15 12:00:08 2014 +0100 @@ -77,7 +77,6 @@ Reset_Handler: .extern __libc_init_array .extern SystemInit - .extern __wrap_main LDR R0, =SystemInit MOV LR, PC BX R0 @@ -86,7 +85,7 @@ MOV LR, PC BX R0 - LDR R0, =__wrap_main + LDR R0, =main BX R0 __mbed_reset:
--- a/targets/hal/TARGET_NXP/TARGET_LPC23XX/serial_api.c Thu Jun 12 15:00:08 2014 +0100 +++ b/targets/hal/TARGET_NXP/TARGET_LPC23XX/serial_api.c Sun Jun 15 12:00:08 2014 +0100 @@ -225,7 +225,7 @@ stop_bits -= 1; data_bits -= 5; - int parity_enable, parity_select; + int parity_enable = 0, parity_select = 0; switch (parity) { case ParityNone: parity_enable = 0; parity_select = 0; break; case ParityOdd : parity_enable = 1; parity_select = 0; break;