Commit Graph

1765 Commits (136569cf4508adf58602735d4da0626c4e761409)

Author SHA1 Message Date
Joris Aerts 4d0c864b16 Move adc_pinmap.h to LPC11XX_11CXX common
Merge back into analog_api.c. P1_3/ADC0_4 (SWDIO) now disabled for both targets
2013-09-30 08:07:26 -07:00
0xc0170 8df14cadc9 scatter file - 32kb RAM, startup - removed heap, stack init
- clock set to 1 (external crystal)
2013-09-29 22:36:50 +02:00
0xc0170 5dcd8ea10e ARM (KEIL) files for KL46Z 2013-09-29 20:40:06 +02:00
0xc0170 b83fd7fb3b MUX corrections, Arduino Analog signals
- added new MUX options to all drivers
  - removal of LED which are not there
  - analog arduino R3 signals were switched
2013-09-29 20:04:56 +02:00
0xc0170 2ca3195b17 NVIC offset and address in RAM correction 2013-09-29 18:53:57 +02:00
Joris Aerts e1967755a5 Move spi_pinmap.h to LPC11XX_11CXX common
Merge back into spi_api.c. P0_10/SPI_0 (SWCLK) now disabled for both targets
2013-09-27 19:10:08 -07:00
Joris Aerts e9f5c8d3ca Move README.md to LPC11XX_11CXX common 2013-09-27 18:56:11 -07:00
Joris Aerts 3fe31ad50e Move objects.h to LPC11XX_11CXX common
Use #if DEVICE_CAN for can_s definition
2013-09-27 18:53:19 -07:00
Bogdan Marinescu f580c008b1 Merge pull request #78 from mconners/master
Added KL46Z support
2013-09-25 03:18:49 -07:00
Bogdan Marinescu 8f57c1e847 Merge remote-tracking branch 'github/master' 2013-09-25 10:27:17 +01:00
Bogdan Marinescu 1e224c5152 Fix RAM size for LPC11C24 in ARM/uARM linker command files 2013-09-25 10:18:43 +01:00
Bogdan Marinescu 30907d7772 Refactor LPC1114 and LPC11C24 code
Since most of the code for LPC1114 and LPC11C24 is similar, refactor the
code structure to avoid duplication of the common code.
2013-09-25 10:17:19 +01:00
Michael Conners 5bd25ac046 Added K20D5M support 2013-09-24 10:36:04 -04:00
Michael Conners afcc79ad27 Added KL46Z support 2013-09-24 10:01:06 -04:00
Emilio Monti f818f842e0 Merge pull request #77 from stephenpaulger/fix_ds5_exporters
Fixes DS5 exporters
2013-09-23 09:24:07 -07:00
Stephen Paulger dbca3abe60 Fixed ds5 lpc11u24 paths, changed to use internal builder 2013-09-23 17:20:58 +01:00
Stephen Paulger c61623cc5e Fix ds5 lpc1768 paths. Use internal builder 2013-09-23 16:51:29 +01:00
Bogdan Marinescu 4e23b72a78 Merge pull request #76 from arebert/lpc4088
[LPC4088] Merged bugfixes and improvments for LPC1768 target to LPC4088 target
2013-09-23 03:22:43 -07:00
Andreas Rebert bb35d16521 Merged bugfixes and improvments for LPC1768 target to LPC4088 target 2013-09-23 11:39:52 +02:00
Bogdan Marinescu f2f7b213cd Merge pull request #75 from jorisa/master
Keep LPC11CXX in sync with LPC11XX
2013-09-20 01:53:40 -07:00
Emilio Monti 38ed9eb6a0 Merge pull request #72 from jorisa/master
Split uVision project source files in groups mbed/hal/src
2013-09-19 01:46:53 -07:00
Bogdan Marinescu 81b372d362 Merge pull request #73 from ytsuboi/master
Fixed LPC1114 ADC offset problem
2013-09-19 01:35:42 -07:00
Toyomasa Watarai 866858a816 Fixed LPC1114 ADC offset problem 2013-09-19 16:19:04 +09:00
Toyomasa Watarai f4bfe5aedb Revert "Fixed ADC offset problem"
This reverts commit 399acd1d6f.
2013-09-19 16:16:52 +09:00
Toyomasa Watarai 399acd1d6f Fixed ADC offset problem 2013-09-19 16:16:05 +09:00
Joris Aerts a4badc7dd2 Keep LPC11CXX in sync with LPC11XX
Only differences in CMSIS now are:
* Top of RAM (0x10001000 vs 0x10002000)
* Clock configuration (IRC/System PLL vs System Oscillator/IRC)
2013-09-18 18:54:53 -07:00
Joris Aerts 979bba6864 Don't call mbed_interface_disconnect when DEVICE_SEMIHOST is disabled 2013-09-18 14:10:29 -07:00
Joris Aerts 5b2072a2c7 Modify uVision LPC11C24 template to actually use the LPC11C24 2013-09-18 14:07:13 -07:00
Joris Aerts f9474e926e Add uVision template for LPC11C24 2013-09-18 11:43:08 -07:00
Joris Aerts 434c35c1d5 Split uVision project source files in groups mbed/hal/src
Files are grouped based on their path (mbed/common, mbed/targets, *)
Empty folders are not exported. Modified all uVision templates accordingly.
2013-09-18 10:02:40 -07:00
Joris Aerts 08f74957a4 Add missing --c99 flag to uVision LPC11U24 and LPC1347 projects
Fix indentation in other templates
2013-09-18 09:48:56 -07:00
Joris Aerts c164d0b56b Modify uVision LPC1114 template output name and directory to match others 2013-09-18 08:46:43 -07:00
Emilio Monti c02372f883 Merge pull request #70 from jorisa/master
Replace #ifdef with #if DEVICE_STDIO_MESSAGES
2013-09-18 03:08:46 -07:00
Joris Aerts c275ef3b3d Replace #ifdef with #if DEVICE_STDIO_MESSAGES
DEVICE_STDIO_MESSAGES is the only #define in device.h that is being used in the library as #ifdef rather than #if. This is misleading since setting it to 0 will not disable including the <stdio.h> libraries.
2013-09-17 18:19:22 -07:00
Emilio Monti 105c56d38b Update README.md 2013-09-17 16:24:43 +01:00
Emilio Monti 26bd46f50e Add a method to the exporter to choose the toolchain. Add initial LPC812 uvision template 2013-09-17 15:56:35 +01:00
Emilio Monti 8f1c636ef5 Merge pull request #69 from adamgreen/fixSbrkForCortexM
Fix _sbrk() implementation for Cortex-M parts.
2013-09-17 05:17:28 -07:00
Adam Green 5eb976a088 Fix _sbrk() implementation for Cortex-M parts.
A recent commit, 43acaa4166, to get _sbrk() to build successfully for
LPC2368 broke the Cortex-M implementation.  __get_MSP() isn't ever
defined as a macro, it is an inline function.  This means that the
code would always be compiled to use SP instead of MSP on Cortex-M
parts.  I switched the code to instead use the TARGET_ARM7 define
to choose which stack pointer to utilize.

