Commit Graph

20383 Commits (7d9c3d1432d21167260b409ff19487d88287914c)

Author SHA1 Message Date
Martin Kojtal 97cb833afd Readme: add license guide doc page 2018-11-05 10:54:42 +00:00
Martin Kojtal f8fc0b3f3f contributing: update the text
Simplify the document. More information is provided on our documentation portal, link it here
2018-11-05 10:54:41 +00:00
Martin Kojtal 8ec69e6857 readme: add note about 3rd party code licenses 2018-11-05 10:53:01 +00:00
Martin Kojtal 09ee5f914d readme: add license section 2018-11-05 10:53:01 +00:00
Offir Kochalsky 2df7258710 Add get_erase_value() support 2018-11-05 12:47:18 +02:00
Kari Haapalehto c7afb91f62 Fix compile warning about initializing and variable order 2018-11-05 12:45:53 +02:00
Jeroen de Bruijn 2ef82e18f5
fix: Remove rtx from main thread name 2018-11-03 18:32:23 +01:00
Cruz Monrreal 0e6eac5faa
Merge pull request #8491 from lrusinowicz/new-target-future_sequana
New target future sequana
2018-11-03 07:05:58 -05:00
Leszek Rusinowicz 53477848f5 Disabled makefile exporters for PSoC 6 based targets. 2018-11-02 17:27:56 +01:00
Anna Bridge 5a8a598773
Merge pull request #8611 from AnttiKauppila/ut_fix
Unittest fixes
2018-11-02 16:17:59 +00:00
Anna Bridge ff007bcc00
Merge pull request #8624 from c1728p9/fix_missing_doxygen_pages
Fix missing doxygen pages
2018-11-02 16:16:34 +00:00
Jeroen de Bruijn 440905a84e
fix: Change cellular FSM thread name 2018-11-02 16:23:52 +01:00
Jeroen de Bruijn 467a7b6344
feat: Add name to shared queue threads 2018-11-02 13:52:18 +01:00
Jeroen de Bruijn 3f635ef813
fix: Update thread names
Remove _thread suffix and rename threads.
2018-11-02 13:44:24 +01:00
Cruz Monrreal 8dbb13d1b5
Merge pull request #8616 from cmonr/update-requests-module
Updated and pinned version for requests
2018-11-01 20:13:01 -05:00
Leszek Rusinowicz 6203d04630 Removed "intermediate" PSOC6 targets from buildable target list. 2018-11-02 01:15:21 +01:00
RFulchiero 0de5ab2686 Add a protected HAL set_time() test
When DEVICE_LPTICKER is defined set_time() only works correctly on
the first call. This test calls set_time() twice and ensures the
time set by both calls is correct.  This test only runs if
DEVICE_RTC or DEVICE_LPTICKER is defined.
2018-11-01 17:17:56 -05:00
Russ Butler 0bbdca88b5 Fix missing doxygen pages
Set the doxygen option HIDE_UNDOC_CLASSES to NO so even classes
without top level documentation show up. This fixes missing class links
in the documentation.

This problem was introduced when the local doxygen settings were
synchronized with the website doxygen settings:
784fa91294
"Update doxygens to be in sync"
2018-11-01 17:15:16 -05:00
RFulchiero d82990cd25 Low power timer needs to be reset when setting time.
Reset _rtc_lp_timer only if DEVICE_LPTICKER is defined.
2018-11-01 17:11:45 -05:00
Leszek Rusinowicz 8f528277fd Added missing README files for Cypress PDL library.
hex files subfolder moved up one level to avoid license confusion.
Removed non-TLS implementation of TRNG. Removed unused crypto libraries and headers.
Replaced Cypress copyright licence per agreement.
Removed unsed eeprom emulation middleware files.
Renamed assembler files from *.s to *.S
Removed "device_name" from targets.json definitions as it is not supoprted yet.
2018-11-01 22:16:16 +01:00
Leszek Rusinowicz 7d322dcd41 Simplified M0/M4 binary merging functionality. Now, M0 binary image to be used has to be explicitely named in a json file (can be ovverriden in mbed_app.json).
Exporter hooks removed completely.
Cleanup and improvements to the comments, including removal of the redundant doxygen comments.
Code run through astyle. Additionally:
 - changes to drivers/Timer.cpp reverted
 - ipcpipe_transport.* files removed as they are not used for now,
 - fixed condition in stdio_init.cpp to perform serial initialization only when STDIO is enabled,
 - added missing resurce manager call in PWM initialization,
 - us_ticker initialization changed to use pre-reserved clock divider (to avoid resource manager call).
