Commit Graph

1728 Commits (3dff531e81133efcddce653023daefac77b9722c)

Author SHA1 Message Date
ytsuboi 9ae383f8f4 [LPC1114] fixed simple bugs on export templates 2013-08-24 11:57:44 +09:00
Adam Green 25a332d8f1 Updates to GCC warning level flags
In gcc4mbed, I have been running with "-Wall -Wextra" and then
disabling a couple of noisy warnings that result.  In particular, I
disable the unused-parameter and missing-field-initializers warnings.
The first commonly goes off for implementation of virtual methods or
other overridable functions where not all parameters are required for
every override.  I don't find the second warning to be all that useful
anyway since missing structure field initializers will be set to 0
according to the C language specification.  The RTOS code uses this
language feature and I see no reason that it shouldn't :)
2013-08-22 18:09:14 -07:00
Bogdan Marinescu 3210ac98d1 Added LPC1114 in the official release list 2013-08-19 13:51:39 +03:00
Emilio Monti b248827341 Add script to export mbed SDK tests to different IDEs 2013-08-16 16:40:53 +01:00
Bogdan Marinescu 10c7a71c92 Merge remote-tracking branch 'github/master' 2013-08-16 12:29:50 +03:00
Bogdan Marinescu a7628510f5 Added '-fno-delete-null-pointer-checks' to GCC compilation options
From Adam Green, regarding using -fno-delete-null-pointer-checks:

