Commit Graph

712 Commits

Author SHA1 Message Date
codetector 8702f416e0
[HAL/LPC]: USB: Fix short packet for normal EPs. 2020-12-29 14:34:52 -05:00
codetector d93ab59b74
[HAL:LPC11Uxx]: add error for unsupported ST configuration 2020-12-29 04:13:21 -05:00
Fabien Poussin 517350916f
USBH: STM32H7 macros fixes 2020-12-26 02:59:29 +01:00
Fabien Poussin ece84f54c9
USBH: adding stop function 2020-12-25 19:43:08 +01:00
Fabien Poussin 234caeeefa
USBH: fixes for STM32H7 RCC macros 2020-12-25 19:10:44 +01:00
Fabien Poussin 5a21c3fafb
USBH: adding ULPI support 2020-12-25 18:16:39 +01:00
Fabien Poussin 958059c864
USB host driver cleanup (OTG1/2 -> HS/FS) 2020-12-25 01:33:24 +01:00
codetector 9e44155cde
[HAL:LPC]: USB Bugfix 2020-12-17 19:36:42 -05:00
Codetector 638f45982d
[WIP] LPC USB Fix 2020-12-17 19:36:41 -05:00
Alex Lewontin ad580f5b2f
NUC123 USB driver: fix off-by-one error when copying unaligned memory to/from USB SRAM buffer 2020-12-15 21:58:33 -05:00
Fabien Poussin 7cdb0bc997
Merge pull request #241 from fishman/NUC123-change-USBEndpointConfig
NUC123 change USBEndpointConfig
2020-12-15 18:12:54 +01:00
Fabien Poussin fe9ac17b74
Merge pull request #239 from alexclewontin/nuc123-serial-driver
[NUC123] Serial driver
2020-12-15 18:09:28 +01:00
Reza Jelveh bcadecfc7e NUC123 change USBEndpointConfig
USBEndpointConfig should have the same list of arguments as every other USB driver to allow downstream apps to use the same initializer
2020-12-15 15:15:39 +08:00
Alex Lewontin 3ce5c400df
NUC123 USB Driver rewrite & testhal 2020-12-14 17:35:46 -05:00
Alex Lewontin de793d3b63
NUC123 SERIAL driver 2020-12-14 17:33:41 -05:00
Alex Lewontin 6faa8b96a9
Style clean up 2020-12-12 18:18:59 -05:00
Alex Lewontin 0b4b1d7542
NUC123SD4AN0 -> NUC123 conversion 2020-12-12 18:18:57 -05:00
Alex Lewontin c1a3e2e93d
NUC123 PWM module 2020-12-10 21:51:09 -05:00
Alex Lewontin 5f800992c3
NUC123SD4AN0 smart build fixes 2020-12-10 21:51:09 -05:00
Alex Lewontin 8065b7ac97
NUTINY-SDK-NUC123-V2.0 board tweaks 2020-12-10 21:50:45 -05:00
Alex Lewontin de72aa04e1
Make Blinky work 2020-12-05 17:05:14 -05:00
Alex Lewontin dede39e77b
Support for the NUTINY-SDK-NUC123-V2.0 development board, and a simple Blinky test case 2020-12-05 17:05:11 -05:00
codetector c5bd388844
Merge remote-tracking branch 'origin/lpc11uxx' into lpc11uxx-v20.x 2020-12-05 10:17:49 -05:00
codetector 674cf13603
SPI Driver + modified vector file 2020-12-05 10:14:03 -05:00
codetector 9f194d72dc
USB Works 2020-12-05 10:14:03 -05:00
codetector 4e5d4015b8
[LPC11Uxx]: Initial support for GPIO (PAL) 2020-12-05 10:14:03 -05:00
codetector 4b53c6a0f5
[LPC11Uxx] Properly setup SYSOSC on request 2020-12-05 10:14:03 -05:00
codetector 325bd43323
[LPC11Uxx]: Initial Support: RT + HAL ClockInit 2020-12-05 10:14:02 -05:00
Fabien Poussin 24abaa04da
Update hal_usbh_lld.c 2020-12-05 11:12:33 +01:00
codetector dae27fbf5f
UART + Serial Driver 2020-12-03 22:31:21 -05:00
codetector feb46948da
SPI Driver + modified vector file 2020-11-30 13:13:07 -05:00
codetector f065a3bb2e
USB Works 2020-11-29 15:20:58 -05:00
codetector 2e9d04fb80
[LPC11Uxx]: Initial support for GPIO (PAL) 2020-11-26 23:31:17 -05:00
codetector a7ddf463e3
[LPC11Uxx] Properly setup SYSOSC on request 2020-11-26 23:30:45 -05:00
codetector 20369a3011
[LPC11Uxx]: Initial Support: RT + HAL ClockInit 2020-11-26 16:04:08 -05:00
Fabien Poussin eaeffbae9c
Adding rcc macros support for STM32H7 USB driver 2020-11-22 16:22:19 +01:00
Fabien Poussin efdb0ce711
Merge pull request #226 from fishman/nuc123sd4an0
Nuvoton NUC123SD4AN0 MCU port
2020-11-21 18:26:33 +01:00
Reza Jelveh 469b5a35c2 Nuvoton NUC123SD4AN0 build fix 2020-11-08 20:38:01 +08:00
GitWellBack 08e48cd50b Update to integrate OSS re-engineer of NUMICRO MCU 2020-11-04 12:05:16 +08:00
GitWellBack beaf559be9 Nuvoton NUC123SD4AN0 MCU port, ready for Ducky One 2 Mini keyboard integration 2020-11-04 12:05:16 +08:00
Markus Petermann dc15c67362 Added comment that might help others to prevent cache coherence issues. 2020-09-21 22:17:24 +02:00
Fabien Poussin 2da018e0e7
Merge pull request #220 from twadleigh/twadleigh/pal-with-events
Added sync & callback interface to KINETIS/GPIOv1.
2020-08-18 20:13:21 +02:00
Michael Stapelberg f339189b11 hal_lld: make HSRUN mode work for e.g. 180 MHz Teensy 3.6 2020-06-03 22:02:34 +02:00
Michael Stapelberg 571691aeab fix a couple of forgotten SET calls 2020-06-03 22:02:29 +02:00
Michael Stapelberg 4ee0b8fa26 port demo to Teensy 3.6
Getting the mcuconf and Makefile changes right is non-trivial for a beginner, so
this will be helpful for others who want to get started with ChibiOS on a Teensy 3.6.
2020-06-03 19:50:00 +02:00
Tracy Wadleigh 317f69356c More compilation guards. 2020-05-26 08:12:21 -07:00
Tracy Wadleigh e8cc54e995 Extra compilation guards. 2020-05-26 08:06:03 -07:00
Tracy Wadleigh 47b1725a7d Modified the ISR. 2020-05-26 07:28:06 -07:00
Tracy Wadleigh a263688c5e Added sync & callback interface to KINETIS/GPIOv1. 2020-05-25 21:19:24 -07:00
Tracy Wadleigh 40ae478eff Add missing definitions for pin 0. 2020-05-17 15:31:23 -07:00
Tracy Wadleigh c995b9c141
fix address assignment 2020-05-17 15:16:38 -07:00
Tracy Wadleigh 17f45e24a3
Fix up SD1 initialization for KL2x
In the case of KINETIS_SERIAL0_IS_UARTLP:
* the argument to `sd_lld_init_driver` needs to be explicitly coerced to a pointer of type `UART_TypeDef`;
* the initialization of `c4_p` needs to be patched, as its position is different in the underlying `UARTLP_TypeDef`.
2020-05-04 10:10:24 -07:00
Piers Titus van der Torren cc31a08011 STM32H7 support (just copied from STM32F7, drivers not tested yet) 2020-04-09 09:49:05 +02:00
Fabien Poussin f6f1185a10 Various fixes to make it pass tests 2020-04-08 19:55:22 +02:00
Fabien Poussin 579e6f56b2
Merge pull request #212 from ObKo/master
Driver for new ADC peripheral (called SAADC) in NRF52 devices.
2020-01-12 12:36:37 +01:00
Konstantin Oblaukhov 7fa948e7c6 Driver for new ADC (SAADC) in NRF52 devices. 2020-01-12 13:34:28 +07:00
Konstantin Oblaukhov a6a380af6a Fix odd build error caused by header include order. 2020-01-12 13:33:24 +07:00
Fabien Poussin f010ff0eca Fixed delay in sdram driver (#210) 2020-01-09 11:21:36 +01:00
Konstantin Oblaukhov 4ae5c7a14f Merge branch 'master' of https://github.com/ObKo/ChibiOS-Contrib 2020-01-05 12:15:55 +07:00
Konstantin Oblaukhov f53e426780 Update NRF52832 device headers to latest version from NRF5 SDK. 2020-01-05 12:11:10 +07:00
Fabien Poussin d1aad88536
Merge pull request #205 from ChibiOS/fsmc
FSMC drivers update
2019-11-04 10:49:50 +01:00
Tim Rheinfels 0f1acdca33 + Added board files and example for STM32F411-Discovery board 2019-11-03 10:17:02 +01:00
Fabien Poussin f6b1a12ecf Fixed DMA2D example 2019-10-30 13:19:08 +01:00
Fabien Poussin b15b68c1c4 Fixed default hal defines 2019-10-30 13:12:29 +01:00
Fabien Poussin 05913b8055 Cleaning FSMC code 2019-10-30 13:03:32 +01:00
Fabien Poussin 915b474b02 Re-organised FSMC drivers 2019-10-30 12:52:31 +01:00
Fabien Poussin 13ebce61e2 Moved SDRAM defines out of example 2019-10-30 10:53:30 +01:00
Fabien Poussin 90f32c3546 Updating FSMC driver (SRAM part) 2019-10-29 20:16:08 +01:00
Fabien Poussin 97b7064031 Updating FSMC driver (SDRAM part first) 2019-10-29 19:38:09 +01:00
Fabien Poussin 9b38f5482d Updated COMP7 IRQ handler 2019-10-29 13:45:58 +01:00
Fabien Poussin fd301039f9 Added STM32F0 support for comp driver 2019-10-29 13:32:33 +01:00
Fabien Poussin 03043aa8fa Updated Comp driver for STM32L0 2019-10-29 13:02:35 +01:00
Diego Ismirlian 77021bb646 USBH: add helper macros to MSD, FTDI, AOA 2019-10-02 17:03:43 -03:00
Diego Ismirlian 938daa12d6 USBH: MSD: revert report OK on CSW status failure 2019-10-02 16:57:31 -03:00
Diego Ismirlian 7c57d8a924 USBH: UVC: improve debug message 2019-10-02 16:57:31 -03:00
Diego Ismirlian 7a57cfe93d USBH: Fix compilation with HAL_USBH_USE_HUB = false 2019-10-02 16:57:31 -03:00
Diego Ismirlian 392d6af300 USBH: rework debug framework 2019-10-02 16:57:30 -03:00
Diego Ismirlian fa3880546c USBH: check remaining bytes before dereferencing buffer
To avoid accessing unimplemented memory. We rely on the lazy evaluation
of the C language.
2019-10-02 16:57:30 -03:00
Diego Ismirlian 6f817a0298 Merge branch 'master' of https://github.com/ChibiOS/ChibiOS-Contrib 2019-10-02 11:38:05 -03:00
Fabien Poussin 8282de4134 NRF SPI driver fix 2019-10-02 15:57:56 +02:00
Fabien Poussin de7bb19599 NRF51 ADC fix 2019-10-02 15:19:07 +02:00
Fabien Poussin bc65ee4513 Kinetis SPI driver 2019-10-02 13:54:24 +02:00
Fabien Poussin 2e17d54017 Kinetis ADC 2019-10-02 13:09:49 +02:00
Fabien Poussin f9f0c2d10c Fixed DMA for 19.1.x 2019-10-01 19:50:42 +02:00
Diego Ismirlian eb10a7d52f Update copyright 2019-09-29 19:31:05 -03:00
Diego Ismirlian 8db69eb38c Merge branch 'master' of https://github.com/ChibiOS/ChibiOS-Contrib 2019-09-29 10:25:16 -03:00
Fabien Poussin 6736a9099b Fixes for STM32L4, Comp and eeprom. 2019-09-18 11:49:12 +02:00
Fabien Poussin a8bd0ca9da Fixed COMP1 peripheral name 2019-09-17 14:57:16 +02:00
Fabien Poussin 9483bacf88 Adding devices for STM32L4 2019-09-17 13:51:40 +02:00
Diego Ismirlian 7b2c61a676 Merge branch 'master' of https://github.com/ChibiOS/ChibiOS-Contrib 2019-08-24 17:45:41 -03:00
Fabien Poussin e346e77933
Merge pull request #194 from markuspetermann/patch-1
Added hal lld's to platform.mk of STM32F7xx
2019-08-07 12:54:43 +02:00
markuspetermann 5ea770676f
Added hal lld's to platform.mk of STM32F7xx 2019-08-07 00:36:02 +02:00
Fabio D'Urso 9b5eba54fb NRF: Make the SPI driver compile on NRF52 too 2019-08-06 00:48:31 +02:00
Fabio D'Urso b5332141f0 NRF5: Added support for internal I2C pull-ups 2019-07-22 12:35:38 +02:00
Konstantin K. Oblaukhov 6fab9821eb Merge ICU (in GPIOTE mode) and PAL interrupts. 2019-04-09 16:25:54 +07:00
Konstantin K. Oblaukhov 6dc1071c9f EXT test rewritten.
Add default value for NRF5_PAL_PAD_TO_EVENT macro.
2019-04-09 15:16:36 +07:00
Konstantin Oblaukhov a9b84aa036 NRF5: Add support for PAL events, EXT driver removed. 2019-04-09 12:33:36 +07:00
José Simões f014b8da68 Fixes for USB MSD
- Fix return value on succesfull scsi_requestsense.
- Fix calls to LL SMT32 API for OTG2.
- Port changes from ChibiOS fatfs_diskio.
- Rework checks to allow simultaneous use of SD Card and USB MSD.

Signed-off-by: José Simões <jose.simoes@eclo.solutions>
2019-02-27 15:00:50 +00:00
Fabien Poussin 6076bdf27d Updating OpAmp code with calibration functions, cleaning. 2019-01-31 17:52:13 +01:00
Fabien Poussin bdcee91586 Missing op amp file for non smart build 2019-01-25 13:29:47 +01:00