Commit Graph

351 Commits

Author SHA1 Message Date
Stephane D'Alu 9c88423d66 move functions to hal_qei.*, fixed comments 2016-07-07 20:41:09 +02:00
Stephane D'Alu af18f7d43f conditionally add support for overflow variant 2016-06-29 21:59:39 +02:00
Stephane D'Alu 01874bedf4 changed counter type to int32_t 2016-06-29 21:33:29 +02:00
Stephane D'Alu e1e600b5ad conditionnaly compile accumulator overflow notification 2016-06-29 21:27:56 +02:00
Stephane D'Alu a8b2364267 cleanup 2016-06-29 21:11:38 +02:00
Stephane D'Alu b20bf874d0 created more _lld_ fonctions. 2016-06-29 20:14:40 +02:00
Stephane D'Alu 5fee893778 conditionally include support for LED 2016-06-29 12:26:22 +02:00
Stephane D'Alu dde47ff1ab renamed QDEC1 to QDEC0, misc... 2016-06-29 12:14:15 +02:00
Stephane D'Alu 7b8e263f8c info 2016-06-28 22:35:28 +02:00
Stephane D'Alu 7cb533cd20 cleanup 2016-06-28 22:31:24 +02:00
Stephane D'Alu 3cdd1360d4 QEI driver for NRF51 2016-06-28 21:53:12 +02:00
Jonathan Struebel 71dc079032 Added USB HID driver to community HAL 2016-06-18 20:02:22 -07:00
Fabio Utzig 5f073a82b0 Merge pull request #80 from sdalu/ain_pins
Added Analog input/ref pins
2016-06-06 20:00:18 -03:00
barthess 5d20ce4595 1-wire. Pointless uint8_t changed to more suitable size_t. 2016-05-31 00:17:18 +03:00
barthess b10e423406 1-wire improvements.
1) Functions reading bit from PAL now return ioline_t type.
2) Functions that handle acquired buffer with acquired bits
   now use uint8_t type because it corresponds to buffer type.
3) Cryptic bit shifting in bit storage functions replaced by
   dividion operations because all modern compilers perfectly
   optimise such operations.
2016-05-31 00:04:19 +03:00
Stephane D'Alu 56642a1750 Adding Analog input/ref pins 2016-05-29 23:23:05 +02:00
Fabio Utzig 394a779ade Merge pull request #76 from sdalu/priority
Enable priority validation, Fixed priorirty (nRF51 use a 2bit priority)
2016-05-29 14:18:10 -03:00
Fabio Utzig 3597ad7ed5 Merge pull request #77 from sdalu/pwm_ppi
allow use of GPIOTE/PPI in PWM to drive gpio pin
2016-05-29 14:17:02 -03:00
flabbergast 3cde591bd2 [KINETIS] Fixes for kernel-less builds. 2016-05-20 19:16:47 +01:00
Stephane D'Alu 91281015ab allow use of GPIOTE/PPI to drive gpio pin (without callback)
changed value of PAL_NOLINE to -1
2016-05-18 16:04:10 +02:00
Stephane D'Alu bc1d2835e8 Enable priority validation, Fixed priorirty (nRF51 use a 2bits priority) 2016-05-17 18:15:47 +02:00
Nicolas Reinecke c6f143e357 use config default as in chibios 2016-05-17 00:41:50 +02:00
Uladzimir Pylinski aefe1f951b Merge pull request #72 from pl4nkton/add_qei_driver
Add qei driver
2016-05-16 20:56:46 +03:00
Nicolas Reinecke 4a36fb944b qei driver: fix potential overflow in qeiUpdateI
when quiUpdate isn't called for while an cnt(uint16_t) is above 32767
delta(int16_t) can overflow.
2016-05-15 20:21:20 +02:00
Nicolas Reinecke ec6cada170 qei driver: fix wrong type in qeiUpdate 2016-05-15 20:21:20 +02:00
Nicolas Reinecke 040c8c9ad2 qei driver: change copyright 2016-05-15 20:21:20 +02:00
Stephane D'Alu 4b186ab80e Added Analogue Line A0..A5 2016-05-09 21:22:12 +02:00
Stephane D'Alu 0e3e2f02d7 added IO pins/lines definition (following STM32 model) 2016-05-09 15:32:35 +02:00
Stephane D'Alu 9308e90aff added PAL_LINE support
follow template order
2016-05-09 15:31:42 +02:00
awygle de959be01f Merge pull request #70 from awygle/msp430x
Added SPI driver and test code to MSP430X port
2016-05-08 22:10:29 -07:00
Andrew Wygle dfd93d512b Added SPI driver and test code to MSP430X port
A DMA-driven SPI driver and fairly comprehensive test code for SPI
on the MSP430X port. Required some cleanup to the DMA and Serial
drivers as well. Includes some reformatting to be more in line with
ChibiOS coding standards.
2016-05-08 17:59:09 -07:00
Fabio Utzig 83569a1248 Merge pull request #69 from sdalu/pwm
PWM support for nRF51
2016-05-08 21:15:36 -03:00
Nicolas Reinecke 6f67aa78c3 add STM32 qei (quadrature encoder interface) driver
Code from tinito in forum thread:
http://forum.chibios.org/phpbb/viewtopic.php?f=14&t=685