Changed reporting level from info to debug in PSOC6.py.
Added missing includes for function declarations in startup files.
Fixed (removed) garbadge text in psoc6_utils.c
Precompiled binaries updated for recent changes in psoc6_utils.c and moved to a separate folder; README and LICENSE files added.
2018-11-01 22:14:06 +01:00
Cruz Monrreal 430fb3e7ba
Merge pull request #8601 from kjbracey-arm/error_fmtcheck
Add format checking to printf-type APIs
2018-11-01 16:09:05 -05:00
Cruz Monrreal 9c5fc7dc7c
Merge pull request #8538 from theotherjimmy/rework-make-cli
Rework make.py CLI to avoid treating apps as tests
2018-11-01 15:46:46 -05:00
kegilbert 3008de5cbf Fix typos in RTOS doxygen. 2018-11-01 15:46:40 -05:00
kegilbert ae673d606c Fix typos in Events doxygen 2018-11-01 15:40:44 -05:00
Cruz Monrreal 48bb1a54f0
Merge pull request #8577 from lassebm/fix-makefile-export-with-python-3
Fix Makefile export with Python 3
2018-11-01 15:34:58 -05:00
Marcus Chang 07eb6bd159 Add missing include for TLSSocket
TCP and UDP sockets are automatically available when mbed.h is
included in an application.

This change lets the TLSSocket be used in the same way.
2018-11-01 13:32:37 -07:00
Leszek Rusinowicz 9b1db83eaa Added required changes outside of TARGET_Cypress tree:
1. In drivers/Timer.cpp make sure that hardware timer is initialized outside of critical section.
   This is because on PSoC 6 hardware resources are shared between both cores
   and we have to make sure that the other core is not already using a particular resource.
   This mechanism is based on interprocessor communication taht cannot be handled iside of
   critical section.
2. Added support for post-binary hook function for PSoC 6 targets, so the hex image for M0+ CPU core
   can be merged with M4 core image for the final image.
3. Added possibility to use hook function from exportes, so the M0+ hex image could be included
   in the generated project.
4. Included hex images in the build dependency list, so the update of image is catched by the
   build process.
2018-11-01 20:19:21 +01:00
Leszek Rusinowicz f906aac096 Added BLE support based on CORDIO stack. 2018-11-01 20:15:57 +01:00
Leszek Rusinowicz d37026d063 Updated TARGET_Cypress sub-tree for FUTURE_SEQUANA target:
1. Complete set of HAL drivers for all peripherals of CY8C63xx PSoC chips.
2. Cypress PDL library updated to official 3.0.1 version.
3. Tree structure reorganized and cleaned up:
 + TARGET_Cypress
 +--+ TARGET_PSOC6+                  -> code & libs applicable to all PSoC 6 based devices
    +--+ TARGET_CY86XX               -> code & libs applicable to PSoC 63 based devices
    |  +--- TARGET_MCU_PSOC6_M0      -> code & libs applicable to PSoC6 Corted M0+ core
    |  +--- TARGET_MCU_PSOC6_M4      -> code & libs applicable to PSoC6 Corted M0F core
    |
    +--+ TARGET_FUTURE_SEQUANA       -> code applicable to Sequana board, both cores
       +--- TARGET_FUTURE_SEQUANA_M0 -> code applicable only to M0+ core on Sequana board
