Commit Graph

604 Commits (3da254960fad5b334f48d0554823a208debfab0e)

Author SHA1 Message Date
Bogdan Marinescu 1bb844c842 Added macro definition from command line
build_api.py now support macros defined at compile time, so build.py and
make.py can be used like this:

$ make.py/build.py <options> -DMACRO1 -DMACRO2=VALUE2 ...
2013-10-21 11:11:06 +03:00
pbrier 8fd42e5eda reset to original settings 2013-10-20 17:25:58 +02:00
pbrier d0306ca254 Added additional command line options for the build 2013-10-20 17:17:10 +02:00
0xc0170 b0537af763 gpio irq enable/disable
- InterruptIn disable_irq/enable_irq
2013-10-19 22:28:29 +02:00
Bogdan Marinescu 5e6262a91a Fixed macro definitions in u-blox test 2013-10-19 14:39:50 +03:00
Bogdan Marinescu ea9ba23ff5 Changed u-blox modem test
The test is not automated now, so it can be synced with the official
repository.
Also changed it to look more like the original VodafoneUSBModem test by
adding another thread in the code.
2013-10-19 00:54:32 +03:00
Bogdan Marinescu 07e003d783 Added u-blox test repository
Also, allow a repository to synchronize with more than one source
directory.
2013-10-19 00:22:46 +03:00
Paris Kasidiaris 6e750602ad Formatted code for 10/10 rating from Pylint 2013-10-18 11:23:34 +01:00
Paris Kasidiaris b270f0fa7c setup.py updates 2013-10-18 11:15:28 +01:00
Paris Kasidiaris bb7088daa5 Added license text to setup.py description 2013-10-18 11:12:43 +01:00
Paris Kasidiaris e0034f204d Added first version of setup.py 2013-10-18 11:10:22 +01:00
pbrier 43f4e42681 Added command line source/build directory option 2013-10-17 23:22:26 +02:00
Bogdan Marinescu bdf5d03ba1 Updated tests
- Vodafone tests are gone for now
- Added u-blox TCP test (UB_1) and SMS test (UB_2).
- tests can now have more than a single source directory
2013-10-17 18:57:02 +03:00
Bogdan Marinescu a34945661d Added CellularModem as an abstract base class for modem implementations
Now both UbloxUSBGSMModem and UbloxUSBCDMAModem inherit from
CellularModem.
2013-10-17 15:40:46 +03:00
Bogdan Marinescu 87fbaa5507 Added missing constructor for CDMA modem initializer 2013-10-17 13:52:34 +03:00
Bogdan Marinescu ce17e72891 Added cellular modem libs to sync script 2013-10-17 13:12:05 +03:00
Bogdan Marinescu 7585a23e6c Added CellularModem library, removed old VodafoneUSBModem library 2013-10-17 12:01:55 +03:00
Bogdan Marinescu 6a5d7c654d Modifications for compatibility with GCC 2013-10-17 10:34:07 +03:00
Bogdan Marinescu 2f26d09606 Changed debugging macros in WANDongle and WANDongleSerialPort
Now they use "dbg.h" which is a part of USBHost, thus eliminating the
dependency on code from CellularModem.
2013-10-16 23:59:32 +03:00
Bogdan Marinescu aa209e3002 Remove USBSerialStream from USBHost
The code from USBSerialStream depends on some headers from CellularModem,
so remove it from USBHost.
2013-10-16 23:57:09 +03:00
Bogdan Marinescu 52e23e58c0 Added default path for Goanna 2013-10-16 16:35:35 +03:00
Bogdan Marinescu d8c3822c4c Changed USBHostConf.h to better match the previous USBHost configuration. 2013-10-16 16:00:49 +03:00
Bogdan Marinescu 26ac4e5288 Remove "debugging LED" from USBHost.cpp 2013-10-16 15:55:04 +03:00
Bogdan Marinescu 1c088eed13 Moved USBSerialStream from the CellularModem library to USBHost
This removes any dependency on USB code from CellularModem.
2013-10-16 15:53:58 +03:00
Bogdan Marinescu 864d3ef195 Renamed USB3GModule to USBHost3GModule to keep the naming convention 2013-10-16 15:52:47 +03:00
Bogdan Marinescu a4da762016 Removed references to specific initializers from the code 2013-10-16 15:47:46 +03:00
Bogdan Marinescu ae2e7c3051 Refactored dongle initialization code
The code for dongle initialization (WANDongleInitializer.cpp) was removed from
this class, it will be added by each modem as needed.
2013-10-16 15:46:26 +03:00
Bogdan Marinescu a0d9973cab Initial import of USB3GModem in the USBHost library
In the future, USBHostConf.h should really reside in the project that
imports USBHost, not inside the USBHost library itself. Doing that now
though might break compatibility with projects that currently import
USBHost, so we need to figure out a better solution.
2013-10-16 15:45:25 +03:00
Bogdan Marinescu 6b23e0fad0 Merge remote-tracking branch 'github/master' 2013-10-14 19:11:37 +03:00
Bogdan Marinescu 62f1ac097d Integrated support for Red Lizzard's "goanna" static analysis tool
Initial support (activate with "-o analyze"). Not working well with IAR
for now (partially because of a bug in goannac++ which was reported to
Red Lizzard).
2013-10-14 17:32:41 +03:00
Bogdan Marinescu eaafc74ae2 Merge pull request #83 from arebert/lpc4088
[LPC4088] Bugfixes related to I2C and Port implementations
2013-10-11 05:27:12 -07:00
Andreas Rebert a0a6cbe1d3 Merge branch 'master' into lpc4088 2013-10-11 14:02:59 +02:00
Andreas Rebert a574fd73b3 Bugfixes for I2C and port impl 2013-10-11 14:01:49 +02:00
Michael Ammann 330e59fb85 make buffer big enough 2013-10-09 15:12:53 +03:00
Dave Van Wagner d3963de05d Added methods to retrieve gateway and netmask from DHCP assignment 2013-10-09 13:47:41 +03:00
Bogdan Marinescu 53edc82f73 Merge pull request #82 from 0xc0170/freedomKL46Z
Freedom kl46z (first tests)
2013-10-07 01:10:48 -07:00
0xc0170 122f24b83f Update: Merge branch 'master' into freedomKL46Z
Conflicts:
	workspace_tools/targets.py
