Commit Graph

554 Commits

Author SHA1 Message Date
Diego Ismirlian 835bb887c0 Add AOA (Android Accessory) class driver 2017-06-05 10:38:05 -03:00
Diego Ismirlian a77ab485fb Remove redundant hal_stm32_otg.h file
The correct version is already present in ChibiOS
2017-06-05 10:27:20 -03:00
Diego Ismirlian cc347f02ba Fix possible race condition in FTDI driver stop 2017-06-05 10:26:17 -03:00
Diego Ismirlian 5ecaf7722b USB Host fixes
- Cleaned up alignment macros for GCC & IAR
- Corrected EP halt and Clear halt behaviours
- Initialization of class drivers by USB Host main driver
- Minor cosmetic fixes
- Updated USB_HOST testhal app
2017-06-05 10:18:45 -03:00
Andres Vahter c5be9cd85b Add checks to QEI if STM32 TIM is already used 2017-06-05 09:25:37 +03:00
marcoveeneman 2841fd88cd Updated license headers 2017-04-20 19:47:50 +02:00
marcoveeneman cfbd190b1e Fixed Tiva low level driver @file documentation. 2017-04-18 23:17:00 +02:00
marcoveeneman 3e3db4cf24 Improved documentation of the Tiva serial driver. 2017-04-18 23:06:30 +02:00
marcoveeneman e712f914ba Implemented advanced buffering support for the Tiva serial driver. 2017-04-18 22:55:01 +02:00
marcoveeneman 01423b08c2 Changed the flag set when a serial buffer is full. 2017-04-18 22:41:25 +02:00
marcoveeneman 9617145f21 Added driver.mk file for each low level peripheral driver. 2017-04-18 22:20:21 +02:00
Fabien Poussin 4c203dba2d Fixed MSP430 build with latest msp-gcc (6.2) 2017-04-14 16:46:28 +02:00
Romain Reignier 15517ffbd0 [DMA2D, LTDC] Removing ch.h dependencies. Fix #111. 2017-02-28 22:59:28 +01:00
Fabien Poussin 4ffde4b17e [Comp] Adding interrupt functions, updating example. 2017-02-09 12:30:21 +01:00
Fabien Poussin fd89254b0d [Comp] Adding support for STM32F0. 2017-02-07 16:08:08 +01:00
Fabien Poussin 8b7e318d78 [Comp] Adding more defines 2017-02-07 15:46:43 +01:00
Fabien Poussin 1d10f06ab4 [Comp] Adding init, helper defines. 2017-02-07 15:37:20 +01:00
Fabien Poussin f4687bd298 [Comp] Cleaning example, removing dependencies and adding checks. 2017-02-07 15:20:28 +01:00
Fabien Poussin 7059c87ab4 [COMP] Fixing headers, missing includes. 2017-02-07 10:58:11 +01:00
Fabien Poussin 86428716d5 Adding COMP Driver. 2017-02-06 20:09:28 +01:00
Fabien Poussin 11e949d81b [Timcap/Eeprom] Removing ch.h dependencies. 2017-02-06 13:32:36 +01:00
barthess c09968f967 [STM32, NAND] Fixed #elif without expression 2017-01-24 12:15:04 +03:00
Uladzimir Pylinski 8338d28cc0 Merge pull request #110 from ObKo/usb_hid-improve
usb_hid: cosmetic improvements in report descriptor defines.
2017-01-22 23:39:38 +03:00
barthess 88c55f1aaa FSMC NAND improvements.
1) Implemented 16 bit bus width support
2) Added workaround errata in STM32
2017-01-17 21:10:54 +03:00
Konstantin Oblaukhov c8a9cbd995 usb_hid: HID_REPORT_ID macro. 2017-01-17 16:39:08 +07:00
Konstantin Oblaukhov 9370dc02c7 usb_hid: cosmetic improvements in report descriptor defines. 2017-01-17 11:37:32 +07:00
barthess 3e8fdd762a Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib 2017-01-06 11:06:52 +03:00
barthess 779ea88be7 NAND. Added reset function. 2017-01-06 11:06:40 +03:00
barthess 71a77db50f Fixed typo in ramdisk. 2017-01-06 11:05:08 +03:00
Fabien Poussin 0135ff7dd3 Merge pull request #107 from pl4nkton/stm32_fixes
Stm32 fixes
2017-01-04 10:47:39 +01:00
barthess 52f82fb9cc USB MSD. Cosmetical improvements. 2017-01-04 10:17:04 +03:00
barthess 9b1c3b0122 USB_MSD. Added compile time check about sychronous API. 2017-01-03 10:26:44 +03:00
Fabio Utzig 453a05641e Merge pull request #108 from funnydog/hal-fixes
hal: fix the compilation of hal_usb_hid.c
2016-12-17 10:48:41 -02:00
funnydog 328f64069d hal: fix the compilation of hal_usb_hid.c
Fix the compilation of hal_usb_hid.c that broke because of the changes
in ibqObjectInit() and obqObjectInit() prototypes.

