Stefan Kerkmann
c9cbc6d03c
No DMA for UART4
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
9ffb8cf58c
Rename UARTx to start at 0
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
3edcc0f80b
Rename USARTx to start at 0
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
031cd8325f
Remove USART peripherals not present in this device
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
9ddf61ae87
Rename USART registers
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
22b8934b7f
Rename I2C2 -> I2C1
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
ff5541e6c7
Rename I2C1 -> I2C0
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
ef39596f92
Add i2c fast mode plus
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
1aa20a7fa6
Correct DMA channel macros to start from 0
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
7178909bb1
Remove STM32F1x specific checks
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
73949757f4
Add fast mode plus stub
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
0058d3df0b
Rename I2C registers, add fast mode plus register
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
5a3ca17dd3
Remove I2C3 peripheral, as it isn't present in this chip
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
6f1d0ca1b4
Rename missed register, fix rename bug, otg done
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
27551a2282
Rename OTG device registers
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
3839d682cf
Rename missing otg host registers
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
3ef423ca8f
Remove otg stepping, continue rename registers usbfs
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
05a0aab253
Remove OTG definitions, those are present in gd32_otg.h
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
9dace8a9ce
Rename otg -> usbfs
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
3a51ec0bf3
Rename OTG1 -> USBFS
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
b8976b4fb5
Remove USB HS peripheral, start rename registers
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
11e6646370
Remove SD card interface defines
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
29be2ac3c3
Rename AFIO register definitions
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
2da7835bde
Rename GPIO registers
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
6a3caa697a
GPIO Remove obsolete ports, rename registers
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
adb9afc02b
Rename DMA CNDTR CPAR CMAR registers
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
5cec991524
Rename DMA CCR -> CTL
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
51b420e395
DMA rename IFCR -> INTC
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
186264dece
Rename DMA ISR register to INTF
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
962770882f
Rename DMA interrupt flags
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
1d3f664311
Add renumbered dma channel definitions
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
92646d6824
Rename DMA2 -> DMA1 and channels to start at zero
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
161449d7c3
Rename DMA1 -> DMA0 and channels to start at zero
2021-04-06 13:38:22 +02:00
Stefan Kerkmann
f53e5a8b44
Remove DMA features not found on gd32vf103
2021-04-06 13:38:21 +02:00
Stefan Kerkmann
7d90a998bf
Sort and deduplicate trigger handlers
2021-04-06 13:38:21 +02:00
Stefan Kerkmann
352a6021f1
Rename stm32_ to gd32_ , remove obsolete tim headers
2021-04-06 13:38:21 +02:00
Stefan Kerkmann
73336cf3b6
Increase idle stacksize, add isr locking/unlocking
2021-04-06 13:38:21 +02:00
Stefan Kerkmann
a9a4e46916
Replace STM32_ with GD32_
2021-04-06 13:38:21 +02:00
Stefan Kerkmann
3467aa8ffe
Add STM32 HAL Drivers, already adjusted for eclic interrupts
2021-04-06 13:38:21 +02:00
Stefan Kerkmann
ecf1e48c89
Add platform makefile
2021-04-06 13:38:21 +02:00
Stefan Kerkmann
6b195cfc59
Add GD32 registry STM32 renames will follow
2021-04-06 13:38:21 +02:00
Stefan Kerkmann
479375a731
Add eclic system reset
2021-04-06 13:38:21 +02:00
Stefan Kerkmann
a44a68bf7d
Add eclic interrupt driver
2021-04-06 13:38:21 +02:00
Stefan Kerkmann
5abb73e524
Migrate port and startup code to nmsis
2021-04-06 13:38:21 +02:00
Stefan Kerkmann
bb7a299638
Add RISC-V ECLIC startup and port files
2021-04-06 13:38:21 +02:00
Stefan Kerkmann
b729125bdd
Add Nucleisys NMSIS sources
2021-04-06 13:38:21 +02:00
Michael Stapelberg
2eb784da6d
MIMXRT1062/LLD/USBHSv1: increase USB_DEVICE_CONFIG_ENDPOINTS
...
It should match USB_MAX_ENDPOINTS, but cannot be defined to be USB_MAX_ENDPOINTS
without modifying other NXP SDK files, which I would like to avoid for easier
maintenance.
Instead, we add a preprocessor check where we have both of them defined and
ensure that they match this way :)
2021-04-05 09:00:40 +02:00
Michael Stapelberg
a8a9e75aec
branch usb_device_config.h from new project wizard template
...
no changes yet
2021-04-05 08:51:39 +02:00
Michael Stapelberg
4df9abffc5
MIMXRT1062/LLD/PITv1: switch to internal SysTick clock (600 MHz ARM)
...
See the comment in the code for rationale.
2021-04-04 15:12:14 +02:00
Ein Terakawa
0b84e93734
Follow-up fix to alexclewontin's nuc123-kvs-example
2021-04-03 10:38:49 +09:00
a_p_u_r_o
9a861b0e8c
Merge branch 'chibios-20.3.x' into nuc123-kvs-example
2021-04-03 08:58:28 +09:00
a_p_u_r_o
720eabbf18
Merge branch 'chibios-20.3.x' into numicro-gross-fix
2021-04-01 10:18:01 +09:00
Michael Stapelberg
9f939cec5a
MIMXRT1062/LLD/USBHSv1: implement hal_usb_lld for MIMXRT1062
2021-03-31 14:04:12 +02:00
Michael Stapelberg
119de824fe
MIMXRT1062/LLD/GPIOv1: implement hal_pal_lld for MIMXRT1062
2021-03-31 13:59:00 +02:00
Michael Stapelberg
22b4ec3b6b
MIMXRT1062: hal: port Arduino Teensy 4 Core startup code and linker script
...
The one oddity of this platform is that it requires using XIP (eXecute In
Place), which for us largely means setting up a few special sections at special
flash locations.
References:
https://www.nxp.com/docs/en/application-note/AN12107.pdf
https://github.com/PaulStoffregen/cores/blob/master/teensy4/imxrt1062_t41.ld
https://www.pjrc.com/store/teensy40.html#memory_layout
2021-03-31 13:59:00 +02:00
Michael Stapelberg
334fe4f499
enable USB1 peripheral clock in MCUXpresso v11.3.0
2021-03-31 13:59:00 +02:00
Michael Stapelberg
5cb023f629
branch mcux-sdk/boards/evkmimxrt1060/clock_config.[ch] from 66fdc6ff
2021-03-31 13:59:00 +02:00
Michael Stapelberg
b8c2392b13
MIMXRT1062: kinetis_registry: adjust IRQ numbers for i.MX RT1062
2021-03-31 13:59:00 +02:00
Michael Stapelberg
b11181c154
MIMXRT1062/LLD/UARTv1: implement hal_serial_lld for MIMXRT1062
2021-03-31 13:59:00 +02:00
Michael Stapelberg
a96c5d87d8
cmparams: set correct ARM version and number of vectors
2021-03-27 16:03:55 +01:00
Michael Stapelberg
1788a7468c
MIMXRT1062/LLD/PITv1: hal_st: set up SysTick like the Arduino Teensy 4 Core does
2021-03-27 16:03:55 +01:00
Michael Stapelberg
f19da3e183
replace file names to use MIMXRT1062
2021-03-27 16:03:55 +01:00
Michael Stapelberg
480534795c
copy LLD from KINETIS HAL (no changes yet)
2021-03-27 16:03:55 +01:00
Michael Stapelberg
b4b3579c86
branch startup (no changes yet)
2021-03-27 16:03:55 +01:00
Michael Stapelberg
92b862cdd0
copy os/hal/ports/MIMXRT1062 from ../KINETIS/MK66F18 (no changes yet)
2021-03-27 16:03:55 +01:00
Michael Stapelberg
7bb5555a06
branch PJRC_TEENSY_4_1 board from _3_6 (no changes yet)
2021-03-27 16:03:55 +01:00
Ein Terakawa
a28dbca5eb
Allow small error with BAUDRATE for NUC123 SERIAL driver
2021-03-21 10:07:41 +09:00
Ein Terakawa
2ae07ab811
Add NUC123xxxAEx variant support for NUC123 SERIAL driver
2021-03-21 10:04:44 +09:00
Fabien Poussin
6683eaffb1
Update CRC for master branch
2021-03-20 23:20:15 +01:00
Ein Terakawa
78977a7c10
Fix the case when only UART1 is used
2021-03-06 15:53:20 +09:00
Ein Terakawa
e8fc38f289
Use NUC123_UARTx_NUMBER
2021-03-06 15:53:20 +09:00
Ein Terakawa
4e67004797
Fix UART0 ALT_MFP setup for PB2
2021-03-06 15:53:20 +09:00
Ein Terakawa
af65e7bb01
Map PAL_MODE_INPUT_PULLUP to GPIO_PMD_QUASI
2021-03-06 15:52:30 +09:00
Matthew Kennedy
609b49a312
configurable MSD options
2021-03-04 17:08:41 -08:00
Fabien Poussin
e7cdad3d1a
Merge pull request #263 from mck1117/fix-msd-lun
...
don't deref null pointer on MSD LUN request
2021-02-24 20:27:49 +01:00
Matthew Kennedy
1ebdcca467
don't deref nullptr
2021-02-23 23:29:45 -08:00
Alex Lewontin
e4ae11e8c6
NUC123: Dynamic CONFIG value read
2021-02-23 15:40:18 -05:00
Alex Lewontin
c328f805c2
NUC123: Added CONFIG enabling switch
2021-02-23 15:40:18 -05:00
Alex Lewontin
4cbc3250c0
NUC123: EFL driver
2021-02-14 14:34:24 -05:00
Alex Lewontin
09394a1b1a
NUC123: Added CONFIG0/1 settings, and updated linker script
2021-02-14 14:34:24 -05:00
Fabien Poussin
26f24c19b3
fix Segger Sysview bindings
2021-02-14 13:12:05 +01:00
Fabien Poussin
c0b5cfab75
Merge pull request #251 from sabdulqadir/feat/expanding_hal_nand_c
...
Expansion to nand flash driver
2021-02-14 12:18:20 +01:00
Ein Terakawa
a9e2c509b5
Switch to PAL_NEW_INIT
2021-02-14 12:19:11 +09:00
Ein Terakawa
82e1ef05a2
Remove MFP manipulation from hal_pal_lld.c
2021-02-14 12:19:11 +09:00
Ein Terakawa
b32be51f74
Use PLL by default
2021-02-14 12:19:11 +09:00
Ein Terakawa
986392d48c
Let SystemCoreClock use the calculated value
2021-02-14 12:19:11 +09:00
Ein Terakawa
e289cbe802
Use NUC123_HSECLK instead of __HXT
2021-02-14 12:19:11 +09:00
Fabien Poussin
ba33139c0c
USBH: add defaults, fix some defines
2021-02-13 20:40:13 +01:00
Fabien Poussin
bf2ada3b98
typo
2021-02-13 20:21:12 +01:00
Fabien Poussin
7fccec68d4
fixes for usb host
2021-02-13 20:16:40 +01:00
Fabien Poussin
fbd6f482af
Merge pull request #258 from mck1117/fix-msd-hook
...
fix MSD_REQ_GET_MAX_LUN
2021-02-13 20:03:58 +01:00
Fabien Poussin
f22dbe7b56
Merge pull request #256 from Association-Jeroboam/feature/added_STM32G4xx_platform
...
Add STM32G4xx platform
2021-02-13 20:02:41 +01:00
Fabien Poussin
12faf211a3
USB Host refactor
2021-02-13 20:00:07 +01:00
Matthew Kennedy
702f32276e
fix MSD_REQ_GET_MAX_LUN
2021-02-12 16:14:45 -08:00
Piers Titus van der Torren
b2e12d536a
USB_MSD: reimplement msd_request_hook to fix crashes
...
Requests were incorrectly handled, causing crashes on connecting to windows or macos.
2021-02-04 00:48:58 +01:00
Piers Titus van der Torren
4dd134436a
Fix typo
2021-02-04 00:43:47 +01:00
Apache
2100c088a8
Add STM32G4xx platform
2021-01-31 12:05:32 +01:00
Ein Terakawa
0f056b3557
parentheses around macro parameters
2021-01-20 22:15:03 +09:00
Ein Terakawa
a4d66a67fc
NUMICRO: add I2C driver
2021-01-09 22:04:44 +09:00
sabdulqadir
34bb526ea6
Expansion to nand flash driver
...
This expansion helps support higher density devices which have multiple
dies, logical units and planes on top of the standard block and page
structures of standard nand flash ICs.
- Included stm32f723xx targets
- Bug fix (STM32_NAND_USE_NAND1)
- changed map_cmd and map_addr to 8 bits in struct NANDDriver
- Bug fix (dmaStreamAlloc returns dma_stream_t)
- DSB assembly instruction added for fixing issues with M7 processor
- added nand_lld_read_id() function
2021-01-02 15:49:45 -06:00
Fabien Poussin
61baa6b036
Merge pull request #244 from alexclewontin/nuc123-usb-driver
...
[NUC123] USB driver bug fixes
2020-12-31 20:07:16 +01:00
Alex Lewontin
8c16b4ff9e
NUC123 USB driver potential stability fixes
2020-12-31 11:48:37 -05:00
Alex Lewontin
75cbc08156
NUC123 USB driver cleanup
2020-12-31 11:48:37 -05:00
Fabien Poussin
fa3e1cb3ae
Merge pull request #248 from Codetector1374/HT32-dev
...
[HAL/HT32]: Add support for HT32 series microcontroller
2020-12-31 10:30:40 +01:00
Reza Jelveh
74bcf3cf69
NUC123 add early_init to allow build of projects that need it to be defined
2020-12-31 15:51:19 +08:00
codetector
7230eb96cc
[HAL/HT32]: Initial HT32 Support with a USB-DFU Demo
2020-12-31 02:27:13 -05:00
Alex Lewontin
021c696cd2
NUC123 byte vs word memcopy bug fix
2020-12-30 18:56:47 -05:00
Alex Lewontin
cee0adf1f8
NUC123 USB DATA0/1 PID bug fix
2020-12-30 18:56:47 -05:00
Alex Lewontin
8854febc0b
NUC123 USB add wakeup callback when ISR detects resume signal
2020-12-30 18:56:47 -05:00
Alex Lewontin
891a0b3898
NUC123 USB temporarily disable EP3
2020-12-30 18:56:47 -05:00
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
adc44c4276
Use OEM CMSIS peripheral access headers
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
Fabien Poussin
78997b9243
Updated tinyusb os layer
2020-11-27 00:09:26 +01:00
codetector
20369a3011
[LPC11Uxx]: Initial Support: RT + HAL ClockInit
2020-11-26 16:04:08 -05:00
Fabien Poussin
97da49e759
Merge pull request #228 from ChibiOS/tinyusb
...
TinyUSB support
2020-11-25 10:36:03 +01:00
Fabien Poussin
e98c5dfed4
Add TinyUsb support and demo
2020-11-24 23:41:58 +01: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
Fabien Poussin
46359bceee
Merge pull request #223 from markuspetermann/chibios-20.3.x
...
Added comment that might help others to prevent cache coherence issues.
2020-11-21 13:36:06 +01:00
Fabien Poussin
44b9d63ab5
fix fatfs bindings
2020-11-21 13:33:13 +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
Michael Stapelberg
f43207c75f
MK66F18.h: fix typo: UARTTypeDef → UART_TypeDef
2020-06-02 21:07:38 +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
c65efdcfa1
Fixed unwanted rename
2019-10-31 14:45:33 +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
63bc192217
Merge pull request #204 from ChibiOS/comp-l0
...
Comp driver update for F0 and L0
2019-10-29 13:46:56 +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
Tim Rheinfels
d2fa4a4795
+ Added make targets for flashing and debugging via Black Magic and gdb
2019-10-27 08:01:56 +01:00
Diego Ismirlian
ea844db446
Merge branch 'master' into segger_systemview
2019-10-03 14:00:34 -03:00
Fabien Poussin
75027a6474
Merge pull request #199 from dismirlian/usbh
...
USBH: improvements
2019-10-03 11:06:06 +02:00
Diego Ismirlian
9aa1b6f992
RTT/SystemView bindings: avoid race condition on ISR exit
2019-10-02 18:37:02 -03: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
d77e8fbd52
Merge branch 'master' into segger_systemview
2019-10-02 15:31:37 -03:00
Diego Ismirlian
1ca49e0b90
Fault handlers: v7m: simplify
2019-10-02 15:18:08 -03:00
Diego Ismirlian
41f2f8462a
Add fault handlers to ease ARM-v7m (Cortex M3/M4(F)/M7 debugging
2019-10-02 15:14:28 -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
f1dce4dc14
Kinetis makefiles fixes
2019-10-02 10:47:02 +02:00
Fabien Poussin
a0bd333cd2
Jenkins to use 19.1.x
2019-10-02 10:47:02 +02:00
Fabien Poussin
8a0095ecd9
Updated testhal for 19.1.x
2019-10-02 10:47:02 +02:00
Fabien Poussin
f9f0c2d10c
Fixed DMA for 19.1.x
2019-10-01 19:50:42 +02:00
Diego Ismirlian
8fab074cde
Use I-class functions for registry
2019-09-30 16:39:41 -03:00
Diego Ismirlian
162a61257e
Merge branch 'master' into segger_systemview
2019-09-29 19:35:17 -03:00
Diego Ismirlian
eb10a7d52f
Update copyright
2019-09-29 19:31:05 -03:00
Diego Ismirlian
741626dc8f
Add SEGGER RTT and SystemView bindings for ChibiOS
2019-09-29 12:37:06 -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
a3e3114580
Fix F7 cache invalidation on write operation
2019-03-10 11:33:40 +00:00
José Simões
ab0b1c80d2
Add call to cache flush on disk write
...
- This is required for F7 targets (and others that feature memory cache).
- The call is provided empty for all the other series, so it's OK to use it as it is.
2019-03-07 16:30:13 +00: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
Fabien Poussin
49a3d9b0f7
Adding median library
2019-01-10 11:17:36 +01:00
Fabien Poussin
e19ff53f02
Merge pull request #178 from AndruPol/master
...
added NRF52 pwm, icu, i2c, radio esb drivers
2019-01-09 02:51:33 +01:00
Fabien Poussin
91e635b08a
Adding rudimentary OPAMP Driver
2019-01-08 20:02:45 +01:00
andru
2168085ac7
added NRF52 pwm, icu, i2c, radio esb drivers
2019-01-08 11:22:01 +03:00
Konstantin Oblaukhov
33375fb281
Fix USB HID driver.
2018-11-20 09:53:46 +07:00
Konstantin Oblaukhov
a6bb21d05b
KINETIS tests and demos updated to ChibiOS 18.2.x.
2018-11-20 09:53:38 +07:00
Konstantin Oblaukhov
d921781a45
KINETIS platform update for ChibiOS 18.2.x.
2018-11-20 09:53:30 +07:00
Konstantin Oblaukhov
d200007a29
Reorganize KINETIS driver files
2018-11-20 09:53:22 +07:00
Konstantin Oblaukhov
0e6f501f80
Update all NRF5x makefiles and chconf.h.
...
Add missing halconf_community.h
2018-11-20 09:52:42 +07:00
Konstantin Oblaukhov
f4d6d90989
NRF5x platform - new Makefiles.
2018-11-20 09:52:26 +07:00
Konstantin K. Oblaukhov
ca35947f81
Reorganize NRF5x driver files.
2018-11-20 09:52:01 +07:00
Fabien Poussin
1391af251d
Merge pull request #170 from kajusK/qei
...
Added setting qei to value for stm32
2018-11-01 14:37:02 +01:00
Dave Flogeras
28a4beafd1
Fix for rccEnableCRC macro parameter.
...
This was removed in commit
ae7a4d40b84d8afc999691577210696f16e682f6#diff-7ddaa5ecc31109f41b7801dea2660b47
But I think is still necessary as the underlying rccEnableAHB macros
take parameter 'lp'. It seems to work for the F0xx series, because its
rccEnableAHB ignores the 'lp'. It is required when I tried to use the
CRC driver on a family that does require the 'lp' parameter in the lower
level macros.
2018-11-01 09:34:19 -03:00
Jakub Kaderka
c4519da48a
Added setting qei to value for stm32
2018-10-16 20:25:29 +02:00
Austin Morton
40769f9bd3
avoid using list_for_each_entry_safe when closing endpoints to prevent potential infinite loop
...
list_for_each_entry_safe is only safe when the current entry is being removed.
If other entries in the list could potentially be removed it can result in an infinite loop.
Because usbh_lld_ep_close blocks on each urb during iteration, it may give up its lock on
the system and allow an interrupt to remove a different urb from the list,
resulting in an infinite loop when the thread resumes.
2018-10-01 17:57:11 -04:00
Austin Morton
ca79ff2e87
fix some compiler warnings around USBH_DEBUG_ENABLE conditions
2018-10-01 17:55:08 -04:00
Austin Morton
36ccd9f43a
implement _ptxfe_int to support ISO and INT out transfers
2018-10-01 17:53:07 -04:00
Konstantin Oblaukhov
2db0e3fd78
New style makefiles for demos and tests.
2018-09-24 20:31:28 +07:00
Konstantin Oblaukhov
7ab18994e7
Adopt sources to new HAL.
2018-09-24 20:29:02 +07:00
Konstantin Oblaukhov
ccfc910829
Update STM32 platform makefiles, add per-driver makefiles.
2018-09-24 20:25:22 +07:00
Konstantin Oblaukhov
2c72509900
Smart build for HAL.
2018-09-24 20:22:33 +07:00
Diego Ismirlian
2366ead14e
FATFS: update diskio to match FATFS version
2018-08-20 21:29:16 -03:00
Diego Ismirlian
dd1799beda
Merge branch 'master' of https://github.com/MegabytePhreak/ChibiOS-Contrib
2018-08-20 21:16:55 -03:00
Diego Ismirlian
0936be2541
Merge branch 'master' of https://github.com/ChibiOS/ChibiOS-Contrib
2018-08-20 20:50:22 -03:00
Paul Roukema
2a9d939d72
Fix incompatible USBH VMTs
2018-08-05 23:59:06 -04:00
Unknown
6ac9e40dfa
Fix STM32 LLD CRCv1 large data bug in DMA mode
...
* STM32 DMA can only handle 65535 bytes per transfer so larger data sets
have to split up to be correctly handled when using DMA
2018-07-12 15:01:44 +02:00
Vitaly Repetenko
5a19c14600
Issue #162 : QEI driver macros not defined error fixed
2018-06-19 23:43:34 +03:00
Michael Walker
8f974a83a5
Adding missing interrupt vector for SDHC on MK66F18 MCU
2018-05-08 07:39:53 -07:00
Fabien Poussin
6cc0927c06
Merge pull request #158 from walkerstop/mike
...
Kinetis MK66F18 and PJRC Teensy 3.6 support
2018-05-07 16:58:30 +02:00
Michael Walker
619d45c0ff
Fix MK66F18 compilation for the following HALs: Serial, I2C, EXT, ADC, GPT, PWM, SPI
2018-05-07 07:45:08 -07:00
Fabien Poussin
43fb76203d
Merge pull request #157 from walkerstop/master
...
Kinetis compilation errors with latest code from ChibiOS master branch
2018-05-05 19:24:18 +02:00
Fabien Poussin
dfd4708dbc
Merge pull request #156 from wiml/k64_support
...
Kinetis K64 and PJRC Teensy3.5 support
2018-05-05 19:23:19 +02:00
Michael Walker
f4b640014d
Correct register definitions for MK66F18 for LPTMR and FlexRAM
2018-05-03 15:17:52 -07:00
Michael Walker
8f7e1d18b9
Always use IRC48M clock for USB on MK66F18
2018-05-02 07:53:01 -07:00
Michael Walker
5bec0d7abc
Always use IRC48M clock for USB on MK66F18
2018-05-02 06:49:29 -07:00
Michael Walker
0f3af19758
Disable MPU by default
2018-05-02 05:15:22 -07:00
Michael Walker
72b22c7f67
Merge branch 'master' into mike
2018-05-02 03:48:09 -07:00
Michael Walker
1fefdf78fe
Remove duplicate code already in upstream master and add include dir
2018-05-02 03:47:26 -07:00
Michael Walker
cd7559268d
Merge branch 'master' into mike
2018-05-02 03:37:31 -07:00
Michael Walker
457afa6202
Remove duplication
2018-05-02 03:36:12 -07:00
Michael Walker
6d879f58f5
Merge remote-tracking branch 'upstream/master'
2018-05-02 03:33:23 -07:00
Michael Walker
4d7ccdd1fc
More corrections
2018-05-01 14:46:56 -07:00
Michael Walker
0fbddccd80
disable voltage inrush regulator
2018-05-01 03:26:28 -07:00
Michael Walker
46233064c5
iasdfa
2018-05-01 01:07:46 -07:00
Michael Walker
7506c2a2c1
support Teensy 3.6
2018-05-01 00:46:42 -07:00
Michael Walker
547c570af0
Update
2018-05-01 00:42:01 -07:00
Michael Walker
c7e0258666
Merge branch 'master' into mike
2018-05-01 00:37:57 -07:00
Michael Walker
4e9f077fb1
Enable Kinesis on newer ChibiOS
2018-05-01 00:26:06 -07:00
Michael Walker
b0a7581067
Attempt at Teensy 3.6 support
2018-04-30 16:34:26 -07:00
Fabien Poussin
71fe8e7ced
Renaming PID struct typedef to avoid conflicts
2018-03-25 04:21:11 +02:00
Fabien Poussin
9e5aba8bd9
Adding basic PID demo.
2018-03-22 18:16:20 +01:00
Fabien Poussin
12552897f3
Cleaning PID lib.
2018-03-22 16:58:48 +01:00
Fabien Poussin
d66ce4b75b
Adding PID library
2018-03-22 16:30:35 +01:00
Fabien Poussin
d4d384557d
Fixes for #138
2018-03-20 16:04:08 +01:00
marcoveeneman
708bb829ea
Fixed some more warnings
2018-03-16 22:16:57 +01:00
Fabien Poussin
3add406135
Merge branch 'master' into update_tests
2018-03-15 12:51:14 +01:00
Fabien Poussin
dabdfca04e
Merge pull request #148 from romainreignier/add_stm32L4
...
platform: add support for STM32L4 family
2018-03-15 12:07:33 +01:00
Fabien Poussin
f8fbfbd248
Merge pull request #149 from marcoveeneman/improve_tiva_makefiles
...
Improve tiva makefiles
2018-03-15 12:06:59 +01:00
Fabien Poussin
424c7a2717
Fixed most testhal examples for STM32, updated configs using script. Fixed deprecated MS2ST calls.
2018-03-14 20:15:13 +01:00
Romain Reignier
6513490986
platform: add support for STM32L4 family
2018-03-12 21:33:11 +01:00
Romain Reignier
345e218afd
lib_sci: FIX 'for' loop initial declarations are only allowed in C99 or C11 mode
2018-03-12 21:27:50 +01:00
Romain Reignier
6ca20973e2
boards: Update board BARTHESS to newer API
2018-03-12 21:20:46 +01:00
Romain Reignier
3a9593e6d8
fatfs: update to latest ChibiOS changes
2018-03-12 21:20:32 +01:00
Romain Reignier
e1e6f87481
hal_usbh: update to new Time macros
2018-03-12 21:20:32 +01:00
Romain Reignier
26a11251bf
hal_fsmc: update to new RCC API
2018-03-12 21:20:32 +01:00
Romain Reignier
918149d48d
hal: stm32: Keep track of latest STM32 RCC API
...
RCC API changed in 01/2018 so apply the changes.
Note that ae7a4d40b8
partially fixed the changes in QEI module but some were missing.
So update the other modules too.
2018-03-12 21:20:07 +01:00