Commit Graph

338 Commits

Author SHA1 Message Date
Andrew Wygle 456702ee87 Cleaned up MSP430X port to match recent changes to ChibiOS mainline.
Also fixed a couple of bugs identified as part of the refresh.
2016-06-05 13:51:10 -07: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
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
flabbergast fa9644e655 [KINETIS] Slightly rewrite and comment i2c driver. 2016-04-25 11:53:48 +01:00
Fabio Utzig a59c04c5cf Merge pull request #60 from flabbergast/kinetis-mk
Update kinetis makefiles (license, asm, m0->m0plus, shell.mk).
2016-04-24 18:10:31 -03:00
flabbergast 7485ece089 [KINETIS] Consolidate KL2x I2C CMSIS defs. 2016-04-24 18:36:00 +01:00
flabbergast cee50b34e2 [KINETIS] Add FRDM-KL26Z/I2C demo. 2016-04-24 18:36:00 +01:00
flabbergast a5cd9d134b [KINETIS] Rename I2Cx.S1 to I2Cx.S for KL26Z.
For some strange reason Freescale refers to this I2C register as 'S1'
on KL26Z and as 'S' on all other Kinetises (K20x, KL2xZ).
To avoid horrible #ifs in the driver, use 'S' also on KL26Z.
2016-04-24 18:36:00 +01:00
bunnie 469e05d445 [KINETIS] fix ADC LLD bug, grpp access after clear 2016-04-24 18:12:19 +01:00
flabbergast 39e3a31d94 [KINETIS] Mass update Makefile (license & asm changes). 2016-04-24 17:12:49 +01:00
barthess c35568fafc Updated Makefiles for STM32 according to
http://forum.chibios.org/phpbb/viewtopic.php?f=3&t=3301&sid=32a42f3ad6ca146ea07566e52f127d83
2016-04-23 20:27:12 +03:00
Fabio Utzig e0ada4f782 Merge pull request #59 from flabbergast/oshchip
Add OSHchip board (NRF51 based)
2016-04-19 06:47:39 -03:00
Stephane D'Alu 64a501f95f define CTS/RTS for BLE400 board 2016-04-16 22:04:26 +02:00
flabbergast 7a34c5ffc3 [NRF51] Add OSHChip_V1.0 board files. 2016-04-14 23:14:48 +01:00
Fabio Utzig 8edccaaa96 Merge pull request #56 from flabbergast/flabbergast
[KINETIS] Clean up ld rules.
2016-04-13 10:43:50 -03:00
Fabio Utzig b72393fff0 Merge branch 'master' into fix-nrf51-port 2016-04-10 21:10:47 -03:00