In hidObjectInit() call these functions with the additional suspend
parameter set to true as done in ChibiOS-RT.
2016-12-13 12:35:58 +01:00
barthess 2b9cfccc76 Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib 2016-12-09 18:04:38 +03:00
barthess 53d3fd07f3 FSMC. Sync mode improvements.
1) Control registers writes reordered in init sequence to eliminate
incorrect output clock frequnency in short period after CCLKEN bit
set and B(W)TR registers set.
2) Added reset of CCLEN bit in stop procedure.
2016-12-09 18:00:28 +03:00
Nicolas Reinecke 546ac1d584 STM32: fix USB HOST HS when cpu is in sleep mode 2016-12-05 11:47:32 +01:00
Peter c7d33767e0 change qei types to int16_t 2016-12-05 11:37:44 +01:00
Nicolas Reinecke 580af16b82 usbh: add otg stepping 2 code 2016-12-05 11:37:44 +01:00
Nicolas Reinecke de0c3e70c6 usbh: cleanup 2016-12-05 11:37:44 +01:00
Fabio Utzig bc6033e829 Merge pull request #104 from sdalu/pwmfix
Use active wait and perform extra toggle if needed.
2016-11-24 20:23:05 -02:00
Stephane D'Alu d2b5649b0f fixed bad commit 2016-11-24 21:50:14 +01:00
Stephane D'Alu f2ff03a634 Merge branch 'pwmfix' of https://github.com/sdalu/ChibiOS-Contrib into pwmfix
Conflicts:
	os/hal/ports/NRF5/NRF51822/hal_pwm_lld.c
