George Beckstein
d0a08076ae
Removed redundant virtual status transfer notifications.
2019-07-11 11:40:52 +01:00
George Beckstein
036b5b2aa8
Added workaround for "unloading" IN endpoints after unstalling. Disable and then reenable when USBPhyHw::endpoint_unhalt() is called.
2019-07-11 11:40:52 +01:00
George Beckstein
2797bbf5a7
Removed unnecessary logic and changed round robin DMA scheduling
2019-07-11 11:40:52 +01:00
George Beckstein
84b54294f4
Added in flag for preventing double IRQ triggering and added asserts for Nordic driver calls
2019-07-11 11:40:52 +01:00
George Beckstein
8bf6c048cb
Ignore events that happen when an endpoint is stalled/halted
2019-07-11 11:40:51 +01:00
George Beckstein
e05d2fcf49
Added a return from the virtual status transfer software-triggered interrupt. Not entirely sure this is appropriate.
2019-07-11 11:40:51 +01:00
George Beckstein
059a59a9f3
Added simulated status stage interrupt
2019-07-11 11:40:51 +01:00
George Beckstein
153e60d5e9
Trying virtual status stage and generated interrupt
2019-07-11 11:40:51 +01:00
George Beckstein
fae90141e4
Added setup status enum and removed some old commented out code
2019-07-11 11:40:51 +01:00
George Beckstein
c2beffb7fa
Implemented USBPhyHw::unconfigure() as it was causing configuration changes to fail. Endpoints were not being removed properly in the Nordic driver
2019-07-11 11:40:51 +01:00
George Beckstein
1b2df29254
Added data toggle clearing to removing endpoints. Reworked aborting endpoints in nordic driver to prevent an ASSERT when it is called on ISO endpoints
2019-07-11 11:40:51 +01:00
George Beckstein
52747d9c96
Changed a little formatting
2019-07-11 11:40:51 +01:00
George Beckstein
b26055a682
Added code to ignore ZLP packets on the ISOOUT endpoint... not fixing issue yet
2019-07-11 11:40:51 +01:00
George Beckstein
54b8c497ad
Removed function call for SOF event -- frame counter is already included in data from usb event
2019-07-11 11:40:51 +01:00
George Beckstein
242c08d746
Removed 0 max packet size assert for ISO endpoints. Ensured usbd_ep_abort would not be called on ISO endpoints (this currently causes an ASSERT in the Nordic driver
2019-07-11 11:40:51 +01:00
George Beckstein
82a2e80056
Fixed bug causing usb_control_stall_test to fail intermittently. Preparing the Nordic HW for the status stage of a control transfer would sometimes cause the HW to automatically ACK an "invalid" command during the control stall test. This would cause the test to fail (because an invalid request was not stalled).
2019-07-11 11:40:51 +01:00
George Beckstein
0acbeb8304
Reviewing functions. Added critical sections to some functions that access state information.
2019-07-11 11:40:51 +01:00
George Beckstein
b6f4e429fb
Removed disable from disconnect to see if it affects the success of the soft reset test.
2019-07-11 11:40:51 +01:00
George Beckstein
2209d06ff8
Added EP0 stalls to setup event handler
2019-07-11 11:40:51 +01:00
George Beckstein
7e1c50f76e
Added in triggers to synchronize control transfer stages with what the hardware expects. First working example!
2019-07-11 11:40:51 +01:00
George Beckstein
2289cc3f14
Non-working custom feeder. Modified nordic driver to disable automatic EP0STATUS task triggering at end of DMA transfer
2019-07-11 11:40:51 +01:00
George Beckstein
24d8c86007
working on making the mbed and nordic drivers compatible
2019-07-11 11:40:51 +01:00
George Beckstein
cd6892d0f0
Added errata fixes (171, 187) from nRF SDK 15.2 that would prevent USBD from starting up
2019-07-11 11:40:51 +01:00
George Beckstein
c8e93bf3c0
Changed driver to request hf and lf clock sources... not sure why USB Ready event isn't ever getting triggered
2019-07-11 11:40:51 +01:00
George Beckstein
ab1de1542b
Changed power handler to enable/start & disable/stop USBD driver in background
2019-07-11 11:40:51 +01:00
George Beckstein
f92f8df3d8
Configured sdk for enabling USB. Preliminary implementation of USB for nRF52840
2019-07-11 11:40:51 +01:00
Qinghao Shi
79950803f9
fix IAR compile error on fastmodels
2019-07-11 11:40:51 +01:00
Vincent Veron
843ed2ff37
TARGET_STM: SPI: update pull up config depending on clk polarity
...
Fix #10589
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-07-11 11:40:51 +01:00
Marten Lootsma
76f464ca4e
Fixed astyle error and removed duplicated comment
2019-07-11 11:40:51 +01:00
Marten Lootsma
ff9ad704f1
Added support for SPIF of size bigger than 16Mbyte
...
- checks if size is bigger than 16Mbyte
- changes to 4 byte address mode of neccessary
2019-07-11 11:40:51 +01:00
Chun-Chieh Li
e39e23fca1
Fix channel release in analogout_free()
2019-07-11 11:40:51 +01:00
Tymoteusz Bloch
94a900814e
LWIP DNS servers setting/getting fixed.
2019-07-11 11:40:51 +01:00
jeromecoutant
68351fba4b
STM32H7 UART: enable LPUART
2019-07-11 11:40:51 +01:00
jeromecoutant
b707b1da5a
STM32WB warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
a84eb2407c
STM32H7 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
508c7f7980
STM32L4 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
df4e9049a1
STM32L1 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
2d16488771
STM32L0 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
6e6f8835fb
STM32F7 warning compilation
...
[-Wparentheses-equality]
[-Wsign-compare]
2019-07-11 11:40:51 +01:00
jeromecoutant
514f94da0e
STM32F4 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
a1800902f7
STM32F3 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
bde3d3c037
STM32F2 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
4cb01a81de
STM32F1 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
81fd622456
STM32F0 warning compilation
...
[-Wparentheses-equality]
2019-07-11 11:40:51 +01:00
jeromecoutant
d81f320698
STM32: remove compilation warning
2019-07-11 11:40:51 +01:00
Przemyslaw Stekiel
1a2af2c7b6
Disable time drifting test cases.
...
Time drifting test cases use serial communication with the host and are unstable on CI.
Skip time-drifting test cases if SKIP_TIME_DRIFT_TESTS macro is defined.
The idea for the future is to use FPGA test shield for timing tests instead of host scripts.
Also remove `__ARM_FM` macro which in most cases was used to disable time drifting tests. In other cases replace `__ARM_FM` with `TARGET_ARM_FM` which is more suitable.
2019-07-11 11:40:51 +01:00
Przemyslaw Stekiel
1ddebcd9b7
Fix GREENTEA_SETUP() call in not time drifting tests.
...
In these tests GREENTEA_SETUP() is incorrectly called with "timing_drift_auto" instead of "default_auto".
2019-07-11 11:40:51 +01:00
Kevin Bracey
75a12be43f
Add C++14 sized delete operators
...
Correct C++14 operation of the alloc wrappers requires us to define
custom sized delete operators.
Their presence won't cause any problem for people compiling as C++03 or
C++11.
2019-07-11 11:40:51 +01:00
jeromecoutant
25d817ced0
STM32H7 directory cleanup and refactoring
2019-07-11 11:40:51 +01:00
jeromecoutant
c87159375a
STM32H7: use default files from ST drivers delivery
2019-07-11 11:40:51 +01:00