22 Commits

Author SHA1 Message Date
Gordon Williams
6409406f0a minor refactor - trying to share code for F3 2015-07-14 12:26:01 +01:00
Gordon Williams
828cc30767 try and revert changes so we can use old USB library on the F1, while using new on the F4 2015-06-25 13:03:31 +01:00
Gordon Williams
2d5ac5fd37 Now got F1 working with new USB API, but no HID :( 2015-06-05 12:47:29 +01:00
Gordon Williams
5da935c5dc fix issues with hardware init 2015-06-04 17:30:02 +01:00
Gordon Williams
d38a83078d start of port of F1's libraries 2015-06-03 17:53:52 +01:00
Gordon Williams
72013e1d57 Finally fixed sporadic compilation problems with '-Os' 2014-11-28 16:02:48 +00:00
Gordon Williams
a2e8eaf980 startup_stm32f10x_hd.s now explicitly sets the stack pointer. Allows Espruino images to use more RAM 2014-05-08 10:23:44 +01:00
Gordon Williams
9368f9b34c Lower USB interrupt priority, remove pesky PriorityGroupConfig that was breaking other IRQ priorities 2014-02-05 10:08:04 +00:00
Gordon Williams
4f19507cd1 Don't interrupt on USB ESOF or ERR - allows 'normal' sleep without interrupting every 1ms (fix #195) 2014-01-28 10:26:13 +00:00
Gordon Williams
cdaae74e45 remove USB suspend again - not reliable 2014-01-07 19:21:48 +00:00
Gordon Williams
9e5f82bcb5 re-enable all IRQ responses, as they work now 2014-01-07 18:41:34 +00:00
Gordon Williams
28e1c7b940 handle more IRQ types 2014-01-07 17:09:55 +00:00
Gordon Williams
04aedbb31d modify priorities to be nearer to new VCP example 2014-01-07 17:09:17 +00:00
Gordon Williams (u36)
b75c45e815 revert part of 1ac6966c22912dc0de1d28e5238bee61305c8b0a - might mess up deep sleep but for some reason what was there breaks the Espruino 1r3 board 2013-12-26 19:23:34 +00:00
Gordon Williams
1ac6966c22 deep sleep now works, and will wake up and re-appear on USB. Still no auto-wakeup when USB plugged in though 2013-12-20 11:05:02 +00:00
Gordon Williams
15d84edc19 converting more prints over 2013-12-09 13:44:18 +00:00
Gordon Williams
a3874e30cc Add function for receiving multiple char data - can be optimised later 2013-12-05 11:17:38 +00:00
Gordon Williams
7632fc991e update ST's VCP implementation 2013-11-27 14:56:13 +00:00
Gordon Williams
39c2db1d6b Update ST's library for the STM32F1 2013-11-27 14:18:08 +00:00
Gordon Williams
f1aded55d8 Allow product ID to be changed via Makefile 2013-11-14 10:51:15 +00:00
Gordon Williams
68bd03e7d2 misc usb tidyup 2013-11-01 10:18:55 +00:00
Gordon Williams
f3d6e0bc83 First commit 2013-09-26 14:39:04 +01:00