Commit Graph

470 Commits

Author SHA1 Message Date
marcoveeneman b6d9cd409f Updated ext_lld to use TivaWare. 2016-10-08 21:08:40 +02:00
marcoveeneman 51abe9fbeb Updated mac_lld to use TivaWare. 2016-10-08 20:46:03 +02:00
marcoveeneman ce1575d3ed Added hw_timer to cmparams.h for tm4c129x. 2016-10-08 20:21:53 +02:00
marcoveeneman 8f9b3b4302 Fixed wrong definitions in st_lld.h 2016-10-08 20:21:29 +02:00
marcoveeneman 9b670d684f Use new PART_<device> defines for tm4c129x registry and isr. 2016-10-08 20:20:21 +02:00
marcoveeneman 3e069788d9 Updated st_lld to use TivaWare.
Tickless mode is working again.
Fixed st_lld_get_counter reading the wrong register.
2016-10-08 19:51:16 +02:00
marcoveeneman f8d62560b7 Improve serial driver. 2016-10-08 18:05:57 +02:00
marcoveeneman eceaf26f21 st driver only works in periodic mode for now. 2016-10-08 17:57:37 +02:00
marcoveeneman faeb101f5e Commented some redefined Cortex-M register blocks in hw_memmap.h. 2016-10-08 17:44:38 +02:00
marcoveeneman 6675bf01e1 Updated serial driver to use new register access. 2016-08-30 18:43:47 +02:00
marcoveeneman d5476e6ce6 Updated pal driver to use new register access. 2016-08-30 18:43:19 +02:00
marcoveeneman 5a1331c09f Use new PART_<device> defines. 2016-08-30 18:41:10 +02:00
marcoveeneman 3d661a9185 Fixed typo in TM4C129x platform makefile. 2016-08-29 22:14:42 +02:00
Peter d3185fa5b3 set sampling channel PWM output to disabled so the pin can be used
otherwise
2016-08-28 18:09:28 +02:00
marcoveeneman 220619763e Updated hal_lld.c files to use the new TivaWare macros. 2016-08-24 20:43:29 +02:00
marcoveeneman 99a7c1518c Added TivaWare device type to board files and removed old defines. 2016-08-24 20:42:21 +02:00
marcoveeneman 41f8b0c0c6 Updated cmparams.h files to start using the TivaWare headers. 2016-08-24 20:41:18 +02:00
marcoveeneman 771c151111 Added TivaWare folder to startup makefile. 2016-08-24 20:39:47 +02:00
marcoveeneman db33bd5b64 Added TivaWare inc folder. 2016-08-24 20:32:47 +02:00
barthess cc82c5c5c0 Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib 2016-08-18 11:26:13 +03:00
barthess 80b50d3935 [STM32 NAND] Code cleanup. 2016-08-18 11:25:08 +03:00
awygle 66ee156aa4 Merge pull request #81 from awygle/adc
MSP430X ADC12 Support
2016-08-17 00:15:02 -05:00
barthess e1601e0a7d [STM32 NAND] Deleted ugly hack with EXTI interrupt instead of NAND one 2016-08-16 18:00:59 +03:00
barthess eff62993d3 [STM32 NAND] Deleted unused defines. 2016-08-16 16:20:47 +03:00
marcoveeneman 58569cc6f5 Removed leading and trailing underscores from include guards. 2016-08-11 20:32:30 +02:00
marcoveeneman b153796a5d Merge pull request #94 from marcoveeneman/tiva-improvements
Tiva smart build support
2016-08-11 09:24:52 +02:00
marcoveeneman 1853428c80 Implemented smart build for Tiva platform. 2016-08-09 20:42:31 +02:00
Fabio Utzig 569aa39fba Merge pull request #91 from sdalu/nrf52832
Nrf52832
2016-07-17 21:30:35 -03:00
flabbergast db3057e1fc [KINETIS] Add saved_state to USB driver. 2016-07-17 20:49:48 +01:00
barthess c7afdebe33 Added room for STM32F7x 2016-07-14 13:18:21 +03:00
Stephane D'Alu 194e5ec59c PSEL renamed in nrf52 2016-07-11 23:17:26 +02:00
Stephane D'Alu 8eabdabb05 moved i2c to LLD 2016-07-11 23:09:07 +02:00
Stephane D'Alu 5923ee5d50 moved spi to LLD 2016-07-11 22:42:52 +02:00
Stephane D'Alu 89b707fd7c changed asm to __asm. (is it right?) 2016-07-11 22:42:25 +02:00
Stephane D'Alu 539338100f deal with write buffer 2016-07-11 22:11:27 +02:00
Stephane D'Alu 52107b2ccb moved QEI to LLD 2016-07-10 21:46:46 +02:00
Stephane D'Alu e5430a6f71 todo 2016-07-10 19:30:42 +02:00
Stephane D'Alu 316118b648 removed prototype for undefined function nrf51_clock_init 2016-07-10 19:19:30 +02:00
Stephane D'Alu 321ec844af moved GPT to LLD 2016-07-10 19:15:46 +02:00
Stephane D'Alu 5d1b4d1d77 Use OUT instead of IN to when toggling pad 2016-07-10 19:13:29 +02:00
Stephane D'Alu 49afe683a0 assert that watchdog can't be restarted 2016-07-10 14:10:58 +02:00
Stephane D'Alu 9cf4f9dfc7 moved wdg to LLD 2016-07-10 13:35:31 +02:00
Stephane D'Alu 7e8e69551f moved wdg to LLD 2016-07-10 13:35:08 +02:00
Stephane D'Alu e5da7dbd39 use anonymous struct, fixed used og wrong vector interrupt 2016-07-10 13:31:49 +02:00
Stephane D'Alu 7150786277 fixed pause behaviour (paused if set to 0 not 1) 2016-07-10 12:50:42 +02:00
Stephane D'Alu 8feec2e235 removed useless field power_on_write 2016-07-10 12:08:54 +02:00
Stephane D'Alu 6423c3dabe moved rng to LLD directory.
removed rng power control (doesn't exist in nrf52, wasn't documented in nrf51)
renamed peripheral to start at 0
2016-07-10 12:04:39 +02:00
Stephane D'Alu 3db81f7f03 adding note on RTC0 and TIMER0 as systicks 2016-07-10 11:15:20 +02:00
Stephane D'Alu e0d39de32f Use RTC1 as default system ticks as PPI has pre-programmed channels for RTC0 2016-07-10 11:11:50 +02:00
Stephane D'Alu 5259158d17 renamed NRF51_* to NRF5_* 2016-07-10 10:48:04 +02:00
Stephane D'Alu ba393d3ae1 correct clock speed 2016-07-10 10:47:45 +02:00
Stephane D'Alu 1908537785 use constantes 2016-07-10 00:23:12 +02:00
Stephane D'Alu 7557cbac22 serie -> series 2016-07-10 00:10:48 +02:00
Stephane D'Alu 5805e10f74 NRF52832 implementation 2016-07-09 23:57:48 +02:00
Stephane D'Alu f78e2ae7d4 use IOPORT1 instead of NRF_GPIO 2016-07-08 21:12:12 +02:00
Stephane D'Alu ddebbfc5d2 NRF52 board 2016-07-08 19:46:51 +02:00
Stephane D'Alu c519f273db updated to SDK11 2016-07-08 13:54:37 +02:00
Stephane D'Alu 707b3a2f97 renamed port to NRF5 to make room for NRF52832 chip 2016-07-08 12:58:25 +02:00
Uladzimir Pylinski 0375554e95 Merge pull request #87 from sdalu/qei
qeiAdjustI
2016-07-08 00:26:19 +03:00
Stephane D'Alu 022cad0452 code cleanup, fixed testhal 2016-07-07 23:17:36 +02:00
Stephane D'Alu 60ce974437 Merge branch 'master' into qei 2016-07-07 21:31:22 +02:00
Stephane D'Alu f75abd1037 added qeiAdjustI. added new field and checking in STM32 2016-07-07 21:25:51 +02:00
Uladzimir Pylinski c7f7b70596 Merge pull request #85 from sdalu/qei
Merged QEI driver for NRF51
2016-07-07 21:58:53 +03:00
Stephane D'Alu 9c88423d66 move functions to hal_qei.*, fixed comments 2016-07-07 20:41:09 +02:00
marcoveeneman 81c70f5ce6 Organized Tiva LLD folder. 2016-07-06 20:12:03 +02:00
marcoveeneman 0131027151 Merge pull request #86 from marcoveeneman/master
Various Tiva fixes
2016-07-05 23:15:35 +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
Andrew Wygle d9ee72504f Adds ADC12 support to MSP430X port.
Adds support for the MSP430X's 12-bit ADC peripheral, as well as
reasonably complete testing of same.

Also includes fixes for several bugs and cleanup of the DMA peripheral,
which used ch calls rather than osal calls and was unclear about what
contexts its methods could be called from.
2016-06-05 13:51:11 -07:00
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
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
marcoveeneman 0e86736605 Tiva. Wait for peripheral ready after enabling its clock.
This was already done for some peripherals, but not for GPT, I2C, PWM and UART.
2016-05-12 23:45:41 +02:00
marcoveeneman 32e712aae1 Tiva. UART. Fixed enabling and disabling UART modules 1-7. 2016-05-11 20:40:28 +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