Commit Graph

10341 Commits (feeadd6eba02e11b34e2cd0324870821856c6e1f)

Author SHA1 Message Date
Jimmy Brisson feeadd6eba Remove unsupported Coide exports
They simply would error with "template not found". Instead, lets just
disable them.
2017-05-21 14:38:03 +01:00
jeromecoutant 523356b8f6 STM32 NUCLEO boards with Ethernet connector: solve conflict with D11 arduino pin
If you are using Ethernet, and not SPI Arduino pins:
=> keep your board with the default configuration

If you are using SPI Arduino pins, and not Ethernet:
=> you should remove the JP6 bridge on the front side of the board

If you need SPI Arduino and Ethernet:
=> you have to patch the NUCLEO board on the back side: set solder bridge SB121 to off, and SB122 to on
=> D11 is no more connected to PA_7 but to PB_5
=> overwrite d11_configuration config value in json file
2017-05-21 14:38:03 +01:00
Andrzej Puzdrowski b7d81bebd5 NRF5: changes for code review of merg nrf52840 to NRF5 sources s140 headers renamed form ble_* to nrf_ble_*, Removed s130 and s132 headers named form ble_* (Them had been added by #2ff572682798562e812015dc775b5896e0fda5a4) Headers inclusinons were changed in order to meet above changes.
Revrted bad change in us_ticker.c:
use __disable_irq lock instead of core_util_critical_section_enter lock
for setting rtc1 tick for systick emulation as was good before.
2017-05-21 14:38:02 +01:00
Andrzej Puzdrowski c1a9326e89 Fix compilation errors on linux machine 2017-05-21 14:38:02 +01:00
Andrzej Puzdrowski 263457451d remove orphaned NRF5_SDK13 hal api driver 2017-05-21 14:38:02 +01:00
Andrzej Puzdrowski a8f4d2a0f5 coding style format. 2017-05-21 14:38:01 +01:00
Andrzej Puzdrowski 053ccd023b Apply resloution for the "Read long UUID of service problem" according to NRFFOETT-1674. 2017-05-21 14:38:01 +01:00
Andrzej Puzdrowski ca20e33de9 Make NRF5 BLE implementation compatible with SoftDevice API 2.x.x,3.x.x,5.0.0-1.alpha by Copy of changes from features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5_SDK13/source to features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5/source 2017-05-21 14:38:01 +01:00
Andrzej Puzdrowski f6c4441765 HAL driver: Add changes from needad for nrf52840 support us_ticker, spi, sleep, serial, pwmout, pinmap, object, i2c, gpio, analogin
Add compatibility patches for:
- SoftDevice headers renamed (redirec by a few h files)
- sdk configuration (redirect by sdk_config.h files)
- renaming of func in softdevice handler module
2017-05-21 14:38:01 +01:00
Andrzej Puzdrowski 4a9376a28d NORDIC: moving nRF52840 files to NRF5 "common" port. TARGET_NRF5_SDK13/sdk -> TARGET_NRF5/TARGET_SDK13 TARGET_NRF5/sdk -> TARGET_NRF5/TARGET_SDK11 TARGET_NRF5_SDK13/TARGET_MCU_NRF52840 -> TARGET_NRF5/TARGET_MCU_NRF52840 2017-05-21 14:38:00 +01:00
ccli8 3a9094140f Change comment for serial_getc/serial_putc 2017-05-21 14:37:59 +01:00
ccli8 a2a3dfdeea Fix serial error with sync/async calls interlaced
Serial implementation uses different vector handlers for sync/async calls respectively. The issue can be reproduced with the following flow:
1. Register sync mode callback with Serial.attach().
2. Sync call with Serial.putc()/getc().
3. Change to async call with Serial.write()/read().
4. Change back to sync call with Serial.putc()/getc().
Now, vector handller is still for async mode, not for sync mode.

To fix it:
1. Introduce internal function serial_enable_interrupt() for both sync/async vector handler enable/disable.
   Original HAL function serial_irq_set() is reduced to call it for sync mode vector handler enable/disable.
2. Introduce internal function serial_rollback_interrupt() to roll back sync mode vector handler at end of async transfer.
2017-05-21 14:37:59 +01:00
ccli8 0ef04ab07b Fix pwmout power-down condition 2017-05-21 14:37:59 +01:00
ccli8 77551a8931 Fix DMA channel over-allocate 2017-05-21 14:37:58 +01:00
justinkim 7280486af0 modify GCC_ARM startup code & mbed_rtx.h syntax error correct. 2017-05-21 14:37:58 +01:00
justinkim 056ba62eeb add to support gcc & iar 2017-05-21 14:37:58 +01:00
justinkim c8f26e92d7 delete dead code. -> gpio_irq_api.c modified coding style. -> pinmap.c 2017-05-21 14:37:58 +01:00
justinkim e92314d655 modified typo 2017-05-21 14:37:57 +01:00
justinkim b2f6fe00da Modified coding style of mbed. - deleted dead code - deleted test code 2017-05-21 14:37:57 +01:00
justinkim 0fe89f8580 Modifying the code to support mbed OS 5 -> add mbed_rtx.h Modifying the code for mbed ci shield test -> analogin_api.c, W7500x_adc.c, gpio_irq_api.c, W7500x_gpio.c Modifying the code for fix bug -> W7500x_uart.c(register control driver problem), W7500x_uart.h, pinmap.c(pullup, pulldown problem) 2017-05-21 14:37:57 +01:00
Martin Kojtal 9743c6d4ce MAX32630FTHR: Fix NVIC_SetVector type in HAL
Change the irq_handler parameter of NVIC_SetVector from a function
pointer to a uin32_t so it matches the cmsis specification. This
prevents the following problem from occurring in RTX5 when building
for IAR:
The error: Error[Pe167]: argument of type "void (*)(void)" is incompatible
with parameter of type "uint32_t".
2017-05-21 14:37:57 +01:00
Bartosz Szatkowski 07a29ebd56 Limit ISR stack to 4k on NUCLEO_F429ZI 2017-05-21 14:37:56 +01:00
Daniel Zimmermann 5dc7fc9cb8 LPC4088: add LPC4088Code.binary_hook to the white list of the embitz, gnuarmeclipse and makefile exporter. 2017-05-21 14:37:56 +01:00
Andrzej Puzdrowski ada0d21401 avoid 03/05 intel-hex records for nordics devices
use Intelhex::write_hex_file instead of IntelHex::tofile
2017-05-21 14:37:56 +01:00
Bradley Scott c5d379e908 STM32F3: Correct handling of USB ISTR and endpoint registers
The USB ISTR register consists of a mix of bits that are
write-zero-to-clear and read only bits.  As such, to clear a bit in
the ISTR, you should simply write the bitwise-NOT of the bit to clear.
Previously, the __HAL_PCD_CLEAR_FLAG() macro would do a bitwise-AND
with the ISTR register contents to clear a bit, but this could result
in another bit being inadvertently cleared if it is set by hardware
between the read and the write of the ISTR register.

Similarly, the USB endpoint registers have two bits that are
write-zero-to-clear, USB_EP_CTR_RX and USB_EP_CTR_TX, but the
PCD_CLEAR_RX_EP_CTR() and PCD_CLEAR_TX_EP_CTR() macros wrote back the
last read value for one of these bits when clearing the other bit.
This could result in inadvertent clearing of one of these bits if it
were set by the hardware between the read and the write.  These macros
have now both been adjusted to always write one to the bit not being
cleared to prevent inadvertent clears.
2017-05-21 14:37:55 +01:00
Tony Wu 4f0733da36 lwip - delay mbed_lwip_set_mac_address until device is inited
mbed_lwip_set_mac_address calls mbed_mac_address to get hwaddr
from device, but device may not be accessible until it is powered
up and initialized.

This patch delays mbed_lwip_set_mac_address call until device is
ready.

Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-05-21 14:37:54 +01:00
Tony Wu 0150e56c76 lwip - power up emac before reading its settings
emac settings are only available after powered up.

Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-05-21 14:37:54 +01:00
arostm 5a05033f86 DISCO_L072CZ_LRWAN1: change date in periperalPins.c 2017-05-21 14:37:54 +01:00
arostm 6b588e2f86 DISCO_L072CZ_LRWAN1: delete tests mbed os2 result 2017-05-21 14:37:54 +01:00
arostm d28d022a68 DISCO_L072CZ_LRWAN1: peripheralPins add and change comments 2017-05-21 14:37:53 +01:00
arostm 868a5f64ab DISCO_L072CZ_LRWAN1: prepipheralPins and PinNames correction 2017-05-21 14:37:53 +01:00
arostm f412e3dd96 DISCO_L072CZ_LRWAN1: Typo correction 2017-05-21 14:37:53 +01:00
arostm de2f5408d7 DISCO_L072CZ_LRWAN1: Typo correction in peipheralPins.c and PinNames.h 2017-05-21 14:37:53 +01:00
arostm 8eb8f3a0c1 DISCO_L072CZ_LRWAN1: PinsName.h => PA_5 changed with PB_13 for the SPI_SCLK 2017-05-21 14:37:52 +01:00
arostm a1e78eab4c DISCO_L072CZ_LRWAN1: targets.json correction 2017-05-21 14:37:52 +01:00
arostm 71505b3ca0 DISCO_L072CZ_LRWAN1: typo correction 2017-05-21 14:37:52 +01:00
arostm f1b01cf518 DISCO_L072CZ_LRWAN1: PinNames.h correction (USB TX and RX) 2017-05-21 14:37:51 +01:00
arostm af661bc703 DISCO_L072CZ_LRWAN1: Clock configuration => 30MHz to 32MHz 2017-05-21 14:37:51 +01:00
arostm f71b20ff1b DISCO_L072CZ_LRWAN1: PreipheralPins.c corrections 2017-05-21 14:37:51 +01:00
arostm bb71895b7c DISCO_L072CZ_LRWAN1: Change LED PIN definition 2017-05-21 14:37:51 +01:00
Alexis ROCHE 3b393f84bd DISCO_L072CZ_LRWAN1: add IAR export 2017-05-21 14:37:50 +01:00
Alexis ROCHE 6432da0763 DISCO_L072CZ_LRWAN1: typo correction 2017-05-21 14:37:50 +01:00
Alexis ROCHE 37069888c6 DISCO_L072CZ_LRWAN1: add LRWAN1 to the name 2017-05-21 14:37:50 +01:00
Alexis ROCHE 04645f09bb DISCO_L072CZ: Modifications and verifications to build 2017-05-21 14:37:49 +01:00
Alexis ROCHE e5db7c1da5 DISCO_L072CZ: Add all files (pinout, startup, etc...) 2017-05-21 14:35:28 +01:00
Bartek Szatkowski a50c6f3812 Odin: Disable sleep as it's not compatible with WiFi driver 2017-05-21 14:35:27 +01:00
Jimmy Brisson 8d21974ba3 Merge pull request #4278 from ARMmbed/release-candidate
Release candidate for mbed-os-5.4.5
2017-05-09 10:57:46 -05:00
adbridge 499584744b Update MBED_LIBRARY_VERSION to v142 2017-05-05 16:48:53 +01:00
0x6d61726b c9313005fb removed warning: unused variable 'ethhdr' [-Wunused-variable] 2017-05-05 16:48:53 +01:00
Kevin Gilbert 5fb0d56d76 Fixed typos 2017-05-05 16:48:52 +01:00