"I would argue that on Cortex-M processors, it is more dangerous to not
have it.  The compiler can actually generate incorrect code because it is
making an incorrect assumption (that reads from a NULL pointer will throw
an exception.)   The GCC for ARM developers should actually never enable
the delete-null-pointer-checks optimization for Cortex-M processors.
There is a comment in the GCC manual that indicates, "Some targets,
especially embedded ones, disable this option [delete-null-pointer-checks]
at all levels."  Not having this flag is pretty risky on the current
versions of GCC_ARM.  Just to clarify, this flag doesn't enable an
optimization...it disables an unsafe optimization."
2013-08-16 12:26:50 +03:00
Terry Guo a02cee9d1e A better way to find and save mbed hid devices 2013-08-16 11:18:06 +08:00
Emilio Monti 4d26e2ef4a Tidy up default settings 2013-08-15 16:09:12 +01:00
Bogdan Marinescu 44c43e6e38 Restore C++98 compilation mode
Also, remove the line that required C++11 from UDPSocket.h
2013-08-15 14:09:20 +03:00
Bogdan Marinescu 370b270848 Merge pull request #30 from pbrier/master
Experimental fix for issue #29
2013-08-15 03:24:36 -07:00
pbrier ac078485ac Compile network and RTOS with GCC_ARM 2013-08-14 22:52:16 +02:00
pbrier c0fdbede02 Compile network and RTOS with GCC_ARM 2013-08-14 22:34:33 +02:00
Bogdan Marinescu 0e013cf5c8 Added script for building an official release of the mbed library 2013-08-12 13:45:35 +03:00
Emilio Monti 0843613136 Add LPC11U24/301 TARGET 2013-08-09 17:21:03 +01:00
Emilio Monti d6c658e859 Fix targets.py formatting 2013-08-09 17:18:50 +01:00
Emilio Monti 27d07f4a1d Define all the required symbols in the generated project files 2013-08-08 16:58:37 +01:00
Emilio Monti 239a2f9adf Define all the required symbols in the generated Makefile 2013-08-08 16:39:51 +01:00
Andreas Rebert 75dba19438 Updated pin mapping and CAN HAL for LPC4088 target 2013-08-08 13:57:02 +02:00
Bogdan Marinescu 7b9081b59c Add support for calling a function before main()
Also added a test for this feature (MBED_A22).
Fixes PRMBED-906.
2013-08-07 14:51:30 +03:00
Bogdan Marinescu ad5516f898 Add test groups.
Group tests with the same functionality into groups that can be used by autotest.py.
The groups can be overriden from private_settings.py.
2013-08-07 14:51:24 +03:00
Emilio Monti 790a71b041 Merge pull request #20 from matthewelse/master
CAN-Related Pull Request
2013-08-06 07:15:15 -07:00
Emilio Monti 3c6e2ab67a Add license to workspace_tools files 2013-08-06 14:38:00 +01:00
Matthew Else f7a2be4bed Merge remote-tracking branch 'upstream/master' 2013-08-06 09:42:09 +01:00
Matthew Else ef28879863 Merged remote tracking branch 'upstream/master' 2013-08-05 17:22:01 +01:00
Matthew Else 2c45596673 Merge https://github.com/jorisa/mbed 2013-08-05 17:11:58 +01:00
Matthew Else b470ea0e73 Fixed things that shouldn't have been changed 2013-08-05 14:36:57 +01:00
0xc0170 e993e94886 Update kl25z_gcc_arm branch to latest master 2013-08-04 19:21:04 +02:00
Emilio Monti 8562b3660b Add LPC1347 export templates. Cleanup GCC toolchain check. 2013-08-02 17:56:11 +01:00
Emilio Monti 54893092c3 Merge pull request #17 from matthewelse/forpullrequest
LPC1114 Port Pull Request
2013-08-02 08:56:44 -07:00
Matthew Else 65765b6c68 Merge branch 'forpullrequest' of https://github.com/matthewelse/mbed into forpullrequest 2013-08-02 09:44:57 +01:00
Matthew Else fa19362d61 Removed non-functional LPC1347 uVision export support, and added LPC1114 support, which does work. 2013-08-02 09:44:36 +01:00
0xc0170 afab75fd01 only one flash memory (FLASH) 2013-08-02 07:14:36 +02:00
Joris Aerts 48fc1aa49d Add test case MBED_30 and MBED_31 to test CAN api 2013-08-01 17:54:13 -07:00
matthewelse c01e03c09e Tidied up one line of targets.py
Removed an extra indent.
2013-08-01 23:12:04 +01:00
matthewelse 7c2658bb60 Reverted unnecessary change to settings.py
Also keeps the GCC_ARM_PATH in keeping with the rest of the code, rather than looking out of place.
2013-08-01 23:08:53 +01:00
Matthew Else 7f736b9d19 Removed unnecessary LPC1114-specific test. 2013-08-01 23:04:13 +01:00
matthewelse 37087326f2 Reverted the change to ARM.py from dc68b76
Fixes one of Emilio's problems :D
2013-08-01 22:41:23 +01:00
Matthew Else d899612525 Merge branch 'forpullrequest' 2013-08-01 16:25:28 +01:00
Matthew Else dc68b76d0f Added timeout for i2c_stop in LPC1114 target. 2013-08-01 15:46:05 +01:00
Matthew Else 07cddbf038 Merge remote-tracking branch 'upstream/master' 2013-07-30 12:01:49 +01:00
Bogdan Marinescu 4302720e9a __cxa_pure_virtual changes
Rename stdio.cpp to retarget.cpp, since it doesn't contain only stdio-related code.
2013-07-29 19:06:14 +03:00
Bogdan Marinescu b73306bea6 tests.py: multiple changes
- Change pin assignments for KL25Z
- Two new peripherals: 24LC256 (eeprom), i2c_loop (LPC1768 only, tests communication
  between the two on-chip I2C peripherals)
- add 24LC256 to the list of automated tests (since it's currently the only
  automated I2C test)
- Tests/is_supported: if the test has an "mcu" attribute and the current target
  is not in the list of MCUs, don't include this test.
2013-07-29 19:06:03 +03:00
emimon01 1c30006043 Keep the default automated "test suite" smaller 2013-07-29 19:05:58 +03:00
Bogdan Marinescu 454ce65693 Added armcc support for STM32F407 2013-07-29 19:03:19 +03:00
Bogdan Marinescu ac2eac5a09 Interrupt chaining: preliminary version 2013-07-29 19:03:11 +03:00
Bogdan Marinescu 0ee819271d Add optional test aliases
If a "test_alias" dictionary is found in private_settings.py, it is searched for
aliases of tests for the "-n" option. For example, if the dictionary has this
association:

