Commit Graph

226 Commits (mbed-os-5.10)

Author SHA1 Message Date
William Kelly III 10fed1b1e8 Fix off-by-one-error in BusIn/Out 2018-11-16 14:49:17 +00:00
Mel W ccda9b8bde One more missing period. 2018-11-04 22:06:10 -06:00
Mel W 50639d6d8b Adding periods 2018-11-04 22:06:10 -06:00
Leszek Rusinowicz 4a07001873 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-02 19:50:02 -05:00
Leszek Rusinowicz 9c93f3a850 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-02 19:50:02 -05:00
kegilbert 8d004c467e Fix typos in Drivers doxygen 2018-11-02 19:49:59 -05:00
Russ Butler c36afcc3b6 Move #endif to fix PwmOut.h doxygen
Move the #endif up so it does not include the closing bracket of
PwmOut. This allows the doxygen for PwmOut, classmbed_1_1_pwm_out.html,
to build.
2018-11-02 19:49:59 -05:00
Christopher Haster 6a0d5a6849 Fix interleaved ifdefs with DEVICE_SPI_ASYNCH + DOXYGEN_ONLY 2018-11-02 19:49:56 -05:00
Paul Szczepanek 84b96abbc3 Update SPI.h 2018-11-02 19:49:56 -05:00
paul-szczepanek-arm b55e247b7f active voice 2018-11-02 19:49:56 -05:00
paul-szczepanek-arm ba59e57daf SPI capitalisation 2018-11-02 19:49:56 -05:00
paul-szczepanek-arm 23d9b73772 fix syntax err from misplaced ifdef 2018-11-02 19:49:56 -05:00
paul-szczepanek-arm e82a8b14d8 imperative 2018-11-02 19:49:56 -05:00
paul-szczepanek-arm 5bd0e72543 spi doxygen fixes 2018-11-02 19:49:56 -05:00
Maciej Bocianski 580782d2eb MbedCRC doxygen fix 2018-11-02 19:49:56 -05:00
Amanda Butler c43139b076 Edit SPISlave.h
Make minor edits to existing text.
2018-11-02 19:49:54 -05:00
paul-szczepanek-arm c7b5852082 doxygen cleanup 2018-11-02 19:49:54 -05:00
Amanda Butler 79b066551d Copy edit I2CSlave.h
Make minor copy edits.
2018-11-02 19:49:54 -05:00
paul-szczepanek-arm 2aaf97da81 hide protected 2018-11-02 19:49:54 -05:00
paul-szczepanek-arm 87ca647294 fix documentation and example 2018-11-02 19:49:54 -05:00
Thomas Kemmer f2633dee6a Clean up UARTSerial.cpp includes. 2018-11-02 19:49:53 -05:00
Jenny Plunkett e4ac85d74a Revert "Remove note about Stream/Serial deprecation"
This reverts commit 5ee5b071ab.
2018-11-02 19:49:51 -05:00
Jenny Plunkett a369799ea1 Add note about default baud rate is 9600 2018-11-02 19:49:51 -05:00
Jenny Plunkett 65a28f79f8 Remove note about Stream/Serial deprecation 2018-11-02 19:49:51 -05:00
Jenny Plunkett 85a049a0fb Add (Not Connected) 2018-11-02 19:49:51 -05:00
Jenny Plunkett 6200cd1ee1 Remove Serial protected member functions and attributes 2018-11-02 19:49:51 -05:00
Jenny Plunkett 5d347762de Remove RawSerial protected member functions 2018-11-02 19:49:51 -05:00
RFulchiero 6da02f059f Documentation improvements only - Prevent protected attributes from appearing on docs site. - Standardize units of time (microsecond, millisecond). - Improve example description. 2018-11-02 19:49:51 -05:00
RFulchiero a0010228a4 PortOut.h: Documentation improvements only * Improve function and parameter descriptions 2018-10-19 11:46:55 +01:00
welaZat d014fb4a55 Added missing define in drivers/SerialWireOutput.h 2018-10-19 11:46:55 +01:00
RFulchiero f306241269 PortIn.h: Documentation improvements only * Improve function and parameter descriptions * Improve clarity of the example 2018-10-19 11:46:55 +01:00
kegilbert 5d795775da Remove protected members from doxy in Analog/Digital classes
- Add example snippets to Analog/Digital read/write overrides
2018-10-19 11:46:55 +01:00
Amanda Butler 2fbb66e4d9 Copy edit Timer.h
Copy edit existing text for minor grammar issues.
2018-10-19 11:46:55 +01:00
Naveen Kaje d612a1be00 Timer.h: Update comments 2018-10-19 11:46:55 +01:00
Naveen Kaje 9435179d16 Timer.h: Remove protected attributes from rendering on docs site 2018-10-19 11:46:55 +01:00
Amanda Butler 9e7b67f778 Edit InterruptIn.h
Make minor grammar edits.
2018-10-19 11:46:55 +01:00
Naveen Kaje 01448df55a InterruptIn.h: Update comments 2018-10-19 11:46:55 +01:00
Naveen Kaje 7126f1e2b5 InterruptIn: Remove protected attributes from rendering on docs site 2018-10-19 11:46:55 +01:00
Amanda Butler 7200bb8918 Edit Ticker.h
Make minor copy edits to existing text.
2018-10-19 11:46:55 +01:00
Aashish chaddha 5f68d26950 improve ticker doc 2018-10-19 11:46:55 +01:00
deepikabhavnani 14d247c4c9 Correct the param descritions of QSPI 2018-10-19 11:46:55 +01:00
deepikabhavnani 88977dc245 QSPI: Remove protected member functions from rendering on docs site, but keep them in the code. 2018-10-19 11:46:55 +01:00
Kevin Gilbert 691061dc41 Fix minor typo 2018-10-19 11:46:55 +01:00
Aashish chaddha c03f3e567c fixed a mistake where I was adding "can not supprted" error at wrong place 2018-10-19 11:46:55 +01:00
Aashish chaddha 5c2ae7bca0 fix critical bug where I was hiding a lot more class members than i should. Add "CAN_NOT_SUPPORTED" guard to header instead of example 2018-10-19 11:46:55 +01:00
Aashish chaddha 36198f11de improve can documentation 2018-10-19 11:46:55 +01:00
Thomas Kemmer 90253ef7f5 Use high resolution time for Timer::read(). 2018-10-19 11:46:55 +01:00
deepikabhavnani 040f4fe664 Cleanup SPI constructor and add destructor
_acquire() is not required in constructor, since we are not performing
any operation on SPI bus yet. Just initialize the pins/hw

Destructor is required to clear _owner else SPI format/frequency will not be
set if object is recreated. We do not free SPI bus, but init again in hardware
may or may not change frequency/format.

```
{
    SPI spi1(...);
    spi1.transfer(...);
}
{
    SPI spi1(...);
    spi1.transfer(...);
}
```
2018-10-08 15:18:50 +01:00
Thomas Kemmer 3db611cdef Clean up include paths. 2018-10-08 15:18:50 +01:00
Maciej Bocianski 9bb0344712 fix example code in QSPI.h 2018-09-11 15:04:48 +01:00