Commit Graph

1341 Commits (d6a48b5124f4ba8983c6e7eaf505ee4f76f52ed2)

Author SHA1 Message Date
Heath Petersen a6b0909794 namespace and extern C don't need semicolon 2019-12-26 16:08:22 -06:00
Kevin Bracey fe22bc023e Update HAL CRC API
* Change "is supported" check to be a macro, so it can be done at
  compile-time.
* Eliminate weird shift on 7-bit CRCs.
* Add support for 32-bit CRCs and reversals to TMPM3HQ.
2019-12-02 14:45:37 +02:00
Przemyslaw Stekiel b2dad08387 Change explicit pinmap to static pinmap 2019-11-28 08:32:12 +01:00
Przemyslaw Stekiel caf438ed9b get_qspi_pinmap(): Fix invalid condition 2019-11-28 08:32:07 +01:00
Przemyslaw Stekiel 6489bb7c99 STM: Add support for internal ADC pins 2019-11-28 08:32:06 +01:00
Przemyslaw Stekiel dac3c218ef NRF52840_DK: Add explicit pinmap support 2019-11-28 08:32:06 +01:00
Przemyslaw Stekiel 097f3b4969 Explicit pinmap: Add support for CAN and QSPI 2019-11-28 08:32:04 +01:00
Przemyslaw Stekiel 37714c7894 Add can_init_direct() functions to HAL API 2019-11-28 08:32:03 +01:00
Przemyslaw Stekiel 2970e5c699 Add qspi_init_direct() function to HAL API 2019-11-28 08:32:03 +01:00
Przemyslaw Stekiel ba12228556 Explicit pinmap: Fix build failures reported by CI 2019-11-28 08:32:03 +01:00
Przemyslaw Stekiel d75cc97d80 Explicit pinmap - fix style 2019-11-28 08:32:02 +01:00
Przemyslaw Stekiel 17c1b9a860 Fix spelling error 2019-11-28 08:32:02 +01:00
Przemyslaw Stekiel 9a62195810 Add constexpr utility functions to search for pin mapping 2019-11-28 08:32:01 +01:00
Przemyslaw Stekiel f1367c057c Add serial_init_direct(), serial_set_flow_control_direct() functions to HAL API 2019-11-28 08:31:59 +01:00
Przemyslaw Stekiel 618bd18ef5 Add i2c_init_direct() function to HAL API 2019-11-28 08:31:58 +01:00
Przemyslaw Stekiel 60f1cf613e Add analogout_init_direct() function to HAL API 2019-11-28 08:31:58 +01:00
Przemyslaw Stekiel a67e6f0a90 Add analogin_init_direct() function to HAL API 2019-11-28 08:31:57 +01:00
Przemyslaw Stekiel 2ffb0ab65b Add pwmout_init_direct function to HAL API 2019-11-28 08:31:56 +01:00
Przemyslaw Stekiel 582d1b7a37 Add default implementations of xxx_init_direct() functions for explicit pinmap. 2019-11-28 08:31:55 +01:00
Przemyslaw Stekiel fd05ebf96d Add spi_init_direct() function to HAL API 2019-11-28 08:31:55 +01:00
Przemyslaw Stekiel 5aae19792f Add spi_pinmap_t struct 2019-11-28 08:31:55 +01:00
Martin Kojtal 5f7ecea00b
Revert "MbedCRC and CRC HAL revisions" 2019-11-26 13:45:37 +00:00
Kevin Bracey 1f94428a56 Update HAL CRC API
* Change "is supported" check to be a macro, so it can be done at
  compile-time.