test_alias = { "basic" : "MBED_A1" }

you'll be able to use "-n basic" instead of "-n MBED_A1".
2013-07-29 19:00:21 +03:00
Bogdan Marinescu 8b6a294ec7 Added vector table relocation test 2013-07-29 18:59:48 +03:00
Matthew Else 200b263dcd Added basic stuff necessary to compile for LPC11C24 target. 2013-07-27 18:12:35 +01:00
Matthew Else ddbb67a996 Merge remote-tracking branch 'upstream/master' 2013-07-26 09:00:23 +01:00
Emilio Monti c241af345d Keep information about type of interface disk provided by the target board 2013-07-25 17:55:52 +01:00
Emilio Monti 003c48cd44 Use new build convention for objects path 2013-07-25 17:49:55 +01:00
Matthew Else 66dddfb747 Add support for the LPC1114 in export. 2013-07-25 13:08:04 +01:00
ytsuboi ddf19e9a4d Merge remote-tracking branch 'upstream/master' 2013-07-25 09:14:33 +09:00
Emilio Monti 76578ade26 Propagate "clean" option for library builds
Keep the server program cycle target dependent
Keep program compilation and linking separate
Compile separately sources from different directory roots
2013-07-24 17:29:11 +01:00
Matthew Else 57cbd39868 Merge remote-tracking branch 'upstream/master' 2013-07-24 14:39:53 +01:00
Emilio Monti dafcf7f82e Add support for legacy build conventions
Improve exporter test
Build the hal implementation and common sources separately to have proper
temporary relative paths
2013-07-23 17:22:57 +01:00
Matthew Else 04a368cbed Merge remote-tracking branch 'upstream/master' 2013-07-23 09:50:36 +01:00
Emilio Monti 27808da5ec Correctly wait for powerup acknowledge 2013-07-22 18:17:12 +01:00
Toyomasa Watarai 796bbbeb0d Fixed ARM/uARM build and compile error in DigitalOut.h 2013-07-20 19:46:24 +09:00
Matthew Else c703096234 Clicked the wrong button, and had to revert. 2013-07-19 14:34:44 +01:00
Matthew Else a9bb4aa5cb Lots of changes, fixing build bugs and renaming
Files renamed to fit with the new style folder structure
2013-07-19 13:59:50 +01:00
Matthew Else 18c291b7ce Added ytsuboi's modifications for using the 1114 2013-07-19 11:24:51 +01:00
Emilio Monti 091fe5c3d0 synch targets, exporters and tests 2013-07-17 14:11:54 +01:00
Emilio Monti 5020b9ad3b Stop using the patched microlib 2013-07-08 17:31:04 +01:00
Emilio Monti 170b1f8f49 fix target name 2013-07-08 15:58:15 +01:00
jesusalvarez 804176b806 Update targets and pins for LPC43xx 2013-07-07 23:27:11 -04:00
Emilio Monti 6625a4b61c remove temporary files 2013-07-04 17:34:13 +01:00
0xc0170 43ace93009 removed KL05Z hw tests + mv KL05Z to TARGET_Freescale 2013-07-04 17:57:52 +02:00
0xc0170 551f06b66b Merge branch 'master' into freedomKL05
Conflicts:
	workspace_tools/toolchains/arm.py
2013-07-04 17:40:46 +02:00
0xc0170 2b57ae9c23 KL25 + KL05 - no pull down, pullup for INPUT pins by default
- pull down removal
  - ARMCC - debug information option