Updated to chibios trunk.
2016-05-08 18:27:11 +02:00
flabbergast 7d99206f05 [KINETIS] PAL driver: implement PAL_LINE. 2016-05-08 09:09:43 +01:00
Stephane D'Alu aad6da5b99 old C style 2016-05-05 21:38:44 +02:00
Stephane D'Alu 74f2322132 PWM driver 2016-05-05 20:41:51 +02:00
awygle cf02c79b5a Merge pull request #68 from awygle/msp430x
MSP430X DMA Support, EXP430FR6989 Demo + Makefile Updates
2016-05-04 23:47:33 -07:00
marcoveeneman fe1d3f2114 Merge pull request #55 from marcoveeneman/tiva-wdg-driver
Tiva WDG driver
2016-05-02 15:53:26 +02:00
Nicolas Reinecke f93efb407d f4 platform.mk: reoder hardware 2016-05-01 02:33:23 +02:00
Nicolas Reinecke 509816147d fix whitespace 2016-05-01 02:33:07 +02:00
Uladzimir Pylinski ecab016be9 Merge pull request #65 from pl4nkton/add_stm32f1xx_port
FSMC. Added stm32f1xx port.
2016-04-29 19:09:22 +03:00
Nicolas Reinecke 409a3f226d FSMC: fix build on stm32f1x and stm32f3
STM32F1,3 has no fsmc reset function so make it optional
2016-04-29 14:14:51 +02:00
marcoveeneman 99230d289c Tiva. Updated Tiva makefiles to be compatible with the main repository. 2016-04-28 23:10:46 +02:00
Stephane D'Alu 2789fb3cd8 sync with ChibiOS master for ASMXSRC 2016-04-28 23:00:24 +02:00
marcoveeneman d4cb8ca216 Mass license update. 2016-04-28 22:07:07 +02:00
Nicolas Reinecke 14dc50c95d add stm32f1xx port 2016-04-28 17:22:41 +02:00
Fabio Utzig 5c02f23706 Merge pull request #62 from flabbergast/i2c
[KINETIS] I2C update (timeouts, KL27Z)
2016-04-27 19:03:01 -03:00
flabbergast 9107b150b0 [KINETIS] Add I2C workaround for KL27Z. 2016-04-25 11:53:55 +01:00
flabbergast 2897589bf3 [KINETIS] Fix I2C clock divisor computation. 2016-04-25 11:53:55 +01:00
flabbergast 0a37322265 [KINETIS] I2C driver: implement timeout. 2016-04-25 11:53:55 +01:00