Commit Graph

1737 Commits

Author SHA1 Message Date
Dimitris Mantzouranis 283eb6f658 sn32: 260: add missing system_SN32F260.c 2022-02-12 13:51:12 +02:00
Dimitris Mantzouranis 9eb6c8e884 sn32: we have UART 2022-02-12 13:51:12 +02:00
Dimitris Mantzouranis 11db8a941b sn32: further cleanup the LLD
SysTick driver is now seperate from CT
stale 240 non B code removed
CMSIS version is now on 1.8R
2022-02-12 13:51:11 +02:00
Dimitris Mantzouranis de5d4799da sn32: flash: comply with the hardware
The flash controller only accepts 4bytes
2022-02-12 13:51:11 +02:00
Dimitris Mantzouranis 777f1fcbb1 sn32: cleanup CT
24xB doesn't have CT32
Remove CMSIS leftover SysTick code
2022-02-12 13:51:11 +02:00
Glory d596a79ae4 SN26x: shave 40 bytes of RAM 2022-02-12 13:51:11 +02:00
Glory 14fec20512 Fix OpenRGB packet drops 2022-02-12 13:51:11 +02:00
Glory d898dafe19 Fix openrgb RAW set led drop issue
should handle nak if the device can't keep up PC writing speed (3~5 64-byte packet sequentially)
2022-02-12 13:51:11 +02:00
stdvar 181e4b3ed7 [240] Clear USB interrupt status after it is fully handled 2022-02-12 13:51:11 +02:00
stdvar d81bd9ccdf [240B] Clear USB interrupt status after it is fully handled 2022-02-12 13:51:11 +02:00
Adam Honse e2076e56b8 Add board files for SN32F260 2022-02-12 13:51:11 +02:00
dexter93 36d503985f SN32: update flash driver for 240b (#8)
* sn32 hal: update flash from latest CMSIS

* sn32: build flash

* sn32: fix compilation

* sn32 flash: add half word flashing

* sn32 flash: adaptation time
2022-02-12 13:51:11 +02:00
janjan 34f2c22327 Fixes for 268
This is inspired/copy-pasted from:

be7396a79f
2022-02-12 13:51:11 +02:00
janjan ac2695f8a2 Update SN32F260.h to latest version
This is taken from the latest pack file called:

"SONiX.SN32F2_DFP.1.2.11.pack"

This pack file is found in an archive named:

"SN32F260_Startkit_Package_V1.6R.zip"

download from here:

http://www.sonix.com.tw/article-en-998-24753 or
http://www.sonix.com.tw/files/1/9BB279642CFC9359E050007F01007A12

(extract that zip file and look in the "Pack" folder)

if you rename "SONiX.SN32F2_DFP.1.2.11.pack" to "SONiX.SN32F2_DFP.1.2.11.zip" you can extract it with a normal zip program

You find the file "SN32F260.h" in the folder "Device/Include"
2022-02-12 13:51:11 +02:00
Dimitris Mantzouranis ffba320d0a sn32: add sn32f240b board on chibios 2022-02-12 13:51:11 +02:00
HorrorTroll 2ea54e6d17 Replace to the file was fixed 2022-02-12 13:51:11 +02:00
HorrorTroll f7b8a68338 Added alternate ACK/NAK based 240B 2022-02-12 13:51:11 +02:00
stdvar d32df9caa9 SN32F24xB: Implement alternative handling of ACK/NAK and fix CONSOLE support 2022-02-12 13:51:11 +02:00
stdvar 52acdb5527 SN32F24xB: Add remote wakeup and examples of suspend handling 2022-02-12 13:51:11 +02:00
HorrorTroll 8f693258a3 fix some speed issue for 240 chip 2022-02-12 13:51:11 +02:00
HorrorTroll 7f2ba3dbfa fixed a bit for 240B, should work now 2022-02-12 13:51:11 +02:00
HorrorTroll a5c63c35fc Split 240B and 240, and clean up new USB code 2022-02-12 13:51:11 +02:00
stdvar 90174b9810 SN32: Update USB IRQ priority 2022-02-12 13:51:11 +02:00
stdvar 737bf13059 SN32: Cleanup USB LLD code 2022-02-12 13:51:11 +02:00
stdvar 4d74459654 SN32: Remove unused code and cleanup USB LLD 2022-02-12 13:51:11 +02:00
stdvar 05d3a4f4d1 SN32: Fix SET_REPORT at init and start troublshooting the handling of multple EPs 2022-02-12 13:51:11 +02:00
Dimitris Mantzouranis 3f6d9c2118 sn32f240: inherit clocks from mcuconf.h 2022-02-12 13:51:11 +02:00
Dimitris Mantzouranis 67a3f41cf8 sn32: ct: advertise the isr handler 2022-02-12 13:51:11 +02:00
Dimitris Mantzouranis 868fb3a968 sn32: we use the ct16b1 2022-02-12 13:51:11 +02:00
Dimitris Mantzouranis c164ee75b8 sn32f240: minor lld cleanup 2022-02-12 13:51:11 +02:00
Dimitris Mantzouranis a191484ee3 sn32f240: we have no need for EXT HAL
move isr mapping to the lld
2022-02-12 13:51:11 +02:00
Dimitris Mantzouranis 9aeb769a9c sn32f240: align ISR mapping with the vector table 2022-02-12 13:51:11 +02:00
Dimitris Mantzouranis b780d3cd54 sn32: ct cleanup 2022-02-12 13:51:11 +02:00
Dimitris Mantzouranis 7d24ca4114 sn32: handle all MRs in CT16 2022-02-12 13:51:11 +02:00
Adam Honse 1049040e16 Fix multi-packet data transfers 2022-02-12 13:51:11 +02:00
Adam Honse 7b231e2d26 Fix initialization on Windows 2022-02-12 13:51:11 +02:00
Adam Honse 0210956fa0 Sonix SN32 USB cleanup 2022-02-12 13:51:11 +02:00
Stephen Peery a3973aa5a3 Sonix SN32 series support (SN32F248, SN32F260)
Squashes commits by:

smp4488 <smp4488@aol.com>
Ilya Zhuravlev <whatever@xyz.is>
Adam Honse <calcprogrammer1@gmail.com>
2022-02-12 13:51:11 +02:00
Fabien Poussin 52c619778f
Merge pull request #314 from rusefi/rusefi-20.3.x
reviving 24 series eeprom
2022-02-08 15:44:32 +01:00
rusefillc 00e9fa421d more progress 2022-02-07 22:24:53 -05:00
rusefi 88dde3cb49 https://github.com/rusefi/rusefi/issues/3860
helping C++
2022-02-07 22:20:26 -05:00
rusefillc 8b31f687ce help eeprom compile 2022-02-07 22:20:25 -05:00
Fabien Poussin 659dd6210a
Merge pull request #301 from hanya/picousbfix
RP2040: Fix wrong size passed to calculate buffer offset
2022-02-06 23:22:03 +01:00
Fabien Poussin 1ba09f4d62
Merge pull request #302 from KarlK90/update-risc-v-eclic-for-chibios-21.6
[RISC-V] Update RISC-V ECLIC port for chibios-21.6.x
2022-02-06 23:21:36 +01:00
Fabien Poussin d1a7bf2e8c
Merge pull request #303 from stapelberg/hsrun
MK66F18: only enter HSRUN mode if actually necessary (> 120 MHz)
2022-02-06 22:13:10 +01:00
Fabien Poussin f36b57993f
Merge pull request #305 from ngwese/fix/armv7-m-port-compat
Teensy 4.1 compatibility with ChibiOS 21.6.x
2022-02-06 22:11:30 +01:00
Fabien Poussin 0323f2f492
Merge pull request #308 from ChibiOS/chibios-20.3.x
Modified i2c peripheral configuration
2022-02-06 22:10:06 +01:00
Fabien Poussin e0a072a8d6
Merge pull request #312 from WowSuchName/chibios-21.6.x
os/various: improve gdb script for black magic probe
2022-02-06 22:06:26 +01:00
Fabien Poussin 47b1ce69a4
Merge pull request #310 from zykrahgaming/chibios-21.11.x-dev
Update all MCUs to ChibiOS 21.11.x/master
2022-02-06 21:50:59 +01:00
Zykrah 8c9360662f
Update build.yml
Changed some branches
2022-02-07 07:33:45 +11:00