Commit Graph

247 Commits

Author SHA1 Message Date
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
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 2ce45a1692 Memtest. Cosmetical improvements 2015-12-21 14:19:24 +03:00
barthess 756788580e Memtest. Cosmetical cleanup. 2015-10-15 10:51:44 +03:00
barthess bf7d3ef855 Memtest. Added uint64_t test. 2015-10-15 10:51:11 +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
Fabio Utzig 9345056eac Merge pull request #26 from doceme/nrf51-gpt
Add GPT driver for nRF51
2015-10-06 20:33:46 -03:00
barthess d43271e5bc Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib 2015-09-28 17:36:39 +03:00
barthess d5e967add4 Memtest. Changed way to specify memtest data width 2015-09-28 17:36:25 +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
Stephen Caudle e2da880b5f Cleanup nRF51 serial driver
Use values from bitfields header. Also convert notify1 function to be
non-blocking, which seems to be how most of the other serial drivers are
implemented.
2015-08-10 22:44:44 -04:00
Stephen Caudle 2ca7c90917 Add EXT driver for nRF51 2015-08-09 17:18:46 -04:00
Fabio Utzig f98110c6f4 Merge pull request #19 from doceme/nrf51-spi
Add SPI support for nRF51
2015-08-06 10:47:23 -03:00
barthess e7a3df6c18 Improved FSMC.
SRAM configuration is much more flexible now.
2015-08-04 13:30:01 +03:00
barthess 8c8c0a0be4 Memtest improvements 2015-08-04 00:35:44 +03:00
Uladzimir Pylinski cabe3aafad Merge pull request #20 from RoccoMarco/master
minor fixes on max7219.h
2015-08-02 23:37:31 +03:00
Rocco Marco Guglielmi 1ed38d4fec minor fixes on max7219.h 2015-08-02 18:45:27 +02:00
marcoveeneman 94096f9972 Merge branch 'tiva_i2c_fix' 2015-07-29 16:54:22 +02:00
Stephen Caudle 6202fcbb8b Add SPI support for nRF51 2015-07-27 22:42:45 -04:00
Fabio Utzig eab925c492 Merge pull request #18 from doceme/nrf51-board
Update nRF51 Waveshare board file
2015-07-27 19:43:10 -03:00
Stephen Caudle 3c49bf228b Update nRF51 Waveshare board file 2015-07-26 23:08:44 -04:00
Stephen Caudle 91d82fc631 nRF51: Remove unnecessary direction setting 2015-07-26 22:54:46 -04:00
Stephen Caudle f91f5a5c57 Cleanup nRF51 PAL driver 2015-07-25 22:16:19 -04:00
Stephen Caudle e82536b815 Add nRF51 bitfield header file 2015-07-23 23:41:06 -04:00
TexZK 5270aa500f Added descriptions and code simplified 2015-07-08 21:57:53 +02:00
TexZK 3f88eaa27a Added shell commands to control triple buffer demo 2015-07-07 23:53:21 +02:00
TexZK 3ac6c61184 TriBuf demos updated and working 2015-07-06 21:05:20 +02:00
TexZK 1283a5068d Added TriBuf files and demo [WIP] 2015-07-04 17:29:41 +02:00
Uladzimir Pylinski f16e69497b Merge pull request #10 from TexZK/ltdc_dma2d
Removed dependency on ST library for SDRAM
2015-06-29 00:19:37 +03:00
Andrea Zoppi 58f5fd1d72 Removed dependency on ST library for SDRAM 2015-06-28 22:53:44 +02:00
barthess d66299ff75 Minor improvements in DMA2D demo 2015-06-28 23:25:36 +03:00
Uladzimir Pylinski 984997f8fa Merge pull request #9 from TexZK/ltdc_dma2d
LTDC and DMA2D ported to ChibiOS/RT 3
2015-06-28 22:36:07 +03:00
barthess b7ca6b32d0 Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib 2015-06-28 17:18:53 +03:00
barthess 1181dc9c2e Memtest code moved to 'various' directory 2015-06-28 17:18:39 +03:00
Andrea Zoppi b872d9409c Minor changes 2015-06-27 18:34:33 +02:00
Andrea Zoppi 0229440fba ILI9341 driver moved to devices_lib 2015-06-27 18:34:23 +02:00
Andrea Zoppi ee1353a305 Old definitions removed 2015-06-27 18:32:58 +02:00
TexZK 542d79ef90 LTDC and DMA2D ported to ChibiOS/RT 3
+ LTDC and DMA2D peripheral drivers
+ LTDC and DMA2D demo project
2015-06-24 21:24:45 +02:00
Aberto Panu 973a02c80a Added STM32F103xC memory setup 2015-06-12 09:52:47 +02:00
Aberto Panu f611284793 Added STM32F103x8 memory setup 2015-06-12 09:51:38 +02:00
barthess fce100680e Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib 2015-06-02 19:55:16 +03:00
barthess 06640e31ce EICU. Fixed incorrect frequency calculation.
Timers 9, 10, 11 connected to APB2 but constant in driver
initialization code was taken for APB1.
2015-06-02 15:53:58 +03:00
barthess 82973c099e Fixed copypaste error in comment 2015-06-02 11:15:04 +03:00
Fabio Utzig 2ba20d691d Remove ChibiOS mentions from copyright 2015-05-15 21:25:46 -03:00
Fabio Utzig 343042d9d2 Add tx/rx pin configuration to SerialConfig 2015-05-15 21:08:53 -03:00
Fabio Utzig 69d70de9b7 Add PAL configuration 2015-05-15 21:04:52 -03:00
Fabio Utzig 57f582abae Add some GPIO pin definitions 2015-05-15 20:45:02 -03:00
Fabio Utzig 621e7198d7 Remove GPIO pin initialization 2015-05-15 20:44:37 -03:00
Fabio Utzig 4ac0b638b9 Add basic PAL driver 2015-05-15 20:44:03 -03:00
Fabio Utzig aa43fd6554 Use sleep/wakeup for serial driver top-half 2015-05-14 23:07:10 -03:00
Fabio Utzig 776fc29107 Fix some issues with serial driver 2015-05-14 22:12:57 -03:00
Fabio Utzig c37554ca20 Add initial serial driver 2015-05-13 22:19:05 -03:00
Fabio Utzig 825c8ea30b Add TIMER0 based ticker for OS 2015-05-13 20:30:12 -03:00
Fabio Utzig f0bcca7b46 Don't hang boot 2015-05-13 20:29:45 -03:00
Fabio Utzig d594ac327c Fix port params 2015-05-13 20:29:02 -03:00
Fabio Utzig c1427ae07d Add basic board support 2015-05-12 22:08:57 -03:00
Fabio Utzig 18c1b38d55 Rename linker script 2015-05-12 22:07:41 -03:00
Fabio Utzig 5afd99de17 Add basic HAL/ST drivers 2015-05-12 22:06:39 -03:00
Fabio Utzig 9b1feee2e7 Remove PAL, add ST 2015-05-12 22:05:23 -03:00
Fabio Utzig a0110bc179 Merge master 2015-05-10 17:51:59 -03:00
barthess e4c2e8adf8 Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib 2015-05-08 00:04:15 +03:00
barthess f5b812a2e7 NAND. Minor improvements 2015-05-08 00:04:09 +03:00
barthess 67ccbf4da0 Updated board.h file 2015-05-07 18:44:26 +03:00
barthess dd7d31d083 Fixed copyright notes 2015-05-02 23:00:00 +03:00
barthess c44092eb0f NAND code changed to use bitmap class 2015-05-02 20:51:04 +03:00
barthess 789b4e18b1 Added bitmap class in os/various 2015-05-02 20:49:54 +03:00
Fabio Utzig 37f70691a9 Add linker script 2015-04-29 20:33:13 -03:00
Fabio Utzig 203bb92de1 Add statup makefile 2015-04-29 20:08:16 -03:00
Fabio Utzig 2e9ed23874 Add initial cmparams 2015-04-29 19:48:40 -03:00
Fabio Utzig e07ebbcac3 Add initial system header + makefile 2015-04-29 19:48:06 -03:00
marcoveeneman ca60a9cba2 Tiva. I2C. Fixed bug where number of bytes read is 2 more then requested. This only occurs when the number of bytes to read is 3 or more. 2015-04-24 22:00:47 +02:00
Uladzimir Pylinski 9f7ac7abf9 Merge pull request #6 from RoccoMarco/master
Reorganized devices_lib folder
2015-04-17 09:29:14 +03:00
Rocco Marco a67bba56af Reorganized devices_lib folder
Removed some others pre-processor directives
2015-04-17 00:44:32 +02:00
marcoveeneman 86db94625f Merge branch 'tiva_hal_fixes' into tiva_startup_files 2015-04-16 22:17:06 +02:00
marcoveeneman e5f1b8b034 Tiva. ST. Moved ST interrupt priority check from hal_lld to st_lld. 2015-04-16 22:15:15 +02:00
marcoveeneman 5130840d32 Tiva. MAC. Added check for valid interrupt priority. 2015-04-16 22:03:13 +02:00
marcoveeneman cd95bc80f0 Tiva. EXT. Added checks for valid interrupt priorities. 2015-04-16 21:56:32 +02:00
marcoveeneman 7b7c6fd198 Tiva. Replaced all references to CORTEX_IS_VALID_KERNEL_PRIORITY with OSAL_IRQ_IS_VALID_PRIORITY. 2015-04-16 21:46:53 +02:00
marcoveeneman 9d14e38afe Tiva. Added new startup files. 2015-04-15 23:16:23 +02:00
marcoveeneman 491f5ff675 Tiva. Fixed Tiva CORTEX_MODEL definitions in cmparams.h. 2015-04-15 23:05:43 +02:00