Commit Graph

26716 Commits (b9d824d67cb15cf43a205aa5c78336aaa2aaeecf)

Author SHA1 Message Date
jeromecoutant 74a24ea88d STM32H747 license update 2019-10-16 11:53:52 +01:00
jeromecoutant 39e890d330 Remove "STM32H747ZI" device_name, as not supported yet by MBED 2019-10-16 11:53:52 +01:00
jeromecoutant 2008be1c0d DISCO_H747I single core M7 introduction 2019-10-16 11:53:52 +01:00
jeromecoutant 46b310304a STM32H747xI introduction 2019-10-16 11:53:52 +01:00
jeromecoutant 08fe757f14 STM32H743 files move 2019-10-16 11:53:52 +01:00
jh228 20461fec19 Update gcc.py 2019-10-16 11:53:52 +01:00
jh228 d904c3e1ee Update gcc.py for preprocessing in linker script
To fix https://github.com/ARMmbed/mbed-os/issues/11214, we need this update. :-)
2019-10-16 11:53:52 +01:00
int_szyk aff57777da Coverity changes in USBDevice.cpp 2019-10-16 11:53:52 +01:00
Michal Paszta b65e5e84df Enable async serial for K66F
Added DMA definitions and usage for UART, based on K64F's code.
2019-10-16 11:53:52 +01:00
Maciej Bocianski d564897cf9 add missing asserts to UserAllocatedEvent class
Improves code quality by adding MBED_ASSERT to UserAllocatedEvent::delay
and UserAllocatedEvent::period function. This prevent changing already posted event.
2019-10-16 11:53:52 +01:00
int_szyk 442af08409 Coverity changes in USBHID.cpp 2019-10-16 11:53:52 +01:00
jeromecoutant 0f12e65b9c STM license file update
Some code have been copied from ST Cube deliveries.
ST copyright is then needed.
2019-10-16 11:53:52 +01:00
Hugues Kamba 7e3e80e230 Harmonise Doxygen comments in drivers, events, platform and rtos dirs
When a Doxygen group has been defined (created), all its needed to add
documentation to that group is `\addtogroup`. Since all the information
about the group is preserved, it is not necessary to mention the group
hierarchy again with `\ingroup`. This PR removes unnecessary Doxygen lines
across the `drivers`, `events`, `platform` and `rtos` directories.

It also ensures that new groups are created with `\defgroup` once and
referenced with `\addtogroup` whenever documentation needs to be added to
an existing group.
2019-10-16 11:53:52 +01:00
int_szyk 9c1d3978fb Change stack sizes.
Change stack sizes in test stats_cpu and mbedmicro-rtos-mbed-threads.
The value 384 was declared to make this test pass on STM32F070RB,
but its main stack value has been changed to 3KB so now it passes
this test with 512 stack size. The change was needed to make GR_LYCHEE
pass this test on ARM compiler.
2019-10-16 11:53:52 +01:00
Hugues Kamba 6de8243e9a Correct doxy-spellchecker error message 2019-10-16 11:53:52 +01:00
Dustin Crossman 3ee36cb855 Fixed byte string related TypeError if using python3. 2019-10-16 11:53:52 +01:00
Seppo Takalo fb0c22fc23 Include ns_types.h before mbed_trace.h in Nanomesh 2019-10-16 11:53:52 +01:00
Seppo Takalo 4b84664267 Remove mbed_trace dependency to Nanomesh headers
This library only uses standard types from C99, and
thus does not need compiler specific tweaks from ns_types.h
2019-10-16 11:53:52 +01:00
Dominika Maziec 392ecdbb5b ESP8266Interface buffer null-terminated and parameters of scan function in correct order 2019-10-16 11:53:52 +01:00
Amanda Butler c505987b07 Edit Readme.md
Edit file, mostly for active voice, formatting and parallel construction.
2019-10-16 11:53:52 +01:00
Ron Eldor a9cc06536a Fix typo
suipport -> support
2019-10-16 11:53:52 +01:00
Ron Eldor 0d6fc46086 Explaining how to opt in modules
Add a section in the CC Readme file explaining how to enable the optional module.
2019-10-16 11:53:52 +01:00
Ari Parkkila aea8d824cb Cellular: Fix BG96 power on and connect 2019-10-16 11:53:52 +01:00
George Psimenos 499bc28a32 Avoid potential overflow 2019-10-16 11:53:52 +01:00
George Psimenos cc16a2cfd6 Replace difftime and float literals 2019-10-16 11:53:52 +01:00
Hugues Kamba a840987dfa Sync with TF upstream code as much as possible to remove warning 2019-10-16 11:53:52 +01:00
Hugues Kamba 900787ca96 Remove extraneous parentheses. 2019-10-16 11:53:52 +01:00
Hugues Kamba 95996200d7 Use PRIu32 to print uint32_t variable
As the variable underlying type size is different depending on the
toolchain used
2019-10-16 11:53:52 +01:00
Hugues Kamba 7bdc7b6a69 Remove minor build warnings 2019-10-16 11:53:52 +01:00
Hugues Kamba 908241fb48 Replace wait_ms calls with rtos::ThisThread::sleep_for
`wait_ms` is deprecated and its use generates a warning.
2019-10-16 11:53:52 +01:00
Hugues Kamba dbca77dcc5 Avoid non-trivial copy when initializing lorastack struct
Using memset generates a warning about the non-trivial operation.
Use member-initializer-list instead to initialise the structs members.
2019-10-16 11:53:52 +01:00
Olli-Pekka Puolitaival d2bd044b4d Use very verbose to see more details in case of problem 2019-10-16 11:53:52 +01:00
Kostiantyn Tkachov 5c3da11e83 Removed mbedTLS hardware support from FUTURE_SEQUANA targets 2019-10-16 11:53:52 +01:00
Kostiantyn Tkachov eb1a5e6b11 Changed order of config file checking in include defines 2019-10-16 11:53:52 +01:00
Kostiantyn Tkachov 04e6f79ae8 Removed TABs from the ALT source files 2019-10-16 11:53:52 +01:00
Kostiantyn Tkachov f583fd8b26 Removed obsoleted typedef for mbedtls_be128[] in aes_alt.c 2019-10-16 11:53:52 +01:00
Kostiantyn Tkachov e2a84556e6 Fixed SHA ctx and ilen parameters checking 2019-10-16 11:53:52 +01:00
Kostiantyn Tkachov 3727c82736 Fixed SHA ctx and ilen parameters checking 2019-10-16 11:53:52 +01:00
Kostiantyn Tkachov b191e6a84a Initial commit to add mbedTLS hardware acceleration for Cypress chips to mbed-os sources 2019-10-16 11:53:52 +01:00
Chun-Chieh Li ef8474de46 M263: Remove redundant SPI I2S pins from pinmap
The pins suffixed with 'I2SMCLK' are for SPI I2S and cannot be used in normal SPI.