2013-07-03 19:39:19 +02:00
Emilio Monti 597c62e06a Add the vendor name as a proper target label 2013-07-03 17:14:43 +01:00
Joe Turner bd7554f6aa Add debug-info option 2013-07-03 13:20:08 +01:00
0xc0170 9ff042699b Update freedomKL05 from upstream master 2013-07-02 19:44:15 +02:00
Emilio Monti df9e56f638 Fix option append 2013-07-02 17:04:40 +01:00
Emilio Monti a19e99621f Merge branch 'master' of https://github.com/mbedmicro/mbed 2013-07-02 16:45:35 +01:00
Emilio Monti cd669a943f Add build options
Implement "save-asm" option
2013-07-02 16:43:29 +01:00
samux a7d3226554 pyOCD: fix CDBGPWRUPACK - CSYSPWRUPACK 2013-07-02 14:40:51 +01:00
0xc0170 ed200183d0 RTC OSC32, systemUpdate v0.1
- RTC clock init from crystal, tested
  - system update function
  - startup - handler PORTB correction
2013-07-01 21:32:22 +02:00
Bogdan Marinescu 39f4d26896 Added I2C master/slave test to the list of tests 2013-07-01 16:29:38 +01:00
0xc0170 cd5d235e2b Merge branch 'master' into freedomKL05
Conflicts:
	workspace_tools/targets.py
	workspace_tools/tests.py
2013-06-29 07:53:32 +02:00
emilmont b464564dc1 Avoid including two times the same set of directories 2013-06-28 21:05:27 +01:00
0xc0170 5d169ce654 Clocks correction, ticker, tests
- systemInit - clock update (crystal 32768Hz)
  - us_ticker - MCG clock input
  - Kl05 testing - pin definitions for KL05 (all run in KEIL with debugger)
2013-06-27 23:20:47 +02:00
Joe Turner 3e40b905f0 Merge branch 'master' of git://github.com/mbedmicro/mbed into STM32F4
Conflicts:
	workspace_tools/targets.py
2013-06-26 13:34:34 +01:00
Emilio Monti b1ef7a99e0 merge LPC43xx port from Micromint 2013-06-25 10:46:14 +01:00
Emilio Monti 1c98308182 Update default CodeWarrior paths 2013-06-25 10:23:28 +01:00
jesusalvarez ecd051c7a1 LPC43xx port from Micromint 2013-06-25 02:20:08 -04:00
Emilio Monti 984ba4b113 Refactor the build system:
* add sets of TARGET and TOOLCHAIN "labels"
2013-06-24 14:32:08 +01:00
0xc0170 8a41a5ba9a KL05 analog in+out, gpio irq
- AnalogIn
  - AnalogOut
  - GPIO irq
  - target KL05 added
2013-06-23 18:22:46 +02:00
Joe Turner 0523687926 Merge branch 'cortex-m4-float-options' into STM32F4 2013-06-19 13:34:56 +01:00
Joe Turner b211a33a53 Use correct setting for -mfpu when building for Cortex-M4 targets, and
add a setting for using hard or soft floating point.
2013-06-19 13:32:06 +01:00
Joe Turner 92a5e412bd Merge branch 'master' into STM32F4
Conflicts:
	workspace_tools/build_api.py
	workspace_tools/data/support.py
	workspace_tools/libraries.py
	workspace_tools/paths.py
	workspace_tools/toolchains.py