* Eliminate weird shift on 7-bit CRCs.
* Add support for 32-bit CRCs and reversals to TMPM3HQ.
2019-11-13 14:31:49 +02:00
Martin Kojtal 33e392e9d9
Merge pull request #11682 from mprse/fpga_tests_CI_targets
Make FPGA tests to pass on CI targets (SPI, analogIn, PWM)
2019-11-07 11:46:40 +01:00
Przemyslaw Stekiel 4b1b4f72af Add spi_get_capabilities() function to HAL API
Add also default weak version of spi_get_capabilities() which provides default/most common SPI parameters.
This function can be replaced if a specific target has different capabilities.
2019-11-06 09:48:25 +01:00
Seppo Takalo 168b51c415 Add storage related files to baseline unittest.
* Refactor some headers to use relative path from Mbed OS root.
* Refactor some data types to compile on 64bit machines.
* Refactor some debug traces to use mbed_trace.
2019-11-04 16:12:36 +02:00
Martin Kojtal eea83007be
Merge pull request #11203 from Tharazi97/Watchdog_lower_limit_timeout_test
Add watchdog lower limit timeout test
2019-10-31 14:25:52 +01:00
Przemyslaw Stekiel 7a6cf2cb51 Add weak implementations of xxx_free() functions 2019-10-29 14:18:17 +01:00
Przemyslaw Stekiel b8a6792ded I2C: Add i2c_free() function to HAL 2019-10-29 10:58:39 +01:00
Przemyslaw Stekiel f19681fc6f GPIO: Add gpio_free() function to HAL 2019-10-29 10:48:31 +01:00
Przemyslaw Stekiel 05d8e1bb89 Analogin: Add analogin_free() function to HAL 2019-10-29 10:48:03 +01:00
Przemyslaw Stekiel b8a8c98d54 HAL API requirements updates after review 2019-10-28 13:10:52 +01:00
Przemyslaw Stekiel 40c4b44385 HAL: Serial: Update the header file doxy (FIXME) 2019-10-28 13:10:51 +01:00
Filip Jagodzinski e98cc2077e HAL: Serial: Update the header file doxy
Clarified defined/undefined behavior.
2019-10-28 13:10:51 +01:00
Przemyslaw Stekiel 1bbcc8fd56 SPI: add defined behavior 2019-10-28 12:52:30 +01:00
Przemyslaw Stekiel 6cec7bbd6d Serial: add defined behavior 2019-10-28 12:52:30 +01:00
Przemyslaw Stekiel 96b48bc241 PWM: add defined behavior 2019-10-28 12:52:30 +01:00
Przemyslaw Stekiel b8d225e860 I2C: add defined behavior 2019-10-28 12:52:30 +01:00
Przemyslaw Stekiel d35e8e3001 GPIO IRQ: add defined behavior 2019-10-28 12:52:30 +01:00
Przemyslaw Stekiel d68bafe472 GPIO: add defined behavior 2019-10-28 12:52:29 +01:00
Przemyslaw Stekiel 85a2cb27a3 Analogout: add defined behavior 2019-10-28 12:52:29 +01:00
Przemyslaw Stekiel 2929895fb1 Analogin: add defined behavior 2019-10-28 12:52:29 +01:00
Kyle Kearney bb872ee196 Restore old qspi_alt_size_t values as compatibility macros 2019-10-16 09:37:27 -07:00
Martin Kojtal 3ca2e14a71
Merge pull request #11627 from jeromecoutant/PR_PINMAP_ERROR
pinmap_peripheral function: update error code for easier debug
2019-10-14 09:27:30 +02:00
jeromecoutant 78ef24dd34 pinmap_peripheral: update error code 2019-10-04 12:50:05 +02:00
Matthew Macovsky baf375f8cb Allow for arbitrary QSPI alt sizes
The QSPI spec allows alt to be any size that is a multiple of the
number of data lines. For example, Micron's N25Q128A uses only a
single alt cycle for all read modes (1, 2, or 4 bits depending on
how many data lines are in use).
2019-09-30 14:45:08 -07:00
int_szyk b54222adf1 Change assumptions of watchdog_api. 2019-09-30 08:10:25 +02:00
int_szyk 69ba9ec916 Add clock_typical_frequency and clock_max_frequency to watchdog api 2019-09-27 16:51:42 +02:00
Martin Kojtal ba7b4799f9
Merge pull request #11439 from hugueskamba/hk-remove-unreachable-statement-warnings
Remove unreachable statements warnings
2019-09-26 14:35:44 +02:00
Hugues Kamba 5724c4cf39 Remove unreachable statements warnings
The warnings are observed when building with the IAR toolchain.
2019-09-23 11:58:49 +01:00