Commit Graph

7545 Commits (5ba3ab70c9a6511d5e3cdb3fc4c4b54ab0231e47)

Author SHA1 Message Date
Sam Grove 5ba3ab70c9 Merge pull request #2613 from bridadan/find-tests-directory-fix
Correctly providing directories to build_apis
2016-09-09 18:01:22 -05:00
Sam Grove ae35faec24 Merge pull request #2601 from radhika-raghavendran/master
Adding ON Semiconductor copyright notice to source and header files.
2016-09-09 18:00:53 -05:00
Sam Grove 9514f1ddc9 Merge pull request #2587 from maclobdell/master
add PTEx pins as option for SPI on Hexiwear - for SD Card Interface
2016-09-09 18:00:39 -05:00
Sam Grove 3a35b85752 Merge pull request #2583 from ARMmbed/github_template
github issue and PR templates
2016-09-09 18:00:25 -05:00
Sam Grove b10e3a9163 Merge pull request #2578 from c1728p9/fix_double_free
Fix double free in NanostackInterface
2016-09-09 18:00:09 -05:00
Sam Grove b71bfd6250 Merge pull request #2576 from theotherjimmy/example-regession
Add smoke test that builds example programs with mbed-cli
2016-09-09 17:59:55 -05:00
Sam Grove 0128dd2d8f Merge pull request #2562 from c1728p9/init_race_condition
Fix GCC lazy init race condition and add test
2016-09-09 17:59:37 -05:00
Sam Grove 3bb149cab2 Merge pull request #2549 from geky/thread-clarification
Clean up confusion with deprecated constructors and callbacks in thread-spawning functions
2016-09-09 17:58:13 -05:00
Sam Grove b1aebbace7 Merge pull request #2538 from bcostm/adcintch_stm32f4
STM32F4xx - Add support of ADC internal channels (Temp, VRef, VBat)
2016-09-09 17:57:58 -05:00
Sam Grove 6c0ac2148b Merge pull request #2521 from jeromecoutant/PR_F207ZG
[NUCLEO_F207ZG] Add MBED5 capability
2016-09-09 17:57:42 -05:00
Sam Grove 3de19eecc8 Merge pull request #2419 from svastm/serial_asynch_f1
[STM32F1] Add asynchronous serial
2016-09-09 17:56:11 -05:00
Sam Grove 44edcf5f78 Merge pull request #2130 from LMESTM/dev_stm32_device_h
stm32 : reduce number of device.h files
2016-09-09 17:55:52 -05:00
Sam Grove 2c96001478 Merge pull request #2575 from theotherjimmy/allow-empty-config
tools-config! -  Allow an empty or mal-formed config to be passed to the config system
2016-09-09 19:32:05 +02:00
Sam Grove 72b0d46e01 Merge pull request #2545 from marcuschangarm/flash_blob
Added define guards for SEQUENTIAL_FLASH_JOURNAL_MAX_LOGGED_BLOBS so …
2016-09-09 01:49:39 +02:00
Sam Grove 57ebf8bdad Merge pull request #2548 from jamike/NUCLEO_F303ZE
Nucleof303ze
2016-09-09 01:48:13 +02:00
Sam Grove a6b27319ec Merge pull request #2496 from geky/callback-cv
Add cv-qualifiers to Callback and deprecate combinatorial explody functions
2016-09-09 01:45:25 +02:00
Jussi Vatjus-Anttila 709ef59875 Update pull_request_template.md 2016-09-08 12:05:47 +03:00
Sam Grove da3b07dbd1 Merge pull request #2245 from theotherjimmy/exporter-refactor
Refactor export subsystem
2016-09-07 23:16:44 +02:00
Sam Grove 2a2cf25770 Merge pull request #2588 from bridadan/timing-tests-drift-refactor
Timing tests drift refactor
2016-09-07 23:01:35 +02:00
maclobdell fb1fadd4d0 add PTEx pins as option for SPI - for SD card on Hexiwear. Amend to re-trigger CI. 2016-09-07 14:27:27 -05:00
Brian Daniels 1473240637 Fixing issue in timing host test and wait_us case
The timing host tests reported success even if the total drift was
negative. This adds a check for this now.

