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
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
Fabio Utzig
5323be7640
Merge branch 'master' into fix-nrf51-port
2016-04-10 21:09:36 -03:00
flabbergast
6c565f5a2f
[KINETIS] Clean up ld rules.
2016-04-10 16:04:27 +02:00
Fred Sundvik
4ed26df31d
Add MK20DX256 ld script with 8 KB bootloader
2016-04-09 19:16:48 +03:00
Uladzimir Pylinski
2071319b33
Merge pull request #52 from awygle/msp430x
...
Initial MSP430X Port.
2016-04-09 15:58:32 +03:00
Jonathan Struebel
62ffe525e0
[KINETIS] Fix I2C TX to not wait for RX if requested rxbytes is 0
2016-04-08 19:24:47 -07:00
Andrew Wygle
fd20f0fa17
Initial MSP430X Port.
...
This port includes hal, pal, serial, and st drivers. It supports both
large and small model code and data for MSP430X-class CPUs. It has only
been tested on the EXP430FR5969 LaunchPad board.
2016-04-08 01:46:32 -07:00
barthess
9d74dd2661
STM32 mass update to current naming convention in ChibiOS
2016-04-07 16:39:12 +03:00
marcoveeneman
bae745fd33
Tiva. WDG. Added watchdog driver to tm4c129 platform.mk.
2016-04-06 21:33:16 +02:00
marcoveeneman
46d9d3c97d
Tiva. WDG. Added missing declarations for watchdog peripherals.
2016-04-06 21:32:13 +02:00
marcoveeneman
eb960077b8
Tiva. WDG. Added watchdog low level driver.
2016-04-06 21:20:35 +02:00
marcoveeneman
beff5671d4
Tiva. WDG. Added missing declarations for watchdog peripherals.
2016-04-06 21:19:37 +02:00
Fabio Utzig
b86af2c09f
Merge pull request #50 from utzig/fix-tiva-port
...
Fix tiva port
2016-04-05 19:12:27 -03:00
Fabio Utzig
99c3815a52
Fix testhal demos (except for RNG)
2016-04-04 23:37:20 -03:00
Fabio Utzig
653c72ccc3
Fix tiva demos
2016-04-04 21:35:11 -03:00
Fabio Utzig
031d81ae18
Move ports to startup
2016-04-04 20:24:16 -03:00
Fabio Utzig
3ba468b688
Fix paths in startup makefiles
2016-04-04 20:14:12 -03:00
Fabio Utzig
bbbb11c413
Add new expected parameters to linker scripts
2016-04-04 20:11:18 -03:00
Fabio Utzig
39b332e3dd
Fix header guard style
2016-04-04 19:50:15 -03:00
Fabio Utzig
1c1fd7d294
Fix hal files naming scheme
2016-04-04 19:44:42 -03:00
Fabio Utzig
4c5a09e727
Fix headers guards + style fixes
2016-04-04 19:36:24 -03:00
Fabio Utzig
dd9ca763bd
Move files to new naming std
2016-04-04 19:22:07 -03:00
Fabio Utzig
0bafaa0473
Fix style and warnings using timer0
2016-04-04 19:15:45 -03:00
flabbergast
496e7f5e89
[KINETIS] Rename header guards in HAL.
2016-04-04 09:26:36 +01:00
flabbergast
51703da9df
[KINETIS] Rename HAL LLD files.
2016-04-04 09:19:44 +01:00
Fabio Utzig
5d51514cf3
Move ports to startup
2016-04-03 23:04:42 -03:00
Fabio Utzig
f8355194c3
Update paths in makefile
2016-04-03 23:01:42 -03:00
Fabio Utzig
10ab6f1500
Update link script with new parameters
2016-04-03 22:59:38 -03:00
Fabio Utzig
73e00fb69c
Fix API usage in serial driver
2016-04-03 22:56:30 -03:00
Fabio Utzig
341cad14a9
[KINETIS] A lot of updates
2016-03-28 20:37:57 -03:00
Fabio Utzig
778340c653
Merge pull request #45 from utzig/kinetis
...
[KINETIS] Move from main repo to contrib
2016-03-28 20:21:08 -03:00
barthess
c0e6748a9f
1-wire. Fixed possible deadlock situation.
...
In old code thread could be suspended *after* the callback was called.
New code protected with more wide critical section.
2016-03-28 21:36:54 +03:00
barthess
53684030c9
QUEUES flags deleted from chconf.h files
2016-03-28 17:48:43 +03:00
flabbergast
d5a880807b
[KINETIS] HAL cleanup/update.
...
New entries in kinetis_registry.h to support new MCUs.
Moved registers to ext/CMSIS, like it is done for STM32.
Move the same drivers to LLD.
Add USB driver.
2016-03-22 17:51:46 +00:00
flabbergast
ca6f8bd296
[KINETIS] Move/add startup files.
...
Move ports -> startup.
Split k20x to k20x5 and k20x7.
Split off common part of ld scripts.
Add new ld scripts.
2016-03-22 16:24:28 +00:00
flabbergast
cd24aa965d
[KINETIS] Add CMSIS definitions.
2016-03-22 16:24:27 +00:00
flabbergast
7d8012e9ee
[KINETIS] Update boards.
...
Add FRDM-KL26Z, Teensy LC and 3.1. Update definitions for
FRDM-KL25Z, MCHCK, Teensy 3.0.
2016-03-22 16:24:19 +00:00
flabbergast
2443b6c6f4
[KINETIS] Fix board definitions (move to contrib).
2016-03-21 20:55:22 +00:00
flabbergast
9281b8f751
Merge remote-tracking branch 'utzig/kinetis' into kinetis
2016-03-21 19:18:01 +00:00
barthess
18b41efefa
NAND. Cosmetical improvement
2016-03-17 12:03:18 +03:00
barthess
04c11df0b2
Updated some testhal projects to new ChibiOS code
2016-03-15 10:19:56 +03:00
Fabio Utzig
0bbef8ed17
[KINETIS] Fix platform driver references to contrib
2016-03-08 07:09:40 -03:00
Fabio Utzig
b67ecdfeca
[KINETIS] Move from main repo to contrib
2016-03-07 12:33:00 -03:00
Fabio Utzig
37ac6a4611
Merge pull request #36 from sdalu/rng
...
Random Number Generator driver
2016-02-29 10:51:55 -03:00
Fabio Utzig
9edf14658d
Merge pull request #44 from sdalu/bswap
...
byte swap extended to 64 bits
2016-02-29 10:49:42 -03:00
Stephane D'Alu
7d048079c6
extend to 64 bits int
2016-02-28 23:27:54 +01:00
Stephane D'Alu
9ff3819e4b
hide shell errors
2016-02-21 17:10:09 +01:00
Stephane D'Alu
e9a1a01f90
Merge branch 'master' into rng
...
Added haltest
Conflicts:
os/hal/hal.mk
os/hal/include/hal_community.h
os/hal/src/hal_community.c
2016-02-21 17:03:19 +01:00
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
1548bca80f
Merge pull request #35 from sdalu/sensor_hdc1000
...
Sensor hdc1000, mcp9808, tsl2561, tsl2591
2016-02-15 19:29:07 -02:00