2018-11-01 20:15:56 +01:00
Leszek Rusinowicz ec22815fee Initial version with support for PSoC 6 CY8C63XX and both cores using updated PDL 3.0.1 beta. 2018-11-01 20:15:52 +01:00
Adrien Chardon 2c533d4693 Initial support for PSoC 6. 2018-11-01 20:15:51 +01:00
kegilbert 766359c7c5 Typo fixes in Doxygen for Platform 2018-11-01 12:10:08 -05:00
Cruz Monrreal II 1f727e32f6 Updated and pinned version for requests 2018-11-01 11:17:21 -05:00
Cruz Monrreal 1608fbbe54
Merge pull request #8542 from cmonr/fix-python_module_versions
Update python module versions in requirements.txt
2018-11-01 09:59:09 -05:00
Cruz Monrreal 274f8b92d3
Merge pull request #8588 from mprse/ice_tea_test_order_fix
Fix Ice Tea test execution order to be sorted by names.
2018-11-01 09:55:29 -05:00
Seppo Takalo f92108c0f3 Make sure that close() is called before the transport is destroyed.
Transport is a member of TLSSocket which is derived from TLSSocketWrapper.
Make sure that TLSSocketWrapper::close() is called before the transport is
destroyed.
2018-11-01 15:30:27 +02:00
adbridge b28d0811df Fix up subprocess calls
subprocess.call() does not by default return a status value.

Update the commands to add shell=True which forces a return value.
Also convert the commands to a single string rather than a list as
this plays more nicely with both linux and windows.

Also fix a spurious :
2018-11-01 13:07:16 +00:00
Antti Kauppila 8cdf1d34fc Unittest fixes 2018-11-01 14:57:18 +02:00
Jeroen de Bruijn 1f4f623339
feat: Name PPP thread 2018-11-01 13:57:03 +01:00
Jeroen de Bruijn 56a12ce7d6
feat: Name cellular FSM queue thread 2018-11-01 13:55:44 +01:00
Jaakko Korhonen 0d04f03882 Added missing mutex to DataFlash for thread safety. 2018-11-01 14:51:07 +02:00
Christopher Haster 761405592b Added mutex to DataFlash for thread safety 2018-11-01 14:51:07 +02:00
Jaakko Korhonen c3e0e3e75d Add generic BlockDevice test for get_erase_value(). 2018-11-01 14:51:07 +02:00
Jaakko Korhonen ebef79a05c Add generic BlockDevice test for contiguous erase/write/read. 2018-11-01 14:51:07 +02:00
Cruz Monrreal b1904a5d65
Merge pull request #8599 from bcostm/F769NI_bootloader
DISCO_F769NI: Add bootloader support
2018-10-31 20:41:43 -05:00
Cruz Monrreal 8d014bcce6
Merge pull request #8585 from JarkkoPaso/IOTTHD-2884
Phy drivers: Added S2-LP driver
2018-10-31 20:41:24 -05:00
Cruz Monrreal 3d09f3bd98
Merge pull request #8598 from VeijoPesonen/fix_atcmdparser_oob_handling
ATCmdParser: Fix OOB handling performance-wise
2018-10-31 18:52:21 -05:00
Cruz Monrreal d8e4daebc4
Merge pull request #8593 from cmonr/travis-doxygen-fix
Build and run latest released doxygen in Travis CI
2018-10-31 16:15:08 -05:00
adbridge a7c777d5c1 Make examples commands return a failure
Currently the following commands in examples.py,
do_import()
do_deploy()
do_versionning()
do_clone()

all return a success status (ie 0) irrespective of any errors
originating from their sub-functions.

This PR fixes this. Now these commands will return one of:
0 - success
1 - general failure
x - failure returned by a subprocess.call function
2018-10-31 17:40:15 +00:00