Commit Graph

338 Commits

Author SHA1 Message Date
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
Stephane D'Alu 7b5ddf1928 included copyright 2016-02-15 21:42:16 +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 260a9edc32 correctly pack structure, remove unused fields 2016-02-10 00:56:51 +01:00
Stephane D'Alu e34ef249e7 fixed tsl2561, added tsl2591 2016-02-09 23:52:11 +01:00
Stephane D'Alu 526d92aa62 Merge branch 'master' into sensor_hdc1000 2016-02-09 21:08:18 +01:00
Stephane D'Alu 709c28c929 Merge branch 'master' into rng
Conflicts:
	os/hal/ports/NRF51/NRF51822/platform.mk
2016-02-09 19:12:08 +01:00
Stephane D'Alu 9a6ca01c85 cleanup, added comments 2016-02-09 18:54:05 +01:00
Stephane D'Alu 23a4b895ce updated license 2016-02-09 18:31:31 +01:00
Stephane D'Alu b7e24328d5 fixed typos 2016-02-09 17:40:44 +01:00
Stephane D'Alu d27b447106 cleanup 2016-02-09 00:55:35 +01:00
Stephane D'Alu d9a3d8493c Random Number Generator driver 2016-02-08 23:45:59 +01:00
Stephane D'Alu 08fa41749e changed file layout, move startup/bootup time to #define 2016-02-08 12:13:15 +01:00
Stephane D'Alu d124d1144f added TSL2561 Light sesnor 2016-02-08 09:37:26 +01:00
Stephane D'Alu de87b64728 small fix 2016-02-07 19:26:02 +01:00
Stephane D'Alu bd884d4757 cleanup 2016-02-07 18:55:45 +01:00
Stephane D'Alu 7ecdfd4386 mcp9808 temperature sensor 2016-02-07 18:54:54 +01:00
Stephane D'Alu 12992db45c fixed comments, set default i2c address 2016-02-07 17:05:10 +01:00
Stephane D'Alu ee5bea89c2 hdc1008 sensor 2016-02-07 16:48:22 +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
sdalu 4bf25efd24 Added missing HEAP_RAM definition
linker was generating a warning, and tests were failing on "Heap, allocation and fragmentation test"
2016-02-02 00:42:30 +01:00