Commit Graph

890 Commits

Author SHA1 Message Date
hathach ebfd65a9ca add stm32f103 mini v2.0 board 2021-08-19 18:51:51 +07:00
hathach 1992f49343 group stm32f1 board 2021-08-19 18:02:16 +07:00
Ha Thach 2bb63406e9
Merge pull request #959 from KarlK90/gd32vf103-support-tiny-usb
[PORT] Add GD32VF103 support and Sipeed Longan Nano Board support
2021-08-15 18:50:00 +07:00
hathach 73f8fae036 change toolchain to riscv-none-embed-gcc-xpack for ci 2021-08-15 17:28:14 +07:00
hathach 09e4348adc move gd32vf103 to its own family 2021-08-15 17:19:25 +07:00
Stefan Kerkmann 1b6540a61c Update systick reload value
The systick timer is driven by the AHB bus divided by 4, set the correct
reload value to generate a timer irq every ms.
2021-08-09 21:37:06 +02:00
Stefan Kerkmann 27f147f421 Minor style changes 2021-08-07 14:08:18 +02:00
Stefan Kerkmann 0399996ee5 Code style changes 2021-08-07 11:33:36 +02:00
Stefan Kerkmann 66d566f8c0 Use functions provided by the nuclei-sdk hal 2021-08-07 11:33:36 +02:00
Stefan Kerkmann 60d03110f7 Correctly initialize and handle the system tick
Forgot to reload the systick timer in the irq handler
2021-08-07 11:33:36 +02:00
Stefan Kerkmann 1d2a57a9e1 Remove unsuitable clock configurations from init code
Only 48MHz, 72MHz, 96MHz and 120 MHz system clocks derived from an
external crystal are suitable for the usb peripheral, as the internal
oscillator is not stable enough. Also the usb-prescaler only supports
division by 1 (48MHZ), 1.5(72MHz), 2(96MHz) and 2.5(120Mhz).
120Mhz is also out of spec and not added here.
2021-08-07 11:33:36 +02:00
Stefan Kerkmann 733a362436 Use nuclei-sdk functions for init code
Instead of using the HAL functions we can just use the defines from the
board support for the longan nano that comes with the nuclei-sdk. Also
we move some includes and defines to the header file.
2021-08-07 11:32:06 +02:00
Stefan Kerkmann 6e287a7c5e Cleanup include paths and use linker files from nuclei-sdk 2021-08-07 09:51:56 +02:00
Stefan Kerkmann b473923f42 Remove redundant linker files
We use the linker files provided by nuclei-sdk instead
2021-08-07 09:51:16 +02:00
Ha Thach 88f5c04fe0
Merge pull request #985 from HiFiPhile/same70
SAMx7x improvements
2021-08-06 11:32:57 +07:00
Stefan Kerkmann e5bd6bdeff Update nuclei-sdk with __riscv_flen fix 2021-08-03 20:01:10 +02:00
Stefan Kerkmann 790d90bf26 Set FreeRTOS to RISC-V (doesn't compile) 2021-08-03 20:01:10 +02:00
Stefan Kerkmann 23e3b1680b Use JTAG for jlink flashing 2021-08-03 20:01:10 +02:00
Stefan Kerkmann 3db2089aa9 Minor clean ups 2021-08-03 20:00:39 +02:00
Stefan Kerkmann 19b971cb24 Add board support for gd32vf103 longan nano 2021-08-03 20:00:39 +02:00
MasterPhi 8b5625bf4e Move clock enable to BSP. 2021-07-30 12:07:23 +02:00
Ben Evans 0953be9d7f Small tidy up for waveshare openh743i BSP. 2021-07-27 12:07:19 +10:00
Ben Evans f01074681a Added BSP for waveshare openh743i. 2021-07-27 11:58:20 +10:00
Ha Thach 1c2bc47c07
Merge pull request #950 from HiFiPhile/dfu
DFU improvements
2021-07-22 11:17:01 +07:00
hathach 05f59fb8ed clean up warning 2021-07-19 12:08:01 +07:00
MasterPhi d0dd3c77ff Use USBHS_Handler 2021-07-18 22:03:45 +02:00
HiFiPhile b194aa240b
Merge branch 'master' into dcd_same70 2021-07-17 12:10:35 +02:00
hathach 406832158d skip lto for samd11 build 2021-07-15 21:08:10 +07:00
hathach 8de33ca557 Merge branch 'master' into kkitayam-fix_rtt_for_rx_family 2021-07-02 14:10:31 +07:00
kkitayam ea9ec1fb43 extend stack areas to enable logging
add dummy functions to avoid warnings when logging is enable
remove codes regarding OPTLIB
2021-07-02 11:37:23 +09:00
hathach ca98996e1f better support for hid device set/get protocol
add caplock detection for hid_composite
2021-07-01 22:46:39 +07:00
hathach b2fa7358cf fix typo 2021-06-29 16:38:38 +07:00
hathach 2d423514ee rename rx65n cloud kit to target
adding note for adding jlink support for rx65n_target board
2021-06-29 16:33:32 +07:00
hathach 01987ef86c merge saml21 + saml22 = saml2x 2021-06-28 14:37:41 +07:00
hathach 7e449b710e rename bsp saml22 to saml2x 2021-06-28 14:06:13 +07:00
Ha Thach b2feae15e4
Merge pull request #927 from hathach/add-rx65n-board
Add rx65n board
2021-06-28 13:53:42 +07:00
hathach 856dc0bab9 update doc and clean up 2021-06-28 12:59:53 +07:00
hathach e3b1110cce rename rx63n to simply rx 2021-06-28 12:51:11 +07:00
hathach 8c4641fc05 refactor rx6x bsp 2021-06-28 12:49:30 +07:00
hathach 17137bbfff fix rx65n with freertos build 2021-06-28 12:35:12 +07:00
hathach ec9bfe0333 update renesas rx submodule 2021-06-28 12:27:20 +07:00
kkitayam 239ecadeca add options for e2l 2021-06-27 23:39:50 +09:00
kkitayam 511b2d47d1 add handling for software configurable interrupts. 2021-06-26 22:42:27 +09:00
kkitayam 60fedaa050 fix baudrate setting 2021-06-26 21:13:35 +09:00
kkitayam dccb3b1a46 change stdio channel to SCI5 from SCI0.
change ports settings for LED and button.
add PLL setting for 240MHz based on HOCO into HardwareSetup().
2021-06-22 00:20:08 +09:00
hathach fbda7d5837 adding rx65n 2021-06-20 15:04:39 +07:00
hathach 7dce27c732 fix build with saml21, update microchip driver submodule 2021-06-19 16:21:14 +07:00
sabas1080 7bed7d70f0 add support SAML21 2021-06-15 00:01:28 -05:00
MasterPhi 85fc423569 Rename SAM7X to SAMX7X
Signed-off-by: MasterPhi <admin@hifiphile.com>
2021-06-12 12:36:59 +02:00
Rafael Silva 776a770947 dcd: sam7x: rename family dcd to include the whole family
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-06-12 00:09:24 +01:00