2013-10-06 18:55:32 +02:00
0xc0170 44bb8e00e5 First passed tests for KL46
- spi is failing, need to fix it
2013-10-01 20:18:39 +02:00
Emilio Monti e8afb9cd1d Merge pull request #81 from jorisa/master
Merge common files between LPC11XX and LPC11CXX
2013-09-30 12:36:37 -07:00
Joris Aerts 7ed6acb08a Move pwmout_api.c/PeripheralNames.h to LPC11XX_11CXX common
Because CT32B1 (P1_1, P1_2 and P1_3) is used by us_ticker.c for wait and ticker function. Since wait/ticker is commonly used by mbed code and I decided CT32B1 of LPC11XX should only be used for this function, not for PwmOut.
P1_6 and P1_7 are used by UART (USBTX/USBRX) and I think they should not be assigned to other function.
2013-09-30 08:11:56 -07:00
Joris Aerts 4d0c864b16 Move adc_pinmap.h to LPC11XX_11CXX common
Merge back into analog_api.c. P1_3/ADC0_4 (SWDIO) now disabled for both targets
2013-09-30 08:07:26 -07:00
0xc0170 8df14cadc9 scatter file - 32kb RAM, startup - removed heap, stack init
- clock set to 1 (external crystal)
2013-09-29 22:36:50 +02:00
0xc0170 5dcd8ea10e ARM (KEIL) files for KL46Z 2013-09-29 20:40:06 +02:00
0xc0170 b83fd7fb3b MUX corrections, Arduino Analog signals
- added new MUX options to all drivers
  - removal of LED which are not there
  - analog arduino R3 signals were switched
2013-09-29 20:04:56 +02:00
0xc0170 2ca3195b17 NVIC offset and address in RAM correction 2013-09-29 18:53:57 +02:00
Joris Aerts e1967755a5 Move spi_pinmap.h to LPC11XX_11CXX common
Merge back into spi_api.c. P0_10/SPI_0 (SWCLK) now disabled for both targets
2013-09-27 19:10:08 -07:00
Joris Aerts e9f5c8d3ca Move README.md to LPC11XX_11CXX common 2013-09-27 18:56:11 -07:00
Joris Aerts 3fe31ad50e Move objects.h to LPC11XX_11CXX common
Use #if DEVICE_CAN for can_s definition
2013-09-27 18:53:19 -07:00
Bogdan Marinescu f580c008b1 Merge pull request #78 from mconners/master
Added KL46Z support
2013-09-25 03:18:49 -07:00
Bogdan Marinescu 8f57c1e847 Merge remote-tracking branch 'github/master' 2013-09-25 10:27:17 +01:00