2013-06-19 13:10:44 +01:00
Emilio Monti 90b614baf8 Unify mbed library sources
Remove stdio retargeting reference form cmsis: keep it as a standalone
object
Avoid object files clash for sources with the same name
2013-06-14 17:32:15 +01:00
Emilio Monti 31ee5e5f29 Refactoring of the mbed SDK:
- Provide a well defined HAL and API
- Keep separated the HAL implementations for the different targets
2013-06-10 15:44:08 +01:00
Joe Turner 9d488c6ea7 Make toolchain use hard float, and remove debugging statement. 2013-06-05 13:07:57 +01:00
Emilio Monti 85ee266ab2 Add scripts to sinchronize mbed.org libraries with mbed SDK 2013-05-30 18:22:41 +01:00
Emilio Monti f3acb6c8fd cleanup 2013-05-30 10:56:18 +01:00
Andreas Rebert 2662e105c4 Add support for NXP LPC4088 2013-05-16 08:53:02 +02:00
Emilio Monti be73e26366 [mbed::net] Not shutting down the socket, before closing it, is not robust in lwIP 2013-05-14 10:41:47 +01:00
Emilio Monti 3f96b401b0 Do not repeat tolchain names list 2013-05-13 16:14:22 +01:00
Emilio Monti cc3dcf6c87 Update KL25Z uVision project template. Use an RTOS project as exporter test case. 2013-05-13 16:13:25 +01:00
Emilio Monti 992f34117a Use two separate toolchains for CodeWarrior: one using EWL and one using newlib 2013-05-10 16:36:40 +01:00
samux 4292adebc1 [KL25Z]: spi slave and i2c slave support 2013-05-08 16:05:57 +01:00
Emilio Monti 0fc4d497b2 Fix whitespaces missed by merge tool 2013-04-26 17:51:31 +01:00
Emilio Monti 2f74fffc00 Avoid relying on environmental variables for ARMCC system include and library paths. Provide build progress notification to web IDE. Add generic MBED_MCU target. 2013-04-26 17:34:42 +01:00
Emilio Monti 3cba20b3cd ARMCC 5.03 support: correct python indentation 2013-04-24 15:33:41 +01:00
Emilio Monti a6cad7b15e Prepare support for ARMCC 5.03 (mainline microlib) 2013-04-24 15:29:23 +01:00
Joe Turner 40abe5fb74 Add STM32 to the buildchain 2013-04-24 09:35:11 +01:00
Emilio Monti 178e96d65f Fix integration with online tools 2013-04-19 14:59:13 +01:00
Emilio Monti 4e747af031 Refactor the build system to keep the information about a new target in a single class 2013-04-18 15:43:29 +01:00
Emilio Monti a607392724 [LPC812] Add us_ticker interrupts, board pin names and tests 2013-04-17 16:32:49 +01:00
Emilio Monti 4a6e8aa5f6 Update support data 2013-04-11 17:45:02 +01:00
Emilio Monti d884cb99bd Fix indentation 2013-04-11 17:33:06 +01:00
Emilio Monti 0da3c49fef Add chroot build option. Add CodeWarrior toolchain 2013-04-11 17:14:45 +01:00
Emilio Monti 49b28faba3 Update tests 2013-04-11 17:13:23 +01:00
Emilio Monti c8913dc9d6 Add simple script to search for symbols in libraries and objects 2013-04-11 17:10:53 +01:00
samux 301abc8fef [pyOCD]: fixed bInterfaceNumber in pyusb backend 2013-03-21 13:35:07 +00:00
samux 1faab40336 modify debugger/README 2013-03-19 16:43:57 +00:00
samux 318797a55e update debugger/README 2013-03-19 15:02:46 +00:00
samux 6dcdad6059 rename README -> README.md 2013-03-19 14:50:19 +00:00
samux ed97ec9094 add pyOCD: debugging over cmsis-dap using python 2013-03-19 12:33:56 +00:00
Emilio Monti db129a9c27 [KL25Z] Improve division by constant integer in us_ticker implementation. 2013-03-18 17:20:05 +00:00
Emilio Monti 80518c489c Add LPC812 target. Update tests. Remove obsolete documentation. Move shared code among targets to target independent layer. 2013-03-14 11:52:38 +00:00
Emilio Monti a80058dc5f Add multicast and broadcast support 2013-03-01 17:02:35 +00:00
Emilio Monti 6a57daf691 Add templates for KL25Z project export to uVision 2013-02-26 15:43:34 +00:00
Emilio Monti faa724220f Add KL25Z tests and USBDevice implementation 2013-02-26 15:37:59 +00:00
Emilio Monti a5e0438a97 Add Freescale KL25Z 2013-02-26 14:57:42 +00:00
Emilio Monti da75686e1d On certain machines the USB interface is slower: keep a safer delay
after the copy
2013-02-18 22:25:28 +00:00
Emilio Monti 5c20760685 Initial commit of the mbed libraries and tools 2013-02-18 15:32:11 +00:00