This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi.
2019-10-16 11:53:52 +01:00
Chun-Chieh Li 0722380f9a M263: Free up peripheral pins in peripheral free-up HAL API
Without free-up of peripheral pins, peripheral pins of the same peripheral may
share by multiple ports after port iteration, and this peripheral may fail with
pin interference.
2019-10-16 11:53:52 +01:00
Chun-Chieh Li 863c2a7700 M263: Support GPIO input pull-high/pull-low
In Nuvoton, only new-design chips support GPIO input pull-high/pull-low modes.
Targets not supporting this feature are listed below:

- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
2019-10-16 11:53:52 +01:00
Chun-Chieh Li 826ad091a3 M263: Fix redundant call to UART IRQ handler
Honor RxIrq/TxIrq to avoid redundant call to UART IRQ handler.

This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-uart.
2019-10-16 11:53:52 +01:00
Chun-Chieh Li 950a586ad1 M263: Fix redundant SPI clock generation
Fix SPI clocks are generated redundantly at the end of transfer.

This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-spi/
SPI - async mode.
2019-10-16 11:53:52 +01:00
Chun-Chieh Li 8cd1f10b25 M263: Fix I2C NACK error
Fix logic error on replying NACK at the end of transfer.

This is also to fix FPGA CI test mbed_hal_fpga_ci_test_shield-i2c/
i2c - test single byte read i2c API.
2019-10-16 11:53:52 +01:00
Chun-Chieh Li d6172f0227 M263: Fix IP initialization sequence
Better IP initialization sequence:
1. Configure IP pins
2. Select IP clock source and then enable it
3. Reset the IP (SYS_ResetModule)

NOTE1: IP reset takes effect regardless of IP clock. So it doesn't matter if
       IP clock enable is before IP reset.
NOTE2: Non-configured pins may disturb IP's state, so IP pinout first and then
       IP reset.
NOTE3: IP reset at the end of IP initialization sequence can cover unexpected
       situation.
2019-10-16 11:53:52 +01:00
Chun-Chieh Li 668d3b077e M263: Exclude USB UART from testing
USB UART is dedicated to USB COM and so must exclude from FPGA CI testing.
2019-10-16 11:53:52 +01:00
Chun-Chieh Li 99cbd6fe3c M263: Force enum PinName to 32-bit
NU_PINNAME_BIND(...) requires enum PinName to be 32-bit to encode module
binding information in it.
2019-10-16 11:53:52 +01:00
Hugues Kamba 639ee4b3b4 Cast void pointer before deallocating with delete[]
The stack memory is a `void*` which creates a warning when using
the `delete[]` operator because it is unable to call the destructor of
of an unknown object type.
2019-10-16 11:53:52 +01:00
dolphin\\gena 6176f066f4 formatting 2019-10-16 11:53:52 +01:00