Russ Butler
e8934e405a
Move USBPhy and related files to USB directory
...
Move the USBPhy header files into usb/device/USBPhy. Also move hal
and target USB files since mbed 2 does not compile when these files
are present without the USBPhy headers.
Directory restructure summary:
platform/USBPhy*
to usb/device/USBPhy/USBPhy*
hal/*
to usb/device/hal/*
targets/TARGET_Freescale/usb/*
to usb/device/targets/TARGET_Freescale/*
targets/TARGET_NXP/TARGET_LPC176X/usb/*
to usb/device/targets/TARGET_NXP/*
2018-03-27 14:32:00 +02:00
Russ Butler
19590b9f8a
Improve LPC1768 USB stability
...
Make the following changes to improve stability:
-When disconnecting set address to disabled to prevent nacks
-Clear EP_SLOW one and only once for every interrupt where it is set_address
-Disable and clear control endpoint interrupts when disconnecting
2018-03-27 14:32:00 +02:00
Russ Butler
664d2c32c5
Disable endpoints when disconnecting on Kinetis
...
Even thought the USB phy is disabled during disconnect, endpoints
still nack packets sent. This patch disables all endpoints so after
disconnect no USB traffic will be sent. This allows brief disconnects
of ~200us (or more) to be reliably detected by the host PC.
2018-03-27 14:32:00 +02:00
Russ Butler
3e70565822
Correct Kinetis 256 byte ctrl transfers
...
Correctly handle control transfers which are a multiple of 256 bytes
by checking for a non-zero value in the upper byte of size.
2018-03-27 14:32:00 +02:00
Russ Butler
518c4070a5
Fix Kinetis endpoint initialization
...
Fully setup endpoint before enabling it in endpoint_add. This prevents
undefined behavior due to previous configuration.
2018-03-27 14:32:00 +02:00
Russ Butler
f254d6a122
Update the Kinetis USB driver to the new API
...
Update this driver to match the new zero-copy API.
2018-03-27 14:32:00 +02:00
Russ Butler
48ef725854
Update the LPC17XX driver to the new API
...
Update this driver to match the new zero-copy API.
2018-03-27 14:32:00 +02:00
Russ Butler
7a55c94c0f
Update Kinetis USB to match the USBPhy API
...
Copy the Kinetis USB driver files from
mbed-os\features\unsupported\USBDevice\targets\TARGET_Freescale
and update them to match the new USBPhy API.
2018-03-27 14:31:59 +02:00
Russ Butler
f91805d3ab
Add Kinetis USB files
2018-03-27 14:31:59 +02:00
Russ Butler
cccbcdee0d
Add USBPhy for the LPC17xx
...
Move the LPC17xx USB driver files from
mbed-os\features\unsupported\USBDevice\targets\TARGET_NXP
and update them to match the new USBPhy API.
2018-03-27 14:31:58 +02:00
Cruz Monrreal
e9b234b876
Merge pull request #6424 from OpenNuvoton/m487_v3
...
Nuvoton: Support M487 v3.0 pin map
2018-03-26 14:26:32 -05:00
Cruz Monrreal
50773b1b75
Merge pull request #6440 from theotherjimmy/remove-supertarget
...
Remove supertarget
2018-03-26 14:21:53 -05:00
Martin Kojtal
f4fc5e6fc3
Realtek: serial - line ending fix
...
One line had a window line ending
2018-03-26 08:50:32 +01:00
Cruz Monrreal
cffa1c055e
Merge pull request #6437 from OpenNuvoton/nuvoton_fix_flash
...
Nuvoton: Fix NVSTORE test failed
2018-03-23 12:02:44 -05:00
Cruz Monrreal
26e1275589
Merge pull request #6415 from M-ichae-l/rtl8195am-fix-logUART-Tx-interrupt-crash-
...
rtl8195am: fix LogUART Tx interrupt crash
2018-03-23 10:06:36 -05:00
Jimmy Brisson
bac1f00e2e
Remove supertarget
2018-03-23 09:52:24 -05:00
Cruz Monrreal
7c272fa3e8
Merge pull request #6412 from jeromecoutant/PR_L4_ADC
...
STM32L4 ADC correct internal channel management
2018-03-22 11:27:50 -05:00
Cruz Monrreal
04a3635eba
Merge pull request #6399 from jeromecoutant/PR_L4_TEMP
...
STM32L4 ADC Internal Channel : correct sampling time
2018-03-22 11:27:30 -05:00
cyliangtw
efe57a00b4
[M487] Support v3.0 pin map
2018-03-22 20:09:09 +08:00
ccli8
f0865f8546
[Nuvoton] Fix page size in flash IAP
...
In Mbed OS, page size is program unit, which is different than FMC definition.
After fixing page size, we can pass NVSTORE test (mbed-os-features-nvstore-tests-nvstore-functionality).
2018-03-22 16:45:01 +08:00
Martin Kojtal
7b325f30a0
Merge pull request #6168 from hug-dev/cm3ds-memory
...
CM3DS Maintenance Pull Request: Memory changes (2/4)
2018-03-21 14:16:16 +01:00
Martin Kojtal
0f2659bdce
Merge pull request #6392 from OpenNuvoton/nuvoton_fix_uart
...
Nuvoton: Remove unnecessary UART INT in UART DMA transfer
2018-03-21 14:10:44 +01:00
zzw
2dc94b24d2
rtl8195am: fix LogUART Tx interrupt crash
...
add Mask & UnMask Tx FIFO empty interrupt for LogUart
fix LogUart interrupt enable
fix LogUart interrupt handler
coding style fix
2018-03-21 18:50:58 +08:00
jeromecoutant
ef006931f8
STM32L4 ADC correct internal channel management
2018-03-21 10:57:57 +01:00
Cruz Monrreal
2c7f909eea
Merge pull request #6245 from mbedNoobNinja/Sync_PR
...
Update for VK_RZ_A1H
2018-03-20 15:21:01 -05:00
Cruz Monrreal
6cb6dd9e62
Merge pull request #6330 from bcostm/fix_pins_nucleo_l433rc_p
...
NUCLEO_L433RC_P: fix pins definitions
2018-03-20 14:56:05 -05:00
Cruz Monrreal
d7dfab5c7e
Merge pull request #6370 from jeromecoutant/PR_LPT_RTC_OPTIM
...
STM32 LPTICKER : optimize RTC wake up timer init
2018-03-20 14:19:07 -05:00
jeromecoutant
6c369d17aa
STM32L4 ADC Internal Channel : correct sampling time
2018-03-20 13:15:17 +01:00
mbedNoobNinja
cf8fd20f9b
Enabled os5 support for VK_RZ_A1H & synced with rest Renesas targets !
...
Mbed-os 5.4.7 was the last unofficial working support for this target.
Since Mbed-os 5.6.0, the support is now official and VK_RZ_A1H is now "codebase aligned" with GR_PEACH (RZ_A1H) & GR_LYCHEE (RZ_A1LU) !
2018-03-20 11:49:03 +02:00
Cruz Monrreal
6659084d72
Merge pull request #6367 from li-ho/ev-cog-flash-api-fix
...
ADI: Fix on chip flash minimal programmable unit size
2018-03-19 11:19:17 -05:00
Cruz Monrreal
0adef8a959
Merge pull request #6379 from bcostm/dev_DISCO_L496AG
...
DISCO_L496AG: Add new platform
2018-03-19 11:18:27 -05:00
ccli8
7ed3bac85d
[Nuvoton] Remove unnecessary UART INT in UART DMA transfer
...
In UART DMA transfer, it is PDMA INT rather than UART INT to go INT path
2018-03-19 17:52:01 +08:00
Cruz Monrreal
1aa78d1e8c
Merge pull request #6326 from M-ichae-l/rtl8195am-gpio-toggle-slow-fix
...
rtl8195am : fix gpio toggle slow
2018-03-16 13:16:17 -05:00
Cruz Monrreal
05e72dc729
Merge pull request #6353 from jeromecoutant/PR_RTC_LSE
...
STM32 RTC init
2018-03-16 11:45:13 -05:00
Cruz Monrreal
02130a282e
Merge pull request #6346 from 0xc0170/fix_6252
...
Fix for #6252
2018-03-16 11:43:31 -05:00
bcostm
974917809d
DISCO_L496AG: remove morpho connector in targets.json
2018-03-16 10:02:12 +01:00
bcostm
f59f7581fb
DISCO_L496AG: add entry in mbed_rtx.h
2018-03-16 10:02:12 +01:00
bcostm
64a824abd2
DISCO_L496AG: add system clock file (same as Nucleo)
2018-03-16 10:02:12 +01:00
bcostm
5c484aaf3d
DISCO_L496AG: add platform in targets.json file
2018-03-16 10:02:12 +01:00
bcostm
ade8583044
DISCO_L496AG: add other pins related files
2018-03-16 10:02:11 +01:00
bcostm
63901a803c
DISCO_L496AG: remove QSPI2
...
Base adress not found in registers map file but found in CubeMX xml file.
2018-03-16 10:02:11 +01:00
bcostm
eab3e95158
DISCO_L496AG: add PeripheralPins.c
2018-03-16 10:02:11 +01:00
Cruz Monrreal
6eeee5e49f
Merge pull request #6292 from juhaylinen/rtw-fixes
...
rtl8195am - improve credentials handling
2018-03-15 10:57:39 -05:00
Cruz Monrreal
95fb33f041
Merge pull request #6198 from codeauroraforum/Add_LPC54XXX_Flash_Support
...
Flash support: Add flash support for LPC54114 & LPC546XX
2018-03-15 10:49:08 -05:00
Cruz Monrreal
69bc68d21f
Merge pull request #6288 from TomoYamanaka/master
...
Fix macro definition of iodefine_typedef for RZ_A1H
2018-03-15 10:48:02 -05:00
Cruz Monrreal
842a86ad7c
Merge pull request #6310 from codeauroraforum/Fix_K82F_I2C
...
MCUXpresso: Fix test failures seen with ci-test shield
2018-03-15 10:41:08 -05:00
Cruz Monrreal
872634d5fa
Merge pull request #6311 from hosse005/master
...
mts_mdot_f411re: Fix for Multi-Tech mDot IAR linker script
2018-03-15 10:40:18 -05:00
Cruz Monrreal
d05417a941
Merge pull request #6315 from amq/efm32_faster_gpio_irq
...
EFM32: make gpio interrupts faster by offloading expected pin state check to user
2018-03-15 10:39:29 -05:00
jeromecoutant
882f3312c3
STM32 LPTICKER : optimize RTC wake up timer init
...
Division in a while loop is removed
2018-03-15 14:23:57 +01:00
li-ho
b26b682902
Fix on chip flash minimal programmable unit size
...
- sector size is 0x800 bytes
- writeable unit size is 0x8 bytes
- flash start address is 0x0
- total ADuCM3029 on chip flash size is 0x40000 bytes
- total ADuCM4050 on chip flash size is 0x7F000 bytes
2018-03-15 16:50:06 +11:00