I tested this fix by making sure that the LPC2368 version of the mbed
SDK would still build successfully with the Python scripts and that the
NET1 test still built and ran successfully on my mbed-LPC1768 device.
2013-09-17 04:29:35 -07:00
Emilio Monti 96ea3db1b3 Merge pull request #66 from dinau/lpc2368_mod
LPC2368 mod
2013-09-16 08:00:20 -07:00
Emilio Monti 061259c07c Merge pull request #67 from adamgreen/gccFixUSBHost
Get USBHost to build and run with GCC_ARM
2013-09-16 07:12:43 -07:00
dinau efbc52465d LPC2368 [GCC_ARM]: Silence some warnings. 2013-09-13 22:01:21 +09:00
dinau 43acaa4166 LPC2368 [GCC_ARM]: Fixed: Compilation and link errors in case "SD" example. 2013-09-13 22:01:19 +09:00
Emilio Monti 2481fbe2a2 Merge pull request #62 from arebert/lpc4088
LPC4088: PIN mode fix, export to external tools and MAC address retrieval
2013-09-13 05:59:14 -07:00
Bogdan Marinescu b9d52bda50 Merge remote-tracking branch 'github/master' 2013-09-12 16:38:13 +03:00
Erik Olieman c255ca2959 USBDevice memory leaks fixes
Fixes memory leaks in USBMSD, USBSerial (CircBuffer) and the KL25Z USB
HAL.
Original author: Erik Olieman, a few changes by Bogdan Marinescu.
2013-09-12 16:35:52 +03:00
Bogdan Marinescu 6eec86cbbf Merge pull request #64 from ytsuboi/master
[LPC812] Added RTOS support
2013-09-11 12:10:17 -07:00
Erik Olieman 94ff741989 LPC1768 InterruptIn speedup
Use __CLZ to speed up GPIO interrupt processing.
2013-09-11 18:46:18 +03:00
Bogdan Marinescu fc5774131c More changes to the synchronization script
1. added the possibility to redirect stderr to stdout in utils.run_cmd
2. synch.py now calls the above run_cmd in redirect mode instead of the
old 'cmd'  that doesn't intercept standard streams. This makes it easier
for an external tool to intercept the output of 'hg'.
2013-09-11 17:02:51 +03:00
Bogdan Marinescu 162aad2072 Changed do_sync do return the list of changed repositories 2013-09-11 13:10:11 +03:00
Bogdan Marinescu 5ec4edf76f Change the synch.py script to make it usable as a module 2013-09-11 12:59:28 +03:00