Commit Graph

181 Commits

Author SHA1 Message Date
Uladzimir Pylinski b634bd9bee Merge pull request #43 from fpoussin/timcap-pull
TIMCAP Driver

Merged pull request #43 from fpoussin/timcap-pull. Original driver: https://github.com/dsigma/ChibiOS/tree/master/demos/ARMCM4-STM32F407-WAVESHARE-OPEN-407I-C-TIM_CAP/timcap
2016-02-18 20:51:06 +03:00
Uladzimir Pylinski d56a6f0242 Merge pull request #42 from fpoussin/eeprom-pull
EEPROM Driver (pull request #42 from fpoussin/eeprom-pull)

The original driver was from barthess, modified by timonwong, fixed/cleaned it for 3.x/16.x+
Url: https://github.com/timonwong/ChibiOS-EEPROM
Testhal included, tested on real hardware as well for the SPI part.
2016-02-17 22:45:56 +03:00
Uladzimir Pylinski 31066ddfbf Merge pull request #40 from fpoussin/usb-host-pull
USB-Host Driver

Merged pull request #40 from fpoussin/usb-host-pull
2016-02-17 21:18:15 +03:00
Stephane D'Alu d95b09804c Ensure ram is on 2016-02-16 18:33:49 +01:00
Fabien Poussin 499335cd61 TIMCAP: Initial commit 2016-02-16 00:51:22 +01:00
Fabien Poussin 9028916e8b EEPROM: Initial commit 2016-02-16 00:22:40 +01:00
Fabien Poussin 771feb098d USB-Host: Initial commit 2016-02-15 23:34:25 +01:00
Fabio Utzig fac5a0d26c Merge pull request #33 from sdalu/rtc
RTC for System Ticks
2016-02-15 18:12:37 -02:00
Fabio Utzig 97bf343a8b Merge pull request #32 from sdalu/flash
Ease dev with flash/debug target helper
2016-02-14 20:59:54 -02:00
Stephane D'Alu 5ef170def2 Now ST can also use RTC1. Added NRF51_ST_PRIORITY for interrupts.
Default values are changed if SOFTDEVICE_PRESENT is defined
2016-02-14 17:53:22 +01:00
Stephane D'Alu a1c71cd5a0 st handle compile-tie error checking instead of gpt, as gpt is included first 2016-02-14 16:09:37 +01:00
Stephane D'Alu b7e24328d5 fixed typos 2016-02-09 17:40:44 +01:00
Stephane D'Alu 879e031a23 add driver to plateform.mk 2016-02-06 22:56:30 +01:00
Stephane D'Alu c4d7b8d178 added LFCLK and HFCLK frequencies 2016-02-06 22:52:33 +01:00
Stephane D'Alu a36b59eacd s/template/NRF51822/g 2016-02-06 20:14:32 +01:00
Stephane D'Alu ed2a1f3e5c changed author 2016-02-06 20:13:08 +01:00
Stephane D'Alu 9740836e61 Added watchdog WDT 2016-02-06 20:11:26 +01:00
Stephane D'Alu ed35ba3818 exclude TIMER0 from GPT if already used for system ticks 2016-02-06 15:16:48 +01:00
Stephane D'Alu bc3392813c protect ChibiOS specific sanity check 2016-02-06 13:32:45 +01:00
Stephane D'Alu 3679d70539 fixed compile time error detection for deltatime 2016-02-06 02:44:52 +01:00
Stephane D'Alu f35c8058ef deal with 16bits systime_t 2016-02-06 02:41:50 +01:00
Stephane D'Alu 90800edb90 fixed tickless for RTC, removed it for TIMER 2016-02-06 02:15:26 +01:00
Stephane D'Alu 3c6756556d try to implement tick-less mode 2016-02-06 02:02:09 +01:00
Stephane D'Alu 8fe62a0f90 use mcuconf.h with NRF51_SYSTEM_TICKS to select the timer source (TIMER or RTC) 2016-02-05 23:54:23 +01:00
Stephane D'Alu 80af295f27 start by a stop 2016-02-05 19:03:47 +01:00
Stephane D'Alu ff98f192c2 nrf51 has a cristal 2016-02-05 19:00:57 +01:00
Stephane D'Alu a3a0be11dc moved from HFCLK TIMER to RTC LFCLK 2016-02-05 18:58:31 +01:00
Stephane D'Alu d3658d49aa ease dev with flash/debug target 2016-02-05 15:25:58 +01:00
Fabio Utzig 5af8452153 Merge pull request #31 from sdalu/mk
Smart build enable
2016-02-03 19:25:20 -02:00
Stephane D'Alu f78e539f5e smart build enable 2016-02-03 21:48:43 +01:00
Stephane D'Alu 5740779b7b updated comments 2016-02-02 22:03:37 +01:00
Stephane D'Alu 3c7efdb21f cleaned up PINs configuration and selection 2016-02-02 21:58:31 +01:00
Stephane D'Alu 137836fb19 hardware flow control from nRF51 2016-02-02 13:34:47 +01:00
Stephane D'Alu a8592bb3b1 removed commented lines 2016-02-02 10:15:28 +01:00
Stephane D'Alu cdf17bd8b9 NRF51 DK board 2016-02-02 00:52:03 +01:00
barthess 2bc5a485a9 Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib 2016-01-24 20:42:00 +03:00
barthess 956134d0ba 1-wire driver improvements. 2016-01-24 20:41:06 +03:00
barthess c757be0c16 Fixed typo 2015-10-14 17:52:47 +03:00
barthess a2f9bc469a FSMC code cleanup 2015-10-14 17:46:40 +03:00
Stephen Caudle cd2787ea88 Add GPT driver for nRF51 2015-09-27 09:28:27 -04:00
Stephen Caudle 9ad49f5077 Add missing braces and fix copyright 2015-09-14 11:08:53 -04:00
Stephen Caudle 2e554f3ef5 Add ADC driver for nRF51 2015-08-31 23:16:51 -04:00
Fabio Utzig 40014ce2c5 Merge I2C driver 2015-08-30 19:08:17 -03:00
barthess 74065b233a Fixed rest of paths in build scripts. 2015-08-24 16:26:22 +03:00
Uladzimir Pylinski 1baa777a7e Merge pull request #23 from fpoussin/master
Makefile paths rework
2015-08-24 15:19:16 +03:00
Stephen Caudle 69d3493ce6 Add I2C support for nRF51 2015-08-20 22:45:21 -04:00
Fabio Utzig e3d9163628 Merge pull request #16 from doceme/nrf51-cleanup-serial
Cleanup nRF51 serial driver
2015-08-20 17:20:24 -03:00
Fabien Poussin 48a03708ff Changed the way files are included to a more convenient way. 2015-08-20 17:47:21 +02:00
Michael Spradling fb8c390f06 Update code from code feedback 2015-08-16 23:51:41 -04:00
Michael Spradling 316c3b4825 Add CRC Driver
This patch includes a high level and two low level drivers.

The high level driver is enabled with flag HAL_USE_CRC

The low level drivers include:
    * Hardware CRC for the STM32 cortex processor lines.(when supported)
        * Enabled with flag STM32_CRC_USE_CRC1
        * DMA is enabled with CRC_USE_DMA
          * SYNC api will use DMA, but put calling thread to sleep
          * ASYNC api enabled.
        * DMA Disabled
          * SYNC api spin while calculating CRC
          * ASYNC api disabled
    * Software CRC (3 modes)
        * CRCSW_CRC32_TABLE - Enables crc32 with lookup table.
        * CRCSW_CRC16_TABLE - Enables crc16 with lookup tables.
        * CRCSW_PROGRAMMBLE - Enables any crc done with computation.
          * Can calculate any crc configuration.
        * CRC_USE_DMA obviously not support with software CRC
2015-08-16 01:26:07 -04:00