The wait_us test now does not use a timer and just waits for 100000 us
between prints. This adds inherent drift, but it should still be well
under the limit.
2016-09-07 09:14:17 -05:00
Jimmy Brisson 6564bdaf1d Bump Progen version
Required to prevent that pesky -1million something error code from
ruining our CI
2016-09-06 14:50:32 -05:00
Sarah Marsh 7ee621320a Removed projectfiles directory. debug-info default option 2016-09-06 14:24:06 -05:00
Jimmy Brisson a6be472111 Add repo_dirs, repo_files, lib_builds, and lib_refs to zips 2016-09-06 14:24:06 -05:00
Jimmy Brisson b5c189931e Fix include paths for fragmented projects; remove deadcode 2016-09-06 14:24:06 -05:00
Jimmy Brisson c550f9da75 Fix some tracebacks, add zip exporter to the CLI 2016-09-06 14:24:06 -05:00
Jimmy Brisson cadd233b8e Allow dict in addition to the other types of src_paths
The dict allows the user of the exporter api to specify the result directory
of particular groups of scanned dirs. This will be used by the online exporters
to spoof everything being in the same directory when they are not. It may also
be used by tests, if they would like to export something that looks exactly
like a normal project.
2016-09-06 14:24:05 -05:00
Jimmy Brisson 6686411220 Set vpath correctly when exporting to projectfiles directory 2016-09-06 14:24:05 -05:00
Sarah Marsh 2196d50e72 Create projectfiles directory when exporting
Compatible with new c/asm/cpp flag separation.
2016-09-06 14:24:05 -05:00
Jimmy Brisson e5de39efff Fix renaming issues in non-CI ides
Affects these ides:
 - Atmel Studio
 - Code Red (I don't think we support this)
 - Coide
 - DS-5
 - E2Studio
 - EMblocks
 - KDS
 - Simplicity v3
 - SW 4 STM32

also corrects flags usage in EMBlocks
2016-09-06 14:24:05 -05:00
Jimmy Brisson 36c750b39f Reinstated the zip exporter 2016-09-06 14:24:05 -05:00
Jimmy Brisson 3e2526a424 Made exporting safer
it will no longer barf when:
 - a linker scirpt is None
 - an attribute that is a set
it will also export the correct library include paths
2016-09-06 14:24:05 -05:00
Jimmy Brisson 67fae3a705 Allow exporting to in-memory zip file 2016-09-06 14:24:05 -05:00
Sarah Marsh f4a686fbd9 Requirements update 2016-09-06 14:24:05 -05:00
Sarah Marsh 0016ddf60c progen exporter template 2016-09-06 14:24:05 -05:00
Sarah Marsh cccc5f3fca Accessing progen exporters directly 2016-09-06 14:24:05 -05:00
Jimmy Brisson 7e2ca0115b Update copyright 2016-09-06 14:24:04 -05:00
Sarah Marsh f6a15fd3c8 Refactor export subsystem
Makes several broad changes:
 - removes dead code that dealt with the online build system
 - replaces export function with a much simpler one that:
   - does not copy any sources
   - the zip file hits the disk
   - the mbed_config.h hits the disk
   - the project files hit the disk
   - nothing else hits the disk
 - exporters use Resource object scanned with a toolchain
 - progen exporters don't optionally build a project instead they have a
   build function that may be called afterwards
 - much of the code passes pylint (have a score of 9 or above):
   - project.py
   - project_api.py
   - export/__init__.py
   - export/exporters.py
   - test/export/build_test.py
2016-09-06 14:24:00 -05:00
Bogdan Marinescu 5dcd546fd5 Merge pull request #2393 from theotherjimmy/argument-dependencies
[tools] Prevent trace-backs from incomplete args
2016-09-05 12:50:47 +03:00
Michel Jaouen 9d3e34e387 [NUCLEO_F303RE] fix build error 2016-09-05 09:14:49 +02:00
Michel Jaouen c8d08bd952 [NUCLEO_F303ZE] test / export scripts update 2016-09-05 09:14:09 +02:00
Michel Jaouen aae0b921db [NUCLEO_F303ZE] Add RTOS support 2016-09-05 09:09:42 +02:00
Michel Jaouen e94cba383c [NUCLEO_F303ZE]Add Hal Target 2016-09-05 09:09:40 +02:00
Michel Jaouen afd50701ce [NUCLEO_F303ZE] Add CMSIS target 2016-09-05 09:09:37 +02:00
Sam Grove fbf535be59 Merge pull request #2607 from 0xc0170/fix_uvisor_memory_tracing
Fix uvisor memory tracing
2016-09-02 19:41:51 +03:00
Brian Daniels 8b9a6dc19d Correctly providing directories to build_apis
The shared `prepare_toolchain` and `scan_resources` functions in build_api
expect a list, not a string. This is different from the
toolchain.scan_resources function. Now the functions are being used
correctly within the `find_tests` function in test_api
2016-09-02 11:32:11 -05:00
bcostm aa23b649c5 STM32F4xx - Align STM_PIN_DATA macro on ARCH_MAX too 2016-09-02 15:26:22 +02:00
bcostm ee624a2e80 STM32F4xx - Align STM_PIN_DATA and STM_PIN_DATA_EXT macros 2016-09-02 15:26:22 +02:00
bcostm e294ce7563 STM32F4xx - Add ADC_TEMP/VREF/VBAT pins 2016-09-02 15:26:22 +02:00
bcostm 2f1fc9b0f4 STM32F4xx - Add one more bit for channels field, declare ADC internal channels 2016-09-02 15:26:22 +02:00