Commit Graph

14 Commits

Author SHA1 Message Date
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
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