2016-11-24 21:48:41 +01:00
Stephane D'Alu 13bb299950 fixed style 2016-11-24 21:47:31 +01:00
Stéphane D'Alu 0c9313ee3d Wrong roundup for prescaler 7 2016-11-24 12:07:58 +01:00
Stephane D'Alu 5c85f5a7ce reducing to one magical value, putting reference to nrf51-pwm-library 2016-11-24 12:00:11 +01:00
Fabio Utzig 32f8544bc8 Merge pull request #105 from sdalu/microbit_pad
corrected pad naming
2016-11-22 07:34:50 -02:00
marcoveeneman 7f7fe88e14 Merge pull request #100 from marcoveeneman/tiva-improvements
Tiva improvements
2016-11-21 22:26:49 +01:00
Stephane D'Alu 05b7f823e7 corrected pad naming 2016-11-20 16:05:35 +01:00
Stephane D'Alu 7ea44ed39c Use active wait and perform extra toggle if needed. (same as the nrf_pwm) 2016-11-20 13:25:25 +01:00
Fabio Utzig 319c9f9ee2 Merge pull request #102 from sdalu/microbit
BBC micro:bit board
2016-11-16 14:41:04 -02:00
Stephane D'Alu 92eafe4186 BBC micro:bit board 2016-11-16 15:17:35 +01:00
marcoveeneman 3ad1b1b07c Deleted custom Tiva CMSIS headers. 2016-11-11 23:01:39 +01:00
marcoveeneman ed9c079d62 Fixed the MAC driver.
While moving the MAC driver to TivaWare the addresses used in the HWREG macros were incorrect. The base address was missing.
2016-11-11 23:01:07 +01:00
Nicolas Reinecke ff515eec71 make stm32 usb host testhal compile 2016-11-08 23:17:48 +01:00
Nicolas Reinecke 00f18c55cc whitespace 2016-11-08 21:07:23 +01:00
Nicolas Reinecke a6158cef3c add STM32F7 FMC write FIFO disable bit 2016-11-08 21:07:23 +01:00
Nicolas Reinecke 48b3e076d8 usbh: fix compile warning 2016-11-08 21:07:23 +01:00
Uladzimir Pylinski 8f00b3af4d Merge pull request #98 from kimmoli/CRC
STM32 CRC : Fix asserts
2016-11-08 19:49:14 +03:00
Philippe LUC fdc5689c80 1-Wire. Just typo fix 2016-11-05 23:25:38 +01:00
Kimmo Lindholm 37700daf23 STM32 CRC : Fix asserts 2016-11-05 20:45:10 +02:00
marcoveeneman 79fc9cfe5d Added checks and defines for device revisions.
This can be used for errata workarounds in the drivers.
2016-10-30 14:38:02 +01:00
marcoveeneman b783488ec6 Added check for a valid device in the TM4C129x series. 2016-10-30 14:37:02 +01:00
marcoveeneman d10aa9e7a1 Defined lines in board files. 2016-10-30 14:33:58 +01:00
marcoveeneman 548c3592db Fixed errors introduced by line feature. 2016-10-30 14:13:31 +01:00
marcoveeneman 568ed8d0ee Some improvements. 2016-10-30 12:27:54 +01:00
marcoveeneman 25d71d9982 Added line support in Tiva pal driver. 2016-10-30 12:16:21 +01:00
marcoveeneman a45d952fad Merge pull request #96 from marcoveeneman/tiva-use-tivaware
Tiva port use TivaWare
2016-10-30 09:35:00 +01:00
barthess 9abfd6d27a Added debug printf macros 2016-10-28 14:25:56 +03:00
barthess 92c3714706 USB_MSD. Added READ_FORMAT_CAPACITIES handler 2016-10-28 14:25:08 +03:00
marcoveeneman 24de854c90 Replaced custom register bitfield macros by TivaWare bitfield macros. 2016-10-28 00:03:49 +02:00
marcoveeneman 0e86715267 Replaced custom register bitfield macros by TivaWare bitfield macros. 2016-10-27 23:44:14 +02:00
marcoveeneman cf6cf08b9a Removed unused device specific header files. 2016-10-27 23:12:07 +02:00
marcoveeneman 223f465890 Replaced custom register bitfield macros by TivaWare bitfield macros. 2016-10-27 22:55:17 +02:00
marcoveeneman 94fe96d3ae Updated pwm_lld to use TivaWare. 2016-10-26 21:09:34 +02:00
barthess 555f301da2 1-Wire. Duplicated code from testhal apllications moved to separate directory. 2016-10-18 12:02:55 +03:00
barthess bd47894d62 USB_MSD. Comment clean up. 2016-10-18 10:37:55 +03:00
Uladzimir Pylinski aeb83bf0db Merge pull request #95 from tixiv/onewire-fix
Set sampling channel PWM output to disabled so the IO pin is free.
2016-10-18 10:35:29 +03:00
barthess 709addd02d Updated include guards 2016-10-17 17:23:16 +03:00
barthess ae0a3ca9de USB_MSD. Initial commit. 2016-10-17 15:53:08 +03:00
marcoveeneman 8881004050 Updated spi and udma lld to use TivaWare. 2016-10-11 21:21:30 +02:00
marcoveeneman 2c2c3c567c Updated wdg_lld to use TivaWare. 2016-10-08 22:14:45 +02:00
marcoveeneman 9fd36443b4 Updated i2c_lld to use TivaWare. 2016-10-08 22:03:56 +02:00
marcoveeneman f66996bd7d Updated gpt_lld to use TivaWare. 2016-10-08 21:30:40 +02:00
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