ccli8
3cd8d3df9f
[Nuvoton] Remove unnecessary TIMER_Start in the end of lp_ticker_set_interrupt
2018-03-26 09:27:05 +08: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
Wilfried Chauveau
495f8e4e5b
add RF_TXCO_EN on PH1 and set HSI calibration to its default value
2018-03-23 10:19:49 +00:00
Wilfried Chauveau
758f3b2dbd
add support for the RAK811
2018-03-23 10:19:49 +00: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
toyowata
d76d511969
LPC176X: Fix flash program size
...
This patch fix flash write issue when program size is more than page size (= 1024 bytes). See detail - https://github.com/ARMmbed/mbed-os/issues/6165
Source data always use aligned data in heap memory.
2018-03-21 18:36:16 +09: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
zzw
44ed2c8189
fix mbed-ci build error L6216E
...
fix mbed-ci build error L6216E
* (.ARM.exidx) and *(.init_array) must be placed explicitly, otherwise it is shared between two regions, and the linker is unable to decide where to place it.
2018-03-15 11:01:09 +08:00
Cruz Monrreal
5523d53f83
Merge pull request #6287 from codeauroraforum/Update_usticker
...
MCUXpresso_MCUS: Apply K64F us_ticker fix across all MCU's
2018-03-14 13:56:34 -05:00
jeromecoutant
2f86b3a7bb
STM32 RTC init
...
When LSE is configured for RTC, LSI is not affected
2018-03-14 11:12:29 +01:00
Martin Kojtal
d6a0a94010
WISE_1570: use hex as output
...
Fixes #6252 . Use hex rather than binary - use the hex format validation.
2018-03-13 13:52:11 +00:00
Martin Kojtal
dd84f32043
STM32L486: fix two ram region define for GCC ARM
...
Based on the changes for other targets, these 2 were left.
2018-03-13 13:51:59 +00:00
Amanda Butler
5a68dcd29d
Copy edit README.md
...
Copy edit for active voice, branding, spelling and other minor grammar fixes.
2018-03-12 16:25:05 +00:00
Amanda Butler
0ec844435d
Copy edit README.md
...
Copy edit for branding, consistent tense and consistent style.
2018-03-12 16:25:05 +00:00
Hugues de Valon
a453faa4e9
CM3DS: switch to larger memories for code and data
...
This patch changes the linker files and defines to use the ZBT SSRAM
instead of the FPGA Block RAM for code and data.
The section 4.1.1, Code and RAM memory map, of the CM3DS Eval RTL and
testbench user guide explains the available memories.
This switch improves code memory from 256 kB to 4 MB and data memory
from 128 kB to 4 MB.
However, the ZBT SSRAM1 for code memory begins at 0x00400000 while the
processor can only boot at address 0x00000000 which means that it
expects the vector table to be at that address. That is why we have to
create 2 load regions in the linker scripts: one with only the vector
table at address 0x0 and one with code + data at address 0x00400000.
Because of these two load regions, linker will produce different
behaviours:
* GCC_ARM and IAR will only create 1 binary with both load regions
padding with 0 in between. The binary will then be very large (at least
4 MB) and the flash process will take longer.
* ARM and ARMC6 will create 2 binaries for the two load regions. The
load addresses of the two binaries can be written in the images.txt file
on the MPS2 board. You can also use the --bincombined option of fromelf
utility to produce only 1 large binary.
This patch also adds the memory_zones.h file to try to put in common all
the memory addresses that were previously hard coded in the linker
scripts / startup files.
With that patch in, the simplest option is to directly use the .elf file
with the MPS2, which is only possible with mbb_v225.ebf and more recent
firmwares. It will now be the default for CM3DS.
This commit works with greentea thanks to the now merged pull request
ARMmbed/htrun#181 in order to copy .elf file to the MPS2 board.
Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2018-03-12 16:25:05 +00:00
bcostm
8fe02803e1
NUCLEO_L433RC_P: fix LEDs pin assignment
2018-03-12 11:30:52 +01:00
Martin Kojtal
7917e12eb0
MIMXRT: define PullUp default value
...
This target defines few PullUp values, one should be defined to be PullUp that
an application can use. We use the same value as PullDefault
2018-03-12 09:21:24 +00:00
zzw
20b33637f6
rtl8195am : fix gpio toggle slow
...
Ameba has two memory blocks: SDRAM(2M) and SRAM(512KB). SRAM has better access performance than SDRAM. So some timing critical codes must be moved to SRAM.
fix for mbed-os issue #5778
rebase for #6289
2018-03-12 14:10:40 +08:00
amq
82ecf7e81a
Make gpio interrupts faster by offloading expected state check to user
2018-03-09 16:10:10 +01:00
Mahesh Mahadevan
5230bcaf6f
MCUXpresso: Update the I2C implmentation for byte read and write
...
1. Start function: Issue repeat start when bus is busy
2. Byte write function: Do not call SDK function as this does
not work for some of the Kinetis device
3. Byte read function: Do not call SDK function as this would
issue a START and STOP signal which is not required for
I2C byte functions
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-03-09 08:32:22 -06:00
Mahesh Mahadevan
53fa4e5fc4
MCUXpresso: Enable I2C SDA & SCL pins internal pullup resistors
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-03-09 08:18:21 -06:00
Mahesh Mahadevan
d29c12d233
K82F: Fix I2C test failures seen with ci-test shield
...
I2C3 clock define was missing. I2C3 is connected to the Arduino
connector which is used by the ci-test shield
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-03-09 08:04:54 -06:00
Evan Hosseini
94616e6396
mts_mdot_f411re: Fix for Multi-Tech mDot IAR linker script
2018-03-08 16:41:34 -06:00
Martin Kojtal
cf4c7a5d35
Merge pull request #6164 from ashok-rao/br-BL652
...
Adding Laird BL652 as new target
2018-03-08 17:45:01 +01:00
Martin Kojtal
4e7ad0dc95
Merge pull request #6226 from M-ichae-l/mbed-os_ci-test-fixed_rtl8195am
...
rtl8195am: fix ARM section error
2018-03-08 17:43:07 +01:00
Mahesh Mahadevan
3f302961e1
Flash support: Add flash support for LPC54114 & LPC546XX
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-03-07 13:06:41 -06:00
Mahesh Mahadevan
7ed36e4986
MCUXpresso_MCUS: Apply K64F us_ticker fix across all MCU's
...
Applied changes from commit b6a01de070
for other MCUXpresso MCUs
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-03-07 07:27:04 -06:00
Juha Ylinen
1a5e751d0f
rtl8195am - improve credentials handling
...
Add checks for empty strings
set_channel() not supported for STA mode wifi driver
2018-03-07 14:14:35 +02:00
TomoYamanaka
3183d21ba7
Fix macro definition of iodefine_typedef for RZ_A1H
...
Regarding RZ_A1H, Since I removed the macro definition accidentally in iodefine_typedef, I fixed the lack of it.
2018-03-07 20:33:11 +09:00
Cruz Monrreal
fb0eba4cd2
Merge pull request #6235 from gorazdko/lpc546xx-fixes
...
mcu_lpc546xx: move "release_versions" to children and fix clock
2018-03-06 20:41:56 -06:00
Cruz Monrreal
8a7b390fdd
Merge pull request #6102 from Ultimaker/master
...
Add support for STEVAL-3DP001V1 board
2018-03-06 20:41:41 -06:00
Cruz Monrreal
2e69ddd989
Merge pull request #6202 from maximmbed/fix-max32625mbed
...
Fix max32625mbed
2018-03-06 20:41:10 -06:00
Ashok Rao
008e937524
Incorporating review comments
2018-03-06 15:38:02 +00:00
Cruz Monrreal
1d3e59aa7c
Merge pull request #6275 from marcuschangarm/fix-uart-init
...
NRF52: Customize STDIO pins from config system
2018-03-06 08:19:21 -06:00
Marcus Chang
812b9be6d3
NRF5: Customize STDIO pins from config system
2018-03-05 10:12:18 -08:00
Cruz Monrreal
f1d493dd0c
Merge pull request #6228 from OpenNuvoton/nuvoton_1timer_ticker
...
Nuvoton: Rework us_ticker/lp_ticker with one H/W timer
2018-03-05 10:19:56 -06:00
Cruz Monrreal
38e62759a9
Merge pull request #6246 from u-blox/i2c_fix
...
C030 platform I2C initialisation fix
2018-03-05 10:12:57 -06:00
paul-szczepanek-arm
8347e76bf4
Merge https://github.com/ARMmbed/mbed-os
2018-03-01 18:11:41 +00:00
Rob Meades
c53fb9dc64
Call i2c_init() before i2c_frequency() (since i2c_frequency() requires the object to be set up) and zero the I2C object before giving it to i2c_init() as i2_init() has to set up a default frequency for its timeouts to work and it will only do this if the hz field in the object was zero to begin with (otherwise you end up with a random but usually very large indeed timeout).
2018-03-01 14:52:42 +00:00
Bartek Szatkowski
2b83b69f90
Remove conflictinng system_reset() from Atmel drivers
2018-02-28 20:02:24 +00:00
Bartek Szatkowski
4cb47df40a
Add system_reset() function to Mbed OS
2018-02-28 16:42:34 +00:00
Anna Bridge
8cc6d6cc92
Merge pull request #6227 from OpenNuvoton/nuvoton_compatible_pinName
...
Nuvoton: Add I2C & Serial Pin Name
2018-02-28 14:15:52 +00:00
gorazd
c053b70a75
lpc546xx and lpc54114: fix clock
2018-02-28 13:23:38 +01:00
gorazd
2f8b6dcaa9
mcu_lpc546xx: move "release_versions" to children
2018-02-28 13:16:01 +01:00
daid
62599a97f7
Add support for STEVAL-3DP001V1 board, which has an STM32F401VE chip. This support is based on the NUCLEO-F401RE board. Which has the same amount of flash/ram but less pins available on the chip.
2018-02-28 09:37:39 +01:00
Cruz Monrreal
1f58782652
Merge pull request #6189 from codeauroraforum/Update_LPC546XX_SDK2_3
...
LPC546XX: Update SDK driver to version 2.3
2018-02-27 16:13:48 -06:00
Cruz Monrreal
19e07e8d11
Merge pull request #6217 from jeromecoutant/PR_RTC
...
STM32 RTC : update free function
2018-02-27 15:40:11 -06:00
Cruz Monrreal
153fa05bea
Merge pull request #6172 from adustm/l4_linkergcc
...
Use SRAM2 32Kbytes on STM32L475 / L476 and L486 devices
2018-02-27 13:46:26 -06:00
Cruz Monrreal
21483cd59d
Merge pull request #6167 from hug-dev/cm3ds-bug-fix
...
CM3DS Maintenance Pull Request: Bug fixes (1/4)
2018-02-27 13:44:05 -06:00
paul-szczepanek-arm
8e41de2e25
Merge branch 'master' of https://github.com/paul-szczepanek-arm/mbed-os
2018-02-27 17:23:25 +00:00
jeromecoutant
961c8da51c
STM32F1 RTC : Date read after reset
...
F1 is the only STM32 family where RTC date is not saved into registers
2018-02-27 11:02:49 +01:00
jeromecoutant
45cbdc889f
STM32 RTC : update free function
...
- LSI specific implementation is removed
- Remove RTC clock disable
2018-02-27 10:45:43 +01:00
Cruz Monrreal
4139f13e31
Merge pull request #6170 from hug-dev/cm3ds-update-drivers
...
CM3DS Maintenance Pull Request: Driver updates (4/4)
2018-02-27 00:36:34 -06:00
Cruz Monrreal
815c6fb7cf
Merge pull request #6193 from ashok-rao/ODIN_PinsFix
...
ODIN MTB LEDs Fix
2018-02-26 22:49:03 -06:00
zzw
9d30469850
mbed-os_ci-test-fixed_rtl8195am
...
fix section error, ARM compiler uses IRAM1.bss to calculate the heap size
fix conflict of _memset between Ameba's library and ARM compiler's library, use standard memset() instead of _memset() in case of ARM compiler
2018-02-27 11:49:38 +08:00
cyliangtw
b6ff40e94d
[M451/M480/NANO100/NUC472] Define SERIAL and I2C pin name for compatiblity
2018-02-27 11:38:29 +08:00
Cruz Monrreal
3d37d819e9
Merge pull request #5046 from fkjagodzinski/timerevent_tests
...
TimerEvent tests
2018-02-26 15:02:52 -06:00
Cruz Monrreal
80263eaa41
Merge pull request #5957 from u-blox/R410M_Changes
...
C030 R410M Target Added
2018-02-26 15:02:12 -06:00
Keyur Hariya
390ba4070c
Replace enable/disable irq with critical section enter/exit
2018-02-26 12:35:07 -06:00
Cruz Monrreal
c9cefccbdc
Merge pull request #6116 from marcuschangarm/fix_trng_nrf52
...
Add TRNG for NRF52832
2018-02-26 12:09:43 -06:00
ccli8
1d7e7fd543
[NUC472/M453/M487/NANO130] Rework us_ticker and lp_ticker with one H/W timer
...
Originally, we use 2 H/W timers for us_ticker/lp_ticker, one for counting and the other for alarm.
With H/W timer running in continuous mode, we could use just one H/W timer for counting/alarm simultaneously.
2018-02-26 17:41:05 +08:00
Keyur Hariya
e6d901a852
Remove automatic I2C stop after each read
...
Automatic stop prevents sending repeated start.
2018-02-23 16:36:30 -06:00
Keyur Hariya
dcf3b904d1
Enable ADC scaling and enable internal channels
...
Increases input range by 2x(now, 0-2.4v)
2018-02-23 16:36:30 -06:00
Keyur Hariya
992c889b33
Improve us ticker performance
...
Improves accuracy during heavy work load.
2018-02-23 16:32:30 -06:00
Keyur Hariya
80b0ae0d9e
Improve SPI block write
...
Replace looping construct with actual block writes.
2018-02-23 16:32:12 -06:00
Keyur Hariya
8d778d5d8b
Fix missing serial object for interrupts
...
Save serial objects when setting interrupt requests.
Improve uart interrupt handler.
2018-02-23 16:25:20 -06:00