nuttx/arch/arm/src/samd2l2
Xiang Xiao 6a3c2aded6 Fix wait loop and void cast (#24)
* Simplify EINTR/ECANCEL error handling

1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx

* Unify the void cast usage

1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
..
hardware Fix typos, 1 in a #define, others in comments. This changes one definition: _MQ_TIMEDRECIEVE is changed to _MQ_TIMEDRECEIVE. It appears this symbol is not used anywhere. 2019-09-11 08:56:56 -06:00
chip.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
Kconfig Change space to tab and help to ---help--- in Kconfig files. 2019-10-05 21:39:12 -06:00
Make.defs arch/arm/src/samd2l2 and boards/arm/samd2l2/arduino-m0: Add support to SAMD2L ADC driver and board support to Arduino M0. 2019-12-15 17:36:59 -06:00
sam_ac.c Squashed commit of the following: 2019-02-27 08:41:08 -06:00
sam_ac.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_adc.c arch/arm/include/samd2l2/sam_adc.h: I was wrong... this header file does belong in the samd2l2 include directory. It contains IOCTL definitions that are needed by applications. Usage of a chip-specific header file is, however, not really a good portable design because it requires that the application know that it is running on a specific chip. But still, if we are going to do that, the include directory is where the header file belongs. My apologies for the bad judgement. 2019-12-16 03:53:05 -06:00
sam_adc.h arch/arm/src/samd2l2 and boards/arm/samd2l2/arduino-m0: Add support to SAMD2L ADC driver and board support to Arduino M0. 2019-12-15 17:36:59 -06:00
sam_clockconfig.h Rename all usage of samdl/SAMDL to samd2l2/SAMD2L2 to make room in the name space for the forthcoming samd5e5/SAMD5E5 2018-07-22 15:54:12 -06:00
sam_config.h arch/arm/src/samd2l2: Add RS485 support to SAMD2L2 serial 2019-01-20 12:43:42 -06:00
sam_dac.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_dmac.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sam_dmac.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_eic.c Squashed commit of the following: 2019-02-27 08:41:08 -06:00
sam_eic.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_evsys.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_fuses.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_gclk.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_i2c_master.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sam_i2c_master.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_i2c_slave.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_idle.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sam_irq.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sam_irq.h arch/arm/src/s32k1xx: Bring in Cortex-M0+ Systick and interrupt handling from samd2l2; bring in Cortex-M4F Systick and interrupt handling from LPC54xx. 2019-08-13 19:10:38 -06:00
sam_irqprio.c Rename all usage of samdl/SAMDL to samd2l2/SAMD2L2 to make room in the name space for the forthcoming samd5e5/SAMD5E5 2018-07-22 15:54:12 -06:00
sam_lowputc.c arch/arm/src/samd2l2 serial: Fix SAMD2L2 serial driver it needs sam_usart_enable() to work 2019-01-26 12:51:51 -06:00
sam_lowputc.h arch/arm/src/samd2l2 serial: Fix SAMD2L2 serial driver it needs sam_usart_enable() to work 2019-01-26 12:51:51 -06:00
sam_periphclks.h Rename all usage of samdl/SAMDL to samd2l2/SAMD2L2 to make room in the name space for the forthcoming samd5e5/SAMD5E5 2018-07-22 15:54:12 -06:00
sam_pinmap.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_pm.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_port.c Rename all usage of samdl/SAMDL to samd2l2/SAMD2L2 to make room in the name space for the forthcoming samd5e5/SAMD5E5 2018-07-22 15:54:12 -06:00
sam_port.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_sercom.c Rename all usage of samdl/SAMDL to samd2l2/SAMD2L2 to make room in the name space for the forthcoming samd5e5/SAMD5E5 2018-07-22 15:54:12 -06:00
sam_sercom.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_serial.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sam_serial.h Rename all usage of samdl/SAMDL to samd2l2/SAMD2L2 to make room in the name space for the forthcoming samd5e5/SAMD5E5 2018-07-22 15:54:12 -06:00
sam_spi.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sam_spi.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_start.c Squashed commit of the following: 2019-02-04 16:20:35 -06:00
sam_start.h Rename all usage of samdl/SAMDL to samd2l2/SAMD2L2 to make room in the name space for the forthcoming samd5e5/SAMD5E5 2018-07-22 15:54:12 -06:00
sam_timerisr.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sam_usart.c arch/arm/src/samd2l2: Fix a couple of logic error/typos found in reviewing code for port to SAMD51. 2018-07-25 13:41:09 -06:00
sam_usart.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_usb.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sam_usb.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
sam_userspace.c Rename all usage of samdl/SAMDL to samd2l2/SAMD2L2 to make room in the name space for the forthcoming samd5e5/SAMD5E5 2018-07-22 15:54:12 -06:00
sam_userspace.h Rename all usage of samdl/SAMDL to samd2l2/SAMD2L2 to make room in the name space for the forthcoming samd5e5/SAMD5E5 2018-07-22 15:54:12 -06:00
samd_clockconfig.c Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
samd_gclk.c Rename all usage of samdl/SAMDL to samd2l2/SAMD2L2 to make room in the name space for the forthcoming samd5e5/SAMD5E5 2018-07-22 15:54:12 -06:00
samd_periphclks.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
saml_clockconfig.c Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00
saml_gclk.c Rename all usage of samdl/SAMDL to samd2l2/SAMD2L2 to make room in the name space for the forthcoming samd5e5/SAMD5E5 2018-07-22 15:54:12 -06:00
saml_periphclks.h Rename arch/arm/src/samd2l2/chip to arch/arm/src/samd2l2/hardware. 2019-05-25 08:06:46 -06:00