Commit Graph

1379 Commits

Author SHA1 Message Date
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
Fabien Poussin cec80982e4
Merge pull request #271 from stapelberg/st
MIMXRT1062/LLD/PITv1: switch to internal SysTick clock (600 MHz ARM)
2021-04-05 01:39:28 +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 a9297a6b34
Merge pull request #262 from alexclewontin/nuc123-kvs-example
[NUC123] EFL subsystem driver, and updated flash control
2021-04-03 10:03:23 +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
Fabien Poussin b377424677
Merge pull request #246 from stapelberg/teensy41
Teensy 4.x support
2021-03-31 23:43:20 +02:00
Michael Stapelberg 9f939cec5a MIMXRT1062/LLD/USBHSv1: implement hal_usb_lld for MIMXRT1062 2021-03-31 14:04:12 +02:00
Michael Stapelberg 931020fc52 import usb middleware from SDK_2.9.2 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 cd172cab25 demos/RT-TEENSY4_1: turn off unused-parameter warnings 2021-03-31 13:59:00 +02:00
Michael Stapelberg fa1ec8dd08 demos/RT-TEENSY4_1: enable hardfault handler for debugging 2021-03-31 13:59:00 +02:00
Michael Stapelberg 354a2316e4 demos/RT-TEENSY4_1: disable optimizations for debugging 2021-03-31 13:59:00 +02:00
Michael Stapelberg b6636284af demos/RT-TEENSY4_1: enable USB shell / tests in demo 2021-03-31 13:59:00 +02:00
Michael Stapelberg 85d8733fe2 demos/RT-TEENSY4_1: update descriptor to USB 2.0 2021-03-31 13:59:00 +02:00
Michael Stapelberg d875cffeb2 branch usbcfg.[ch] from testhal/KINETIS/TEENSY3_x/USB_SERIAL/ 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 b8a449cb51 add ext/mcux-sdk submodule 2021-03-31 13:58:57 +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
Michael Stapelberg 911321104a branch demo from TEENSY3_6 2021-03-27 16:03:55 +01:00