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
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
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
a_p_u_r_o
9a861b0e8c
Merge branch 'chibios-20.3.x' into nuc123-kvs-example
2021-04-03 08:58:28 +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
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
92b862cdd0
copy os/hal/ports/MIMXRT1062 from ../KINETIS/MK66F18 (no changes yet)
2021-03-27 16:03:55 +01:00
Fabien Poussin
6683eaffb1
Update CRC for master branch
2021-03-20 23:20:15 +01: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
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
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
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
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
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
de72aa04e1
Make Blinky work
2020-12-05 17:05:14 -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
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
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
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
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