Commit Graph

1624 Commits

Author SHA1 Message Date
Fabien Poussin 1127b5575e
Merge pull request #286 from josesimoes/patch-1
Replace packed struct definition with one from CMSIS
2021-09-20 19:52:29 +02:00
Fabien Poussin 352e1a1b5d
ci: update for 21.6.x, add RP2040 2021-09-18 12:57:07 +02:00
Fabien Poussin f3c9ee772a
Merge pull request #298 from hanya/picoi2c
RP2040: Add I2C driver
2021-09-18 12:54:59 +02:00
Fabien Poussin 82a8a27d28
Merge branch 'chibios-20.3.x' into picoi2c 2021-09-18 12:44:54 +02:00
Fabien Poussin ed9b813d5c
Merge pull request #294 from hanya/picoadc
RP2040: Add ADC low level driver
2021-09-18 12:44:35 +02:00
Fabien Poussin 32bcb42776
Merge pull request #299 from hanya/picolinker
RP2040: Add linker script for FLASH with boot2
2021-09-18 12:44:00 +02:00
Fabien Poussin 97d61422ec
Merge branch 'chibios-20.3.x' into picoadc 2021-09-18 12:37:26 +02:00
Fabien Poussin 6421c89c61
Merge pull request #297 from fauxpark/k60f-improvements
K60x improvements
2021-09-18 12:34:16 +02:00
Fabien Poussin 50b0e36062
Merge pull request #296 from hanya/picousb
RP2040: USB driver
2021-09-18 12:33:24 +02:00
Hanya 48218bd9ef RP2040: Add linker script for FLASH with boot2 2021-09-14 18:26:05 +09:00
Hanya 6b0d55c273 Add I2C driver 2021-09-13 19:48:29 +09:00
Joy d1c2126d1c Modified some drivers 2021-09-12 18:02:41 -03:00
Joy cc5a81bf99 Added WB32F3G71xx support 2021-09-12 18:02:41 -03:00
fauxpark 4b24d2e9c0 K60F improvements 2021-09-12 02:59:33 +10:00
Fabien Poussin 9e4deb49e8
Merge pull request #292 from bwisn/bwisn_ht32fixusb
HT32: add missing fields in USBEndpointConfig, to make it compatible …
2021-09-11 00:11:00 +02:00
Fabien Poussin 53db13768e
Merge pull request #295 from KarlK90/gd32vf103-linker-sections
[GD32VF103] Correct linker scripts
2021-09-11 00:10:06 +02:00
Hanya 42adcfe526 Fix device numbering 2021-09-09 18:15:14 +09:00
Stefan Kerkmann 8e86276eb8 Add startup code to the vectors section
The startup code that initializes the mcu is moved to be the first entry
in the vectors section, so it will always be the first to run after a reset.

Because of a typo the vector table would have been there, but was relocated
into the text section. So this setup compiled by sheer luck into a working executable
that had the _start function at the flash base (0x8000000) up to this point.
2021-09-07 00:02:25 +02:00
Alex Lewontin 5935e97262
Merge pull request #289 from elfmimi/nuc123-usb-workaround
NUMICRO: Workaround for NUC123 USB Endpoint 6 problem
2021-09-03 19:41:08 -07:00
Hanya 4315298f40 Fix next channel calculation 2021-09-03 15:49:02 +09:00
Hanya af3b8d6070 Add ADC low level driver for RP2040 2021-09-02 22:26:14 +09:00
Hanya fbc9413df1 Merge branch 'xyzz-fix2' into picousb 2021-08-30 13:30:55 +09:00
Hanya 8bc249f5d6 Remove unused code to solve merge conflict 2021-08-30 13:30:13 +09:00
bwisn 41f2485356 HT32: add missing fields in USBEndpointConfig, to make it compatible with STM32 2021-08-29 16:40:05 +02:00
Hanya fc097fa6ac Add flag default 2021-08-29 15:36:05 +09:00
Hanya e6c771a989 Add flag to disable error data sequence interrupt 2021-08-29 11:33:35 +09:00
Hanya 0458091d42 Fix no need to reset endpoint here 2021-08-29 10:54:29 +09:00
Ilya Zhuravlev 182c3545e5 prepare out endpoint once, not on every call to usb_lld_start_out 2021-08-28 19:26:20 -04:00
Ilya Zhuravlev b8934a2c9e fix sending data 2021-08-28 14:35:31 -04:00
Hanya 5aa9d00853 Enable SOF 2021-08-29 01:05:05 +09:00
Hanya 142a12704d Add serial test code, not working yet 2021-08-29 00:57:07 +09:00
bwisn 4568901a91 ht32: fix GCC 11 misleading indentation error 2021-08-28 10:23:24 -03:00
Hanya 5934a54890 Merge branch 'xyzz-fix-usb-enum' into picousb
Calculate buffer offset starting from start of USB_DPSRAM.
2021-08-28 20:39:56 +09:00
Hanya 3ac83b6f69 Merge PR from xyzz 2021-08-28 20:38:22 +09:00
Hanya d98bf4c347 Fix set buffer control 2021-08-27 19:20:42 +09:00
Ilya Zhuravlev b8d011c927 fix buffer offset calculation sending wrong data
it didn't include offset from base to USB_DPSRAM->DATA so with offset=0
it ended up sending back stale setup packet data
2021-08-26 23:01:49 -04:00
Ilya Zhuravlev 76053315d9 fix some usb bugs
now it can enumerate
2021-08-26 00:51:33 -04:00
Hanya fea5fe0b5b Add USB driver, not working well 2021-08-25 20:15:28 +09:00
Fabien Poussin e762f8f765
Merge pull request #288 from KarlK90/gd32vf103-fix-adc-dma
[GD32VF103] Fix ADC0 DMA stream mapping
2021-08-16 11:10:20 +02:00
Ein Terakawa a94fead246 Workaround for NUC123 USB Endpoint 6 problem 2021-08-08 22:26:44 +09:00
a_p_u_r_o ae3542876c
Merge pull request #290 from elfmimi/numicro-usb-fix 2021-08-04 23:46:35 +09:00
Alex Lewontin 2935adef79
Create usb_memcpy.S 2021-08-04 00:52:06 -04:00
Ein Terakawa 7bc8efaee4 NUMICRO: Fix trivial but hard to find errors in USB LLD 2021-08-02 21:58:26 +09:00
Stefan Kerkmann e4790d23ae Fix ADC0 DMA stream mapping 2021-07-23 14:05:15 +02:00
Fabien Poussin 1310a8ce93
Merge pull request #287 from snazarkin/crc-patch-1
Don't include SW CRC if not requested
2021-07-21 21:00:09 +02:00
Fabien Poussin aa89629d2f
Merge pull request #285 from AndruPol/chibios-20.3.x
fixed erase in hal_efl_lld
2021-07-21 14:00:35 +02:00
snazarkin 3404e4d270
Don't include SW CRC if not requested
I've got build failure when enable CRC module on STM32. The reason is SW CRC header is included by default  but not by compiler if ChibiOS-Contrib/os/various/ is not included into search path.
The fix includes only requested LL header.
2021-07-19 16:56:32 +03:00
José Simões e93de09f00 Replace packed struct definition with CMSIS one 2021-07-12 18:18:43 +01:00
andru 4ace726d62 fixed erase in hal_efl_lld 2021-07-10 20:58:37 +03:00
Fabien Poussin 34591368db
Merge pull request #284 from dron0gus/crc-fix
STM32: crc lld: in reversal mode should be changed for tailing half-word and byte
2021-07-10 17